Compile fails with 32bit prefix on at least OS X 10.6 and 10.8 with the following message: libtool: compile: i686-apple-darwin12-gcc -DHAVE_CONFIG_H -I. -I/Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1 -I. -I/Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/include -Iinclude -I/Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src -I. -I/Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/include -Iinclude -I/Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src -march=prescott -O2 -pipe -c /Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src/x86/win32.S -fno-common -DPIC -o src/x86/.libs/win32.o /Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src/x86/win32.S:1325:section difference relocatable subtraction expression, ".LFE5" minus ".LFB5" using a symbol at the end of section will not produce an assembly time constant /Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src/x86/win32.S:1325:use a symbol with a constant value created with an assignment instead of the expression, L_const_sym = .LFE5 - .LFB5 /Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src/x86/win32.S:1317:section difference relocatable subtraction expression, ".LEFDE5" minus ".LASFDE5" using a symbol at the end of section will not produce an assembly time constant /Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src/x86/win32.S:1317:use a symbol with a constant value created with an assignment instead of the expression, L_const_sym = .LEFDE5 - .LASFDE5 /Users/michael/Gentoo32/var/tmp/portage/dev-libs/libffi-3.2.1/work/libffi-3.2.1/src/x86/win32.S:unknown:missing indirect symbols for section (__IMPORT,__jump_table) Makefile:1340: recipe for target 'src/x86/win32.lo' failed Reproducible: Always
Created attachment 394086 [details, diff] fix libffi compile this patch as per MacPorts ticket and changeset fixes the compile for me
*** Bug 513428 has been marked as a duplicate of this bug. ***
Patch applied, thanks!