Opened 8 years ago

Closed 3 years ago

#53905 closed defect (fixed)

gtk3 @3.22.11 does not build on PPC Mac OS X 10.4.11, Tiger, because "absolute addressing not allowed in slidable image"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: tiger Cc: dgonyier (Dwaine Gonyier)
Port: gtk3

Description

libtool: link: /opt/local/bin/clang-mp-3.3 -arch ppc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libgdk-3.0.dylib  .libs/libgdk_3_la-gdkcolor.o .libs/libgdk_3_la-gdk-private.o .libs/libgdk_3_la-gdk.o .libs/libgdk_3_la-gdkapplaunchcontext.o .libs/libgdk_3_la-gdkcairo.o .libs/libgdk_3_la-gdkcursor.o .libs/libgdk_3_la-gdkdeprecated.o .libs/libgdk_3_la-gdkdevice.o .libs/libgdk_3_la-gdkdevicepad.o .libs/libgdk_3_la-gdkdevicetool.o .libs/libgdk_3_la-gdkdevicemanager.o .libs/libgdk_3_la-gdkdisplay.o .libs/libgdk_3_la-gdkdisplaymanager.o .libs/libgdk_3_la-gdkdnd.o .libs/libgdk_3_la-gdkdrawingcontext.o .libs/libgdk_3_la-gdkevents.o .libs/libgdk_3_la-gdkframetimings.o .libs/libgdk_3_la-gdkgl.o .libs/libgdk_3_la-gdkglcontext.o .libs/libgdk_3_la-gdkglobals.o .libs/libgdk_3_la-gdkkeys.o .libs/libgdk_3_la-gdkkeyuni.o .libs/libgdk_3_la-gdkmonitor.o .libs/libgdk_3_la-gdkoffscreenwindow.o .libs/libgdk_3_la-gdkframeclock.o .libs/libgdk_3_la-gdkframeclockidle.o .libs/libgdk_3_la-gdkpango.o .libs/libgdk_3_la-gdkpixbuf-drawable.o .libs/libgdk_3_la-gdkproperty.o .libs/libgdk_3_la-gdkrectangle.o .libs/libgdk_3_la-gdkrgba.o .libs/libgdk_3_la-gdkscreen.o .libs/libgdk_3_la-gdkseat.o .libs/libgdk_3_la-gdkseatdefault.o .libs/libgdk_3_la-gdkselection.o .libs/libgdk_3_la-gdkvisual.o .libs/libgdk_3_la-gdkwindow.o .libs/libgdk_3_la-gdkwindowimpl.o .libs/libgdk_3_la-gdkenumtypes.o .libs/libgdk_3_la-gdkmarshalers.o .libs/libgdk_3_la-gdkresources.o   -Wl,-force_load,x11/.libs/libgdk-x11.a  -L/opt/local/lib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libcairo-gobject.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXi.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libXcomposite.dylib /opt/local/lib/libXdamage.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libepoxy.dylib -lm  -arch ppc -Os -arch ppc -Wl,-headerpad_max_install_names -arch ppc   -pthread -install_name  /opt/local/lib/libgdk-3.0.dylib -compatibility_version 2201 -current_version 2201.11 -Wl,-single_module
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _gdk_color_copy from .libs/libgdk_3_la-gdkcolor.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
collect2: ld returned 1 exit status
clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [Makefile:1160: libgdk-3.la] Error 1
gmake[4]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.11/gdk'
gmake[3]: *** [Makefile:1636: all-recursive] Error 1
gmake[3]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.11/gdk'
gmake[2]: *** [Makefile:1087: all] Error 2
gmake[2]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.11/gdk'
gmake[1]: *** [Makefile:721: all-recursive] Error 1
gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.11'
gmake: *** [Makefile:615: all] Error 2
gmake: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.11'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.22.11" && /opt/local/bin/gmake -w all CC="/opt/local/bin/clang-mp-3.3 -arch ppc" CC_FOR_BUILD="/opt/local/bin/clang-mp-3.3 -arch ppc" V=1 CPP_FOR_BUILD="/usr/bin/cpp" 
Exit code: 2

Attachments (1)

main.log (292.7 KB) - added by ballapete (Peter "Pete" Dyballa) 8 years ago.

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

comment:1 Changed 8 years ago by kencu (Ken)

Hi Peter,

Try a newer gcc that you might have installed (anything after 4.8 should work)

sudo port -v upgrade gtk3 configure.compiler=macports-gcc-6

$ port -v installed gtk3
   gtk3 @3.22.11_0+x11 (active) platform='darwin 8' archs='ppc' date='2017-03-27T23:41:54-0700'
Last edited 8 years ago by kencu (Ken) (previous) (diff)

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Cc: devans@… removed
Keywords: tiger added; Tiger removed
Owner: set to dbevans
Status: newassigned

comment:3 Changed 8 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier added

comment:4 in reply to:  1 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

Hi Peter,

Try a newer gcc that you might have installed (anything after 4.8 should work)

sudo port -v upgrade gtk3 configure.compiler=macports-gcc-6

Yes, this works for quite a lot of ports. GTK3 has now reached version @3.22.16.

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to mascguy

Take over Dave's tickets for GTK and friends, now that he's formally dropped maintainership. Boo! ;-)

comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)

Peter, is this still an issue?

comment:7 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

The latest for Tiger available version of gtk built some days ago.

comment:8 in reply to:  7 Changed 3 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed

Replying to ballapete:

The latest for Tiger available version of gtk built some days ago.

Beautiful!

Note: See TracTickets for help on using tickets.