[MacPorts] #44170: libffi @3.1 fails to build on 32-bit systems

MacPorts noreply at macports.org
Sun Jul 6 21:01:11 PDT 2014


#44170: libffi @3.1 fails to build on 32-bit systems
----------------------------+--------------------------
  Reporter:  opr_systems@…  |      Owner:  ryandesign@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.1
Resolution:                 |   Keywords:  LP32
      Port:  libffi         |
----------------------------+--------------------------

Comment (by egall@…):

 Replying to [comment:33 ryandesign@…]:
 > Oh dear. Well I blacklisted compilers that aren't working in r121730 but
 I haven't checked if that helped the universal build on Snow Leopard.

 Just tried building universal on Snow Leopard, the blacklist seems to be
 working at least:
 {{{
 DEBUG: Using compiler 'Xcode Clang'
 }}}
 Still fails with the same error though:
 {{{
 libtool: compile:  ccache /usr/bin/clang -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 -c ../src/x86/win32.S  -o
 src/x86/.libs/win32.o
 ../src/x86/win32.S:1285:section difference relocatable subtraction
 expression, ".LFE5" minus ".LFB5" using a symbol at the end of section
 will not produce an assembly time constant
 ../src/x86/win32.S:1285:use a symbol with a constant value created with an
 assignment instead of the expression, L_const_sym = .LFE5 - .LFB5
 ../src/x86/win32.S:1277:section difference relocatable subtraction
 expression, ".LEFDE5" minus ".LASFDE5" using a symbol at the end of
 section will not produce an assembly time constant
 ../src/x86/win32.S:1277:use a symbol with a constant value created with an
 assignment instead of the expression, L_const_sym = .LEFDE5 - .LASFDE5
 ../src/x86/win32.S:unknown:missing indirect symbols for section
 (__IMPORT,__jump_table)
 clang: error: assembler command failed with exit code 1 (use -v to see
 invocation)
 }}}
 although that might be due to `ccache` using the gcc stuff from my last
 failed build; let me disable ccache, clean, and then try again...

-- 
Ticket URL: <https://trac.macports.org/ticket/44170#comment:34>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list