Opened 4 months ago

Last modified 8 weeks ago

#68993 new defect

libffi build error on 10.6 i386: FATAL:symbol: ___x86.get_pc_thunk.bx can't be a weak_definition

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: i386, snowleopard Cc:
Port: libffi

Description

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

Change History (3)

comment:1 Changed 4 months ago by barracuda156

Okay, same issue as #61170

comment:2 Changed 8 weeks ago by fhgwright (Fred Wright)

Given that v3.4.6_1 successfully builds in this case, this issue is presumably resolved.

See: https://trac.macports.org/ticket/69380#comment:30

Someone with access should close this.

comment:3 in reply to:  2 Changed 8 weeks ago by barracuda156

Replying to fhgwright:

Given that v3.4.6_1 successfully builds in this case, this issue is presumably resolved.

See: https://trac.macports.org/ticket/69380#comment:30

Someone with access should close this.

I cannot test at the moment, should be able to in about a week.

I suggest keeping this until then, though I believe it should be fixed.

Note: See TracTickets for help on using tickets.