[MacPorts] #68993: libffi build error on 10.6 i386: FATAL:symbol: ___x86.get_pc_thunk.bx can't be a weak_definition

MacPorts noreply at macports.org
Thu Dec 28 09:44:36 UTC 2023


#68993: libffi build error on 10.6 i386: FATAL:symbol: ___x86.get_pc_thunk.bx can't
be a weak_definition
-------------------------------+--------------------
 Reporter:  barracuda156       |      Owner:  (none)
     Type:  defect             |     Status:  new
 Priority:  Normal             |  Milestone:
Component:  ports              |    Version:  2.8.1
 Keywords:  i386, snowleopard  |       Port:  libffi
-------------------------------+--------------------
 Is this anything known?

 {{{
 depbase=`echo src/x86/sysv.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
         /bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -I. -I../include -Iinclude -I../src
 -I/opt/local/include -I. -I../include -Iinclude -I../src -pipe -Os -arch
 i386 -MT src/x86/sysv.lo -MD -MP -MF $depbase.Tpo -c -o src/x86/sysv.lo
 ../src/x86/sysv.S &&\
         mv -f $depbase.Tpo $depbase.Plo
 libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -I. -I../include -Iinclude -I../src -I/opt/local/include -I. -I../include
 -Iinclude -I../src -pipe -Os -arch i386 -MT src/x86/sysv.lo -MD -MP -MF
 src/x86/.deps/sysv.Tpo -c ../src/x86/sysv.S  -fno-common -DPIC -o
 src/x86/.libs/sysv.o
 ../src/x86/sysv.S:905:section type does not match previous section type
 ../src/x86/sysv.S:906:FATAL:symbol: ___x86.get_pc_thunk.bx can't be a
 weak_definition (currently only supported in section of type coalesced)
 make[3]: *** [src/x86/sysv.lo] Error 1
 make[3]: *** Waiting for unfinished jobs....
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libffi/libffi/work/libffi-3.4.4-i386/i386
 -apple-darwin10.0.0d2'
 make[2]: *** [all-recursive] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68993>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list