[MacPorts] #53209: Gtk 3.22.5 does not build on PPC Tiger, Mac OS X 10.4.11, because of inappropriate use of -arch ppc
MacPorts
noreply at macports.org
Wed Jan 4 21:05:13 UTC 2017
#53209: Gtk 3.22.5 does not build on PPC Tiger, Mac OS X 10.4.11, because of
inappropriate use of -arch ppc
------------------------------+------------------
Reporter: ballapete | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: Clang, assembler | Port: gtk3
------------------------------+------------------
A similar error is reported here: #51709.
The real error is:
{{{
/bin/sh ../libtool --tag=CC --mode=compile /opt/local/bin/clang-mp-3.3
-fPIC -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gdk\"
-DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION -I.. -I../gdk -I..
-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS
-DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_48
-DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_50 -D_REENTRANT
-I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
-I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include
/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/cairo
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include
-I/opt/local/include/cairo -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/pixman-1 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng16 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include
-DX_LOCALE -I/opt/local/include -pipe -Os -fstrict-aliasing -arch ppc
-Wall -MT libgdk_3_la-gdkwindow.lo -MD -MP -MF .deps/libgdk_3_la-
gdkwindow.Tpo -c -o libgdk_3_la-gdkwindow.lo `test -f 'gdkwindow.c' ||
echo './'`gdkwindow.c
libtool: compile: /opt/local/bin/clang-mp-3.3 -fPIC -DHAVE_CONFIG_H -I.
-I.. -DG_LOG_DOMAIN=\"Gdk\" -DG_LOG_USE_STRUCTURED=1 -DGDK_COMPILATION
-I.. -I../gdk -I.. -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS
-DGLIB_MIN_REQUIRED_VERSION=GLIB_VERSION_2_48
-DGLIB_MAX_ALLOWED_VERSION=GLIB_VERSION_2_50 -D_REENTRANT
-I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
-I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include
/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/cairo
-I/opt/local/include/gio-unix-2.0/ -I/opt/local/include
-I/opt/local/include/cairo -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/pixman-1 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng16 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include
-DX_LOCALE -I/opt/local/include -pipe -Os -fstrict-aliasing -arch ppc
-Wall -MT libgdk_3_la-gdkwindow.lo -MD -MP -MF .deps/libgdk_3_la-
gdkwindow.Tpo -c gdkwindow.c -fno-common -DPIC -o .libs/libgdk_3_la-
gdkwindow.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/.tmp
/gdkwindow-zfJ38z.s:7668:Parameter error: r0 not allowed for parameter %lu
(code as 0 not r0) (parameter 2)
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/.tmp
/gdkwindow-zfJ38z.s:7678:Parameter error: r0 not allowed for parameter %lu
(code as 0 not r0) (parameter 2)
clang: error: assembler (via gcc) command failed with exit code 1 (use -v
to see invocation)
}}}
I do remember another case with a similar error in Clang's assembler. Then
someone advised me to leave away `-arch ppc`. How can I do achieve this
with gtk3's Portfile?
--
Ticket URL: <https://trac.macports.org/ticket/53209>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list