This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libffi-3.0.10-rc2 doesn't compile on PPC64/64bit userland/Linux/Gentoo


Linux rooster 3.0.6-gentoo #1 SMP Mon Oct 17 09:59:31 PDT 2011 ppc64 POWER5+ (gs) CHRP IBM,9133-55A GNU/Linux

gcc-4.5.3
glibc-2.12.2

Attaching the build.log

Any clue?
 * Package:    dev-libs/libffi-3.0.11_rc2
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        elibc_glibc kernel_linux ppc64 userland_GNU
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking libffi-3.0.11-rc2.tar.gz to /var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work
>>> Preparing source in /var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2 ...
 * Applying libffi-3.0.9-x32.patch ...
 [ ok ]
 * Running elibtoolize in: libffi-3.0.11-rc2/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2 ...
 * econf: updating libffi-3.0.11-rc2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating libffi-3.0.11-rc2/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=powerpc64-unknown-linux-gnu --host=powerpc64-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-static --disable-debug
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
./configure: line 2649: AX_ENABLE_BUILDDIR: command not found
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for powerpc64-unknown-linux-gnu-gcc... powerpc64-unknown-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc64-unknown-linux-gnu-gcc accepts -g... yes
checking for powerpc64-unknown-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of powerpc64-unknown-linux-gnu-gcc... none
checking dependency style of powerpc64-unknown-linux-gnu-gcc... none
checking whether powerpc64-unknown-linux-gnu-gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by powerpc64-unknown-linux-gnu-gcc... /usr/powerpc64-unknown-linux-gnu/bin/ld
checking if the linker (/usr/powerpc64-unknown-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert powerpc64-unknown-linux-gnu file names to powerpc64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert powerpc64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/powerpc64-unknown-linux-gnu/bin/ld option to reload object files... -r
checking for powerpc64-unknown-linux-gnu-objdump... powerpc64-unknown-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for powerpc64-unknown-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for powerpc64-unknown-linux-gnu-ar... powerpc64-unknown-linux-gnu-ar
checking for archiver @FILE support... @
checking for powerpc64-unknown-linux-gnu-strip... powerpc64-unknown-linux-gnu-strip
checking for powerpc64-unknown-linux-gnu-ranlib... powerpc64-unknown-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from powerpc64-unknown-linux-gnu-gcc object... ok
checking for sysroot... no
checking for powerpc64-unknown-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... powerpc64-unknown-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if powerpc64-unknown-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for powerpc64-unknown-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if powerpc64-unknown-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if powerpc64-unknown-linux-gnu-gcc static flag -static works... yes
checking if powerpc64-unknown-linux-gnu-gcc supports -c -o file.o... yes
checking if powerpc64-unknown-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the powerpc64-unknown-linux-gnu-gcc linker (/usr/powerpc64-unknown-linux-gnu/bin/ld -m elf64ppc) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
./configure: line 11842: AX_CC_MAXOPT: command not found
./configure: line 11843: AX_CFLAGS_WARN_ALL: command not found
checking whether to enable maintainer-specific portions of Makefiles... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking size of double... 8
checking size of long double... 16
checking whether byte ordering is bigendian... yes
./configure: line 13042: GCC_AS_CFI_PSEUDO_OP: command not found
checking whether .eh_frame section should be read-only... no
checking for __attribute__((visibility("hidden")))... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: linking src/powerpc/ffitarget.h to include/ffitarget.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include commands
config.status: executing src commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2 ...
make -j8 
make "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions" "CXXFLAGS=-O2 -pipe -mcpu=power5 -mtune=power5" "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=-Wl,--as-needed" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/bin/sh /var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/sh" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib64" "mandir=/usr/share/man" "prefix=/usr" "AR=powerpc64-unknown-linux-gnu-ar" "AS=as" "CC=powerpc64-unknown-linux-gnu-gcc" "CXX=g++" "LD=/usr/powerpc64-unknown-linux-gnu/bin/ld -m elf64ppc" "NM=/usr/bin/nm -B" "RANLIB=powerpc64-unknown-linux-gnu-ranlib" "DESTDIR=" all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2'
Making all in include
make[2]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2/include'
Making all in testsuite
make[2]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2/testsuite'
Making all in man
make[2]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2/man'
make[2]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2'
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -g  -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c -o src/prep_cif.lo src/prep_cif.c
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -g  -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c -o src/types.lo src/types.c
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -g  -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c -o src/raw_api.lo src/raw_api.c
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -g  -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c -o src/java_raw_api.lo src/java_raw_api.c
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -g  -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c -o src/closures.lo src/closures.c
/bin/sh ./libtool --tag=CC   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -g  -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c -o src/powerpc/ffi.lo src/powerpc/ffi.c
/bin/sh ./libtool   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -c -o src/powerpc/sysv.lo src/powerpc/sysv.S
/bin/sh ./libtool   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -c -o src/powerpc/ppc_closure.lo src/powerpc/ppc_closure.S
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c src/prep_cif.c  -fPIC -DPIC -o src/.libs/prep_cif.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c src/raw_api.c  -fPIC -DPIC -o src/.libs/raw_api.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c src/types.c  -fPIC -DPIC -o src/.libs/types.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c src/java_raw_api.c  -fPIC -DPIC -o src/.libs/java_raw_api.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c src/closures.c  -fPIC -DPIC -o src/.libs/closures.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -c src/powerpc/sysv.S  -fPIC -DPIC -o src/powerpc/.libs/sysv.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -fexceptions -c src/powerpc/ffi.c  -fPIC -DPIC -o src/powerpc/.libs/ffi.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -c src/powerpc/ppc_closure.S  -fPIC -DPIC -o src/powerpc/.libs/ppc_closure.o
/bin/sh ./libtool   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -c -o src/powerpc/linux64.lo src/powerpc/linux64.S
/bin/sh ./libtool   --mode=compile powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I. -I./include -Iinclude -I./src  -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -c -o src/powerpc/linux64_closure.lo src/powerpc/linux64_closure.S
src/powerpc/ffi.c: In function 'ffi_prep_args_SYSV':
src/powerpc/ffi.c:199:4: error: 'double_tmp' undeclared (first use in this function)
src/powerpc/ffi.c:199:4: note: each undeclared identifier is reported only once for each function it appears in
src/powerpc/ffi.c:215:6: error: label 'soft_double_prep' used but not defined
src/powerpc/ffi.c: In function 'ffi_closure_helper_SYSV':
src/powerpc/ffi.c:1135:8: error: 'temp' undeclared (first use in this function)
make[2]: *** [src/powerpc/ffi.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -c src/powerpc/linux64.S  -fPIC -DPIC -o src/powerpc/.libs/linux64.o
libtool: compile:  powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -g -O2 -pipe -mcpu=power5 -mtune=power5 -c src/powerpc/linux64_closure.S  -fPIC -DPIC -o src/powerpc/.libs/linux64_closure.o
src/closures.c: In function 'dlmmap_locked':
src/closures.c:421:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result
src/closures.c:433:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result
make[2]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2'
make: *** [all] Error 2
 * ERROR: dev-libs/libffi-3.0.11_rc2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/libffi-3.0.11_rc2',
 * the complete build log and the output of 'emerge -pqv =dev-libs/libffi-3.0.11_rc2'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/libffi-3.0.11_rc2/work/libffi-3.0.11-rc2'

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]