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]

Problem compiling with crosstool-ng


Hi all,

question from a cross-gcc newbie. I am trying to compile a
arm-unknown-linux-gnu toolchain on a x86_64 using the sample provided
by crosstool-ng (arm-unknown-linux-gnu) but I fail building it while
checking MPFR.

Here are the steps I did:

~$ cd my_build_dir
~$ ct-ng arm-unknown-linux-gnu
~$ ct-ng-build
[...]
[INFO ]  Installing MPFR
[EXTRA]    Configuring MPFR
[EXTRA]    Building MPFR
[EXTRA]    Checking MPFR
[ERROR]    make[3]: *** [check-TESTS] Error 1
[ERROR]    make[2]: *** [check-am] Error 2
[ERROR]    make[1]: *** [check-recursive] Error 1
[ERROR]    Build failed in step 'Installing MPFR'
[ERROR]    Error happened in
'/opt/crosstool-ng/lib/ct-ng-1.4.1/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/opt/crosstool-ng/lib/ct-ng-1.4.1/scripts/build/mpfr.sh' at line # 89
in function 'do_mpfr'
[ERROR]          called from
'/opt/crosstool-ng/lib/ct-ng-1.4.1/scripts/crosstool-NG.sh' at line #
494 in function 'main'
[ERROR]    Look at
'/home/schuler/x-tools/arm-unknown-linux-gnu/build.log' for more info
on this error.
[ERROR]  (elapsed: 15:53.98)
[15:55] / make: *** [build] Error 2

Here is the end of my build.log:
[...]
[ALL  ]    PASS: trec_sqrt
[ALL  ]    PASS: tpow_all
[ALL  ]    =====================
[ALL  ]    1 of 148 tests failed
[ALL  ]    =====================
[ERROR]    make[3]: *** [check-TESTS] Error 1
[ERROR]    make[2]: *** [check-am] Error 2
[ERROR]    make[1]: *** [check-recursive] Error 1
[ERROR]    Build failed in step 'Installing MPFR'
[ERROR]    Error happened in
'/opt/crosstool-ng/lib/ct-ng-1.4.1/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/opt/crosstool-ng/lib/ct-ng-1.4.1/scripts/build/mpfr.sh' at line # 89
in function 'do_mpfr'
[ERROR]          called from
'/opt/crosstool-ng/lib/ct-ng-1.4.1/scripts/crosstool-NG.sh' at line #
494 in function 'main'
[ERROR]    Look at
'/home/schuler/x-tools/arm-unknown-linux-gnu/build.log' for more info
on this error.
[ERROR]  (elapsed: 15:53.98)

I thought the samples provided with crosstool-ng should work. Any
hints on how to fix that issue?

Thanks a lot in advance for your help!

--
Best regards,
 Marco

--
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]