Opened 15 years ago

Closed 14 years ago

#21401 closed defect (fixed)

libffi fails to build universal/ppc on 10.6

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: ppc universal snowleopard Cc: nox@…
Port: libffi

Description

--->  Building libffi for architecture ppc
/usr/bin/make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-O2 -arch ppc" "CXXFLAGS=-O2 -arch ppc" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "JC1FLAGS=" "LDFLAGS=-L/opt/local/lib -arch ppc" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=/usr/bin/make" "MAKEINFO=/bin/sh /opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_devel_libffi/work/libffi-3.0.8-ppc/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/opt/local" "infodir=/opt/local/share/info" "libdir=/opt/local/lib" "prefix=/opt/local" "AR=ar" "AS=as" "CC=/usr/bin/gcc-4.2" "CXX=/usr/bin/g++-4.2" "LD=ld" "NM=" "RANLIB=ranlib" "DESTDIR=" all-recursive
Making all in include
make[2]: Nothing to be done for `all'.
Making all in testsuite
make[2]: Nothing to be done for `all'.
Making all in man
make[2]: Nothing to be done for `all'.
/bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -Wall -g -fexceptions -O2 -arch ppc -version-info `grep -v '^#' ./libtool-version` -L/opt/local/lib -arch ppc -o libffi.la -rpath /opt/local/lib src/debug.lo src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo             src/powerpc/ffi_darwin.lo src/powerpc/darwin.lo src/powerpc/darwin_closure.lo            
/usr/bin/gcc-4.2 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/libffi.5.0.9.dylib  src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/powerpc/.libs/ffi_darwin.o src/powerpc/.libs/darwin.o src/powerpc/.libs/darwin_closure.o  -L/opt/local/lib  -arch ppc -arch ppc -install_name  /opt/local/lib/libffi.5.dylib -compatibility_version 6 -current_version 6.9 
ld: in src/powerpc/.libs/darwin.o, unsupported encoding in FDE
collect2: ld returned 1 exit status
make[2]: *** [libffi.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Attachments (1)

libffi.patch (1.7 KB) - added by sakamoto@… 14 years ago.
patch for libffi

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by nox@…

Cc: nox@… added
Version: 1.8.0

Does it still fail with muniversal portgroup?

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from pguyot@… to macports-tickets@…

Changed 14 years ago by sakamoto@…

Attachment: libffi.patch added

patch for libffi

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: libffi fails to build universal/ppclibffi fails to build universal/ppc on 10.6

Thanks, added in r74107.

Note: See TracTickets for help on using tickets.