This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I'm working on the patch to integrate gcc 4.3.4 into Crosstool-ng, as discussed yesterday on the list. So my tree is a recent Mercurial clone of Crosstool-ng, plus a small patch [1] and a set of patches in patches/gcc/4.3.4. I believe my changes have no relation with the issue being reported, since the build of GMP takes place before the first build of GCC. The issue I'm facing is the following: [INFO ] ================================================================= [INFO ] Installing GMP [EXTRA] Configuring GMP [EXTRA] Building GMP [ERROR] make[3]: *** [libmp.la] Error 1 [ERROR] make[2]: *** [all-recursive] Error 1 [ERROR] make[1]: *** [all] Error 2 [ERROR] Build failed in step 'Installing GMP' [ERROR] Error happened in '/home/thomas/projets/crosstool-gcc-fix/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry) [ERROR] called from '/home/thomas/projets/crosstool-gcc-fix/scripts/build/companion_libs/gmp.sh' at line # 46 in function 'do_gmp' [ERROR] called from '/home/thomas/projets/crosstool-gcc-fix/scripts/crosstool-NG.sh' at line # 544 in function 'main' [ERROR] Look at '/usr/local/xtools/arm-unknown-linux-uclibcgnueabi-gcc-4.3.4/build.log' for more info on this error. In the build.log, I can see : [ALL ] echo "{ global:" > .libs/libmp.ver [ALL ] cat /home/thomas/projets/crosstool-gcc-fix/targets/src/gmp-4.2.4/libmp.sym | sed -e "s/(.*)/^A;/" >> .libs/libmp.ver [ALL ] echo "local: *; };" >> .libs/libmp.ver [ALL ] gcc -shared .libs/assert.o .libs/errno.o .libs/memory.o .libs/mp_bpl.o .libs/mp_clz_tab.o .libs/mp_dv_tab.o .libs/mp_minv_tab.o .libs/mp_get_fns.o .libs/mp_set_fns.o . libs/tal-reent.o mpbsd/.libs/add.o mpbsd/.libs/tdiv_qr.o mpbsd/.libs/set.o mpbsd/.libs/powm.o mpbsd/.libs/sub.o mpbsd/.libs/cmp.o mpbsd/.libs/mfree.o mpbsd/.libs/mtox.o mpbsd/.libs /realloc.o mpbsd/.libs/gcd.o mpbsd/.libs/itom.o mpbsd/.libs/min.o mpbsd/.libs/mul.o mpbsd/.libs/mout.o mpbsd/.libs/rpow.o mpbsd/.libs/sdiv.o mpbsd/.libs/sqrtrem.o mpbsd/.libs/xtom. o mpn/.libs/fib_table.o mpn/.libs/mp_bases.o mpn/.libs/add.o mpn/.libs/add_1.o mpn/.libs/add_n.o mpn/.libs/sub.o mpn/.libs/sub_1.o mpn/.libs/sub_n.o mpn/.libs/mul_1.o mpn/.libs/add mul_1.o mpn/.libs/submul_1.o mpn/.libs/lshift.o mpn/.libs/rshift.o mpn/.libs/dive_1.o mpn/.libs/diveby3.o mpn/.libs/divis.o mpn/.libs/divrem.o mpn/.libs/divrem_1.o mpn/.libs/divrem _2.o mpn/.libs/fib2_ui.o mpn/.libs/mod_1.o mpn/.libs/mod_34lsub1.o mpn/.libs/mode1o.o mpn/.libs/pre_divrem_1.o mpn/.libs/pre_mod_1.o mpn/.libs/dump.o mpn/.libs/mul.o mpn/.libs/mul_ fft.o mpn/.libs/mul_n.o mpn/.libs/mul_basecase.o mpn/.libs/sqr_basecase.o mpn/.libs/pow_1.o mpn/.libs/rootrem.o mpn/.libs/sqrtrem.o mpn/.libs/get_str.o mpn/.libs/set_str.o mpn/.lib s/scan0.o mpn/.libs/scan1.o mpn/.libs/popcount.o mpn/.libs/hamdist.o mpn/.libs/cmp.o mpn/.libs/perfsqr.o mpn/.libs/bdivmod.o mpn/.libs/gcd_1.o mpn/.libs/gcd.o mpn/.libs/gcdext.o mp n/.libs/tdiv_qr.o mpn/.libs/dc_divrem_n.o mpn/.libs/sb_divrem_mn.o mpn/.libs/jacbase.o mpn/.libs/get_d.o mpn/.libs/mullow_n.o mpn/.libs/mullow_basecase.o mpn/.libs/umul.o mpn/.libs /udiv.o mpn/.libs/copyi.o mpn/.libs/copyd.o mpn/.libs/addsub_n.o mpz/.libs/add.o mpz/.libs/gcdext.o mpz/.libs/invert.o mpz/.libs/mul.o mpz/.libs/n_pow_ui.o mpz/.libs/realloc.o mpz/ .libs/set.o mpz/.libs/sub.o mpz/.libs/tdiv_q.o -Wl,-soname -Wl,libmp.so.3 -Wl,-version-script -Wl,.libs/libmp.ver -o .libs/libmp.so.3.1.13 [ALL ] /usr/bin/ld:.libs/libmp.ver:2: ignoring invalid character `001' in script [ALL ] /usr/bin/ld:.libs/libmp.ver:2: syntax error in VERSION script [ALL ] collect2: ld returned 1 exit status [ERROR] make[3]: *** [libmp.la] Error 1 [ALL ] make[3]: *** Waiting for unfinished jobs.... I've put my config at [2], the full build log at [3] and the concerned .libs/libmp.ver file at [4]. Any clue ? Thanks! Thomas [1] http://free-electrons.com/~thomas/crosstool-ng/gmp-build-issue/crosstool-ng-gcc-4.3.4.patch [2] http://free-electrons.com/~thomas/crosstool-ng/gmp-build-issue/crosstool-ng.config [3] http://free-electrons.com/~thomas/crosstool-ng/gmp-build-issue/build.log.bz2 [4] http://free-electrons.com/~thomas/crosstool-ng/gmp-build-issue/libmp.ver -- Thomas Petazzoni, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |