#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gmp ---------------------------------+------------------------------------------ With {{{ universal_target 10.4 universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk universal_archs ppc ppc64 }}} in my /opt/local/etc/macports/macports.conf file, {{{sudo port -v install gmp +universal}}} fails: {{{ [...] /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -I/opt/local/include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch ppc64 tmp-add_n.s -fno- common -DPIC -o .libs/add_n.o tmp-add_n.s:65:ld instruction is only for 64-bit implementations (not allowed without -force_cpusubtype_ALL option) [...] }}} I can see {{{ platform powerpc { if {![variant_isset universal]} { configure.cflags-append -force_cpusubtype_ALL } } [...] array set merger_configure_cflags { ppc -force_cpusubtype_ALL ppc64 -force_cpusubtype_ALL } }}} in the gmp portfile. There may be something incorrect there. -- Ticket URL: <http://trac.macports.org/ticket/18199> MacPorts <http://www.macports.org/> Ports system for Mac OS