Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 312765 Details for
Bug 417179
dev-libs/libffi-3.0.11 fails to build with Clang on Gentoo FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-libs/libffi-3.0.11 build failure
build.log (text/plain), 16.33 KB, created by
Richard Yao (RETIRED)
on 2012-05-22 23:47:10 UTC
(
hide
)
Description:
dev-libs/libffi-3.0.11 build failure
Filename:
MIME Type:
Creator:
Richard Yao (RETIRED)
Created:
2012-05-22 23:47:10 UTC
Size:
16.33 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-libs/libffi-3.0.11 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: toolchain@gentoo.org >[32;01m * [39;49;00mUSE: amd64-fbsd elibc_FreeBSD java5 kernel_FreeBSD multilib userland_BSD >[32;01m * [39;49;00mFEATURES: preserve-libs splitdebug userpriv usersandbox >>>> Unpacking source... >>>> Unpacking libffi-3.0.11.tar.gz to /var/tmp/portage/dev-libs/libffi-3.0.11/work >>>> Source unpacked in /var/tmp/portage/dev-libs/libffi-3.0.11/work >>>> Preparing source in /var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11 ... > [32;01m*[0m Running elibtoolize in: libffi-3.0.11/ > [32;01m*[0m Applying portage/1.2.0 patch ... > [32;01m*[0m Applying sed/1.5.6 patch ... > [32;01m*[0m Applying as-needed/2.2.6 patch ... > [32;01m*[0m Applying fbsd-conf/00broken-libglade patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11 ... > * econf: updating libffi-3.0.11/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating libffi-3.0.11/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-gentoo-freebsd9.0 --host=x86_64-gentoo-freebsd9.0 --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... x86_64-gentoo-freebsd9.0 >checking host system type... x86_64-gentoo-freebsd9.0 >checking target system type... x86_64-gentoo-freebsd9.0 >continue configure in default builddir "./x86_64-gentoo-freebsd9.0" >....exec /bin/bash .././configure "--srcdir=.." "--enable-builddir=x86_64-gentoo-freebsd9.0" "freebsd9.0" >checking build system type... x86_64-gentoo-freebsd9.0 >checking host system type... x86_64-gentoo-freebsd9.0 >checking target system type... x86_64-gentoo-freebsd9.0 >checking for gsed... /usr/bin/gsed >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... ../install-sh -c -d >checking for gawk... gawk >checking whether gmake sets $(MAKE)... yes >checking for x86_64-gentoo-freebsd9.0-gcc... clang >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 clang accepts -g... yes >checking for clang option to accept ISO C89... none needed >checking for style of include used by gmake... GNU >checking dependency style of clang... none >checking dependency style of clang... none >checking whether clang and cc understand -c and -o together... yes >checking how to print strings... printf >checking for a sed that does not truncate output... /usr/lib64/portage/bin/ebuild-helpers/sed >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for fgrep... /usr/bin/grep -F >checking for ld used by clang... /usr/bin/x86_64-gentoo-freebsd9.0-ld >checking if the linker (/usr/bin/x86_64-gentoo-freebsd9.0-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... 196608 >checking whether the shell understands some XSI constructs... yes >checking whether the shell understands "+="... yes >checking how to convert x86_64-gentoo-freebsd9.0 file names to x86_64-gentoo-freebsd9.0 format... func_convert_file_noop >checking how to convert x86_64-gentoo-freebsd9.0 file names to toolchain format... func_convert_file_noop >checking for /usr/bin/x86_64-gentoo-freebsd9.0-ld option to reload object files... -r >checking for x86_64-gentoo-freebsd9.0-objdump... x86_64-gentoo-freebsd9.0-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-gentoo-freebsd9.0-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-gentoo-freebsd9.0-ar... x86_64-gentoo-freebsd9.0-ar >checking for archiver @FILE support... @ >checking for x86_64-gentoo-freebsd9.0-strip... x86_64-gentoo-freebsd9.0-strip >checking for x86_64-gentoo-freebsd9.0-ranlib... x86_64-gentoo-freebsd9.0-ranlib >checking command to parse /usr/bin/nm -B output from clang object... ok >checking for sysroot... no >checking for x86_64-gentoo-freebsd9.0-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking how to run the C preprocessor... clang -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 clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking if clang supports -c -o file.o... (cached) yes >checking whether the clang linker (/usr/bin/x86_64-gentoo-freebsd9.0-ld) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... freebsd9.0 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 >checking for C compiler vendor... clang >checking CFLAGS for maximum warnings... -Wall >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... no >checking for alloca... yes >checking size of double... 8 >checking size of long double... 16 >checking whether byte ordering is bigendian... no >checking assembler .cfi pseudo-op support... yes >checking assembler supports pc related relocs... no >checking assembler .ascii pseudo-op support... yes >checking assembler .string pseudo-op support... yes >checking assembler supports unwind section type... no >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/x86/ffitarget.h to include/ffitarget.h >config.status: executing buildir commands >config.status: create top_srcdir/Makefile guessed from local Makefile >config.status: build in x86_64-gentoo-freebsd9.0 (HOST=x86_64-gentoo-freebsd9.0) >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/work/libffi-3.0.11 ... >gmake -j7 >MAKE x86_64-gentoo-freebsd9.0 : 1 * all-all >gmake[1]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0' >gmake "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions" "CXXFLAGS=-O2 -pipe -march=amdfam10 -mtune=amdfam10" "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,-O1 -Wl,--as-needed -Wl,--sort-common" "LIBCFLAGS=" "LIBCFLAGS_FOR_TARGET=" "MAKE=gmake" "MAKEINFO=/bin/bash /var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/missing --run makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "RUNTESTFLAGS=" "SHELL=/bin/bash" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib64" "mandir=/usr/share/man" "prefix=/usr" "AR=x86_64-gentoo-freebsd9.0-ar" "AS=as" "CC=clang" "CXX=g++" "LD=/usr/bin/x86_64-gentoo-freebsd9.0-ld" "NM=/usr/bin/nm -B" "RANLIB=x86_64-gentoo-freebsd9.0-ranlib" "DESTDIR=" all-recursive >gmake[2]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0' >Making all in include >gmake[3]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0/include' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0/include' >Making all in testsuite >gmake[3]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0/testsuite' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0/testsuite' >Making all in man >gmake[3]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0/man' >gmake[3]: Nothing to be done for `all'. >gmake[3]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0/man' >gmake[3]: Entering directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0' >/bin/bash ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c -o src/prep_cif.lo ../src/prep_cif.c >/bin/bash ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c -o src/types.lo ../src/types.c >/bin/bash ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c -o src/raw_api.lo ../src/raw_api.c >/bin/bash ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c -o src/java_raw_api.lo ../src/java_raw_api.c >/bin/bash ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c -o src/closures.lo ../src/closures.c >/bin/bash ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c -o src/x86/ffi64.lo ../src/x86/ffi64.c >/bin/bash ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -c -o src/x86/unix64.lo ../src/x86/unix64.S >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c ../src/closures.c -fPIC -DPIC -o src/.libs/closures.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c ../src/java_raw_api.c -fPIC -DPIC -o src/.libs/java_raw_api.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c ../src/prep_cif.c -fPIC -DPIC -o src/.libs/prep_cif.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c ../src/types.c -fPIC -DPIC -o src/.libs/types.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -c ../src/x86/unix64.S -fPIC -DPIC -o src/x86/.libs/unix64.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c ../src/raw_api.c -fPIC -DPIC -o src/.libs/raw_api.o >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c ../src/x86/ffi64.c -fPIC -DPIC -o src/x86/.libs/ffi64.o >/bin/bash ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c -o src/x86/ffi.lo ../src/x86/ffi.c >../src/x86/unix64.S:357:17: error: invalid variant 'rel' > .long .LUW0@rel > ^ >../src/x86/unix64.S:399:17: error: invalid variant 'rel' > .long .LUW5@rel > ^ >/bin/bash ./libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -c -o src/x86/sysv.lo ../src/x86/sysv.S >libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -Wall -fexceptions -c ../src/x86/ffi.c -fPIC -DPIC -o src/x86/.libs/ffi.o >gmake[3]: *** [src/x86/unix64.lo] Error 1 >gmake[3]: *** Waiting for unfinished jobs.... >In file included from ../src/closures.c:210: >[1m../src/dlmalloc.c:3391:30: [0m[0;1;35mwarning: [0m[1mexpression result unused [-Wunused-value][0m > set_segment_flags(&m->seg, mmapped); >[0;1;32m ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ >[0m../src/dlmalloc.c:1957:39: note: expanded from: > (((v) != IS_MMAPPED_BIT) ? (ABORT, (v)) : \ >[0;1;32m ^ >[0m[1m../src/dlmalloc.c:3551:34: [0m[0;1;35mwarning: [0m[1mexpression result unused [-Wunused-value][0m > set_segment_flags(&m->seg, mmap_flag); >[0;1;32m ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >[0m../src/dlmalloc.c:1957:39: note: expanded from: > (((v) != IS_MMAPPED_BIT) ? (ABORT, (v)) : \ >[0;1;32m ^ >[0mlibtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -DFFI_BUILDING -I. -I../include -Iinclude -I../src -DFFI_BUILDING -g -O2 -pipe -march=amdfam10 -mtune=amdfam10 -c ../src/x86/sysv.S -fPIC -DPIC -o src/x86/.libs/sysv.o >2 warnings generated. >gmake[3]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0' >gmake[2]: *** [all-recursive] Error 1 >gmake[2]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0' >gmake[1]: *** [all] Error 2 >gmake[1]: Leaving directory `/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11/x86_64-gentoo-freebsd9.0' >gmake: *** [all-all] Error 2 > [31;01m*[0m ERROR: dev-libs/libffi-3.0.11 failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-libs/libffi-3.0.11'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-libs/libffi-3.0.11'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-libs/libffi-3.0.11/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/libffi-3.0.11/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11' > [31;01m*[0m S: '/var/tmp/portage/dev-libs/libffi-3.0.11/work/libffi-3.0.11'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 417179
: 312765 |
312767
|
313299
|
335246