Hi group:
Currently I am studying how buildroot works and encountered following
problem.
I am fresh here, So Please forgive me if break rule unintended.
Firstly I work under cygwin and just choose I386 and I686 as the
architecture,
disable busybox and filesystem, leaving others by default(also for uClibc).
In the procedure of menuconfig, I did not find any item about gmp lib,
but buildroot
downloads and compiles the gmp lib, which leads to failure like:
-----------------------------------------------------------------------------------------
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as: BFD
2.17.50 20060817 assertion fail
/netrel/src/binutils-20060817-1/bfd/coff-i386.c:576
tmp-dive_1.s: Assembler messages:
tmp-dive_1.s:102: Error: cannot represent relocation type
BFD_RELOC_386_GOTPC
make[3]: *** [dive_1.lo] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: ***
[/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp/lib/libgmp.so]
Error 2
------------------------------------------------------------------------------------------
I Googled it but did not get anything useful, or just missed the right
results.I attached buildroot config file and full debug info, hoping for recieving some tips and advice. Anything will be appreciated!Thx in Advance. amker
.config
Description: Binary data
Checking build system dependencies: BUILDROOT_DL_DIR clean: Ok CC clean: Ok CXX clean: Ok CPP clean: Ok CFLAGS clean: Ok INCLUDES clean: Ok CXXFLAGS clean: Ok which installed: Ok sed works: Ok (/usr/bin/sed) GNU make version '3.81': Ok C compiler '/usr/bin/gcc' C compiler version '3.4.4': Ok C++ compiler '/usr/bin/g++' C++ compiler version '3.4.4': Ok awk installed: Ok bison installed: Ok flex installed: Ok gettext installed: Ok makeinfo installed: Ok Build system dependencies: Ok rm -rf /cygdrive/e/work/cross_tools/sources/buildroot/buildroot/project_build_i686/uclibc/buildroot-config mkdir -p /cygdrive/e/work/cross_tools/sources/buildroot/buildroot/project_build_i686/uclibc cp -dpRf package/config/buildroot-config /cygdrive/e/work/cross_tools/sources/buildroot/buildroot/project_build_i686/uclibc/buildroot-config /usr/bin/make -j1 -C /cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host install make[1]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host' /usr/bin/make install-recursive make[2]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host' Making install in tests make[3]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests' Making install in . make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests' Making install in devel make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/devel' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/devel' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/devel' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/devel' Making install in mpn make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpn' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpn' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpn' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpn' Making install in mpz make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpz' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpz' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpz' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpz' Making install in mpq make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpq' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpq' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpq' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpq' Making install in mpf make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpf' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpf' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpf' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpf' Making install in rand make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/rand' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/rand' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/rand' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/rand' Making install in misc make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/misc' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/misc' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/misc' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/misc' Making install in cxx make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/cxx' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/cxx' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/cxx' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/cxx' Making install in mpbsd make[4]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpbsd' make[5]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpbsd' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpbsd' make[4]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests/mpbsd' make[3]: Leaving directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/tests' Making install in mpn make[3]: Entering directory `/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2-host/mpn' /bin/sh ../libtool --mode=compile --tag=CC /cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2/mpn/m4-ccas --m4="m4" /usr/bin/gcc -c -DHAVE_CONFIG_H -I. -I/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2/mpn -I.. -D__GMP_WITHIN_GMP -I/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2 -DOPERATION_`echo dive_1 | sed 's/_$//'` -m32 -O2 -fomit-frame-pointer -mtune=i386 -march=i386 `test -f 'dive_1.asm' || echo '/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp-4.2.2/mpn/'`dive_1.asm /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as: BFD 2.17.50 20060817 assertion fail /netrel/src/binutils-20060817-1/bfd/coff-i386.c:576 tmp-dive_1.s: Assembler messages: tmp-dive_1.s:102: Error: cannot represent relocation type BFD_RELOC_386_GOTPC make[3]: *** [dive_1.lo] Error 1 make[2]: *** [install-recursive] Error 1 make[1]: *** [install] Error 2 make: *** [/cygdrive/e/work/cross_tools/sources/buildroot/buildroot/toolchain_build_i686/gmp/lib/libgmp.so] Error 2
_______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
