[MacPorts] #52468: gtk3 3.22.0_0 build fails on 10.5 ppc

MacPorts noreply at macports.org
Sat Oct 1 02:16:12 CEST 2016


#52468: gtk3 3.22.0_0 build fails on 10.5 ppc
-------------------------+----------------------
  Reporter:  dgonyier@…  |      Owner:  devans@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:  leopard
      Port:  gtk3        |
-------------------------+----------------------

Comment (by devans@…):

 The error seems to be a ppc specific error while linking libgdk-3.0.dylib.
 I'm not sure what to do with this and I don't have a ppc machine available
 to play with it.  Perhaps some one with knowledge about how clang 3.4
 generates ppc code (or not) could help explain what is happening.
 {{{
 :info:build libtool: link: /opt/local/bin/clang-mp-3.4 -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
 .libs/libgdk-3.lax/libgdk-x11.a/gdkapplaunchcontext-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkasync.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkcursor-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkdevice-core-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkdevice-xi2.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkdevicemanager-core-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkdevicemanager-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkdevicemanager-xi2.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkdisplay-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkdisplaymanager-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkdnd-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkeventsource.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkeventtranslator.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkgeometry-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkglcontext-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkkeys-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkmain-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkmonitor-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkproperty-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkscreen-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkselection-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdktestutils-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkvisual-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkwindow-x11.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkxftdefaults.o
 .libs/libgdk-3.lax/libgdk-x11.a/gdkxid.o .libs/libgdk-3.lax/libgdk-x11.a
 /xsettings-client.o   -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/libXrender.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   -framework
 CoreFoundation -framework ApplicationServices -pthread -install_name
 /opt/local/lib/libgdk-3.0.dylib -compatibility_version 2201
 -current_version 2201.0 -Wl,-single_module
 :info:build ld warning: codegen with reference kind 17 in
 _gdk_color_get_type prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in
 _gdk_color_get_type prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 17 in
 _gdk_color_get_type prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in
 _gdk_color_get_type prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in
 _gdk_color_get_type prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 17 in _gdk__private__
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in _gdk__private__
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 17 in _gdk_pre_parse
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 17 in _gdk_pre_parse
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in _gdk_pre_parse
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in _gdk_pre_parse
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 17 in _gdk_pre_parse
 prevents image from loading in dyld shared cache

 lots more like that and then alot of these

 :info:build ld warning: codegen with reference kind 17 in _read_settings
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in _read_settings
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 17 in _read_settings
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in _read_settings
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 17 in _read_settings
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in _read_settings
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in _read_settings
 prevents image from loading in dyld shared cache
 :info:build ld warning: codegen with reference kind 14 in _read_settings
 prevents image from loading in dyld shared cache
 :info:build 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
 :info:build collect2: ld returned 1 exit status
 :info:build clang: error: linker (via gcc) command failed with exit code 1
 (use -v to see invocation)
 :info:build make[4]: *** [libgdk-3.la] Error 1
 }}}

 At any rate, if you look at the list of binary modules being linked, I
 think it's safe to say it's building +x11.

-- 
Ticket URL: <https://trac.macports.org/ticket/52468#comment:5>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system


More information about the macports-tickets mailing list