2008-11-14 23:25:35 uClinux-dist 2008R1.5 compilation error
P SENTHIL KUMAR (INDIA)
Message: 65326
Hi All,
I am using 2008R1.5 release with bf561 based custom board,
I am getting below compilation issue after giving make command.
creating libgmp.la
(cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
make[7]: Entering directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
test -z "/usr/lib" || mkdir -p -- . "/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib"
test -z "/usr/include" || mkdir -p -- . "/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/include"
test -z "/usr/include" || mkdir -p -- . "/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/include"
make install-data-hook
make[8]: Entering directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libgmp.la' '/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.la'
/usr/bin/install -c -m 644 'gmp.h' '/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/include/gmp.h'
+-------------------------------------------------------------+
| CAUTION: |
| |
| If you have not already run "make check", then we strongly |
| recommend you do so. |
| |
| GMP has been carefully tested by its authors, but compilers |
| are all too often released with serious bugs. GMP tends to |
| explore interesting corners in compilers and has hit bugs |
| on quite a few occasions. |
| |
+-------------------------------------------------------------+
make[8]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
/usr/bin/install -c .libs/libgmp.lai /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.la
/usr/bin/install -c .libs/libgmp.a /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.a
chmod 644 /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.a
bfin-uclinux-ranlib /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[7]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
make[6]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
make[5]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
make[4]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
make[3]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp'
make[2]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib'
make: *** [subdirs] Error 1
/uClinux-dist-2008R1.5-RC3>
Let me know some feedback to solve the issue
Regards, Senthil
QuoteReplyEditDelete
2008-11-15 02:16:26 Re: uClinux-dist 2008R1.5 compilation error
P SENTHIL KUMAR (INDIA)
Message: 65327
Hi All,
I am using 2008R1.5 release with bf561 based custom board,
i had selected executing file foramt as FLAT
I am getting below compilation issue after giving make command.
creating libgmp.la
(cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la)
make[7]: Entering directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
test -z "/usr/lib" || mkdir -p -- . "/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib"
test -z "/usr/include" || mkdir -p -- . "/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/include"
test -z "/usr/include" || mkdir -p -- . "/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/include"
make install-data-hook
make[8]: Entering directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libgmp.la' '/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.la'
/usr/bin/install -c -m 644 'gmp.h' '/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/include/gmp.h'
+-------------------------------------------------------------+
| CAUTION: |
| |
| If you have not already run "make check", then we strongly |
| recommend you do so. |
| |
| GMP has been carefully tested by its authors, but compilers |
| are all too often released with serious bugs. GMP tends to |
| explore interesting corners in compilers and has hit bugs |
| on quite a few occasions. |
| |
+-------------------------------------------------------------+
make[8]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
/usr/bin/install -c .libs/libgmp.lai /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.la
/usr/bin/install -c .libs/libgmp.a /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.a
chmod 644 /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.a
bfin-uclinux-ranlib /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libgmp.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[7]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
make[6]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
make[5]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
make[4]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp/build-gmp-4.2.2'
make[3]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/libgmp'
make[2]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib'
make: *** [subdirs] Error 1
/uClinux-dist-2008R1.5-RC3>
If, i select file format as FDPIC
I am getting below issue
bfin-uclinux-ar cru .libs/libmpfr.a exceptions.o extract.o uceil_exp2.o uceil_log2.o ufloor_log2.o add.o add1.o add_ui.o agm.o clear.o cmp.o cmp_abs.o cmp_si.o cmp_ui.o comparisons.o div_2exp.o div_2si.o div_2ui.o div.o div_ui.o dump.o eq.o exp10.o exp2.o exp3.o exp.o frac.o get_d.o get_exp.o get_str.o init.o inp_str.o isinteger.o isinf.o isnan.o isnum.o const_log2.o log.o mul_2exp.o mul_2si.o mul_2ui.o mul.o mul_ui.o neg.o next.o out_str.o const_pi.o pow.o pow_si.o pow_ui.o print_raw.o print_rnd_mode.o random2.o random.o reldiff.o round_prec.o set.o setmax.o setmin.o set_d.o set_dfl_prec.o set_exp.o set_rnd.o set_f.o set_prc_raw.o set_prec.o set_q.o set_si.o set_str.o set_str_raw.o set_ui.o set_z.o sqrt.o sqrt_ui.o sub.o sub1.o sub_ui.o rint.o ui_div.o ui_sub.o urandomb.o get_z_exp.o swap.o factorial.o cosh.o sinh.o tanh.o acosh.o asinh.o atanh.o atan.o cmp2.o exp_2.o asin.o const_euler.o cos.o sin.o tan.o fma.o fms.o hypot.o log1p.o expm1.o log2.o log10.o ui_pow.o ui_pow_ui.o minmax.o dim.o signbit.o copysign.o setsign.o gmp_op.o init2.o acos.o sin_cos.o set_nan.o set_inf.o powerof2.o gamma.o set_ld.o get_ld.o cbrt.o volatile.o fits_sshort.o fits_sint.o fits_slong.o fits_ushort.o fits_uint.o fits_ulong.o fits_uintmax.o fits_intmax.o get_si.o get_ui.o zeta.o cmp_d.o erf.o inits.o inits2.o clears.o sgn.o check.o sub1sp.o version.o mpn_exp.o mpfr-gmp.o mp_clz_tab.o sum.o add1sp.o free_cache.o si_op.o cmp_ld.o set_ui_2exp.o set_si_2exp.o set_uj.o set_sj.o get_sj.o get_uj.o get_z.o iszero.o cache.o sqr.o int_ceil_log2.o isqrt.o strtofr.o pow_z.o logging.o mulders.o get_f.o round_p.o erfc.o atan2.o subnormal.o const_catalan.o root.o sec.o csc.o cot.o eint.o sech.o csch.o coth.o round_near_x.o constant.o abort_prec_max.o stack_interface.o lngamma.o zeta_ui.o set_d64.o get_d64.o jn.o yn.o remquo.o get_patches.o
bfin-uclinux-ranlib .libs/libmpfr.a
creating libmpfr.la
(cd .libs && rm -f libmpfr.la && ln -s ../libmpfr.la libmpfr.la)
test -z "/usr/lib" || mkdir -p -- "/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'libmpfr.la' '/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libmpfr.la'
/usr/bin/install -c .libs/libmpfr.lai /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libmpfr.la
/usr/bin/install -c .libs/libmpfr.a /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libmpfr.a
chmod 644 /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libmpfr.a
bfin-uclinux-ranlib /home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/staging/usr/lib/libmpfr.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[6]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/mpfr/build-mpfr-2.3.0_p4'
make[5]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/mpfr/build-mpfr-2.3.0_p4'
make[4]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/mpfr/build-mpfr-2.3.0_p4'
make[3]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib/mpfr'
make[2]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/psenthil/DPF/uClinux-dist-2008R1.5-RC3/lib'
make: *** [subdirs] Error 1
/uClinux-dist-2008R1.5-RC3>
Let me know some feedback to solve the issues
Regards, Senthil
---
QuoteReplyEditDelete
2008-11-15 03:24:16 Re: uClinux-dist 2008R1.5 compilation error
Mike Frysinger (UNITED STATES)
Message: 65328
you arent posting the actual error. you're building in parallel which means the last thing shown most likely isnt the error.
run with `make NON_SMP_BUILD=1` to see the real error
QuoteReplyEditDelete
2008-11-15 08:45:48 Re: uClinux-dist 2008R1.5 compilation error
P SENTHIL KUMAR (INDIA)
Message: 65338
Hi Mike,
As per your suggestion, i had compiled the distribution with make NON_SM_BUILD=1.
Now the distribution is compiled properly without any error.
Also my test application is properly executed without any issues like Instruction Fetch CPLB miss.
Thanks for your support.
Regards,Senthil