crosstool-ng 1.18.0 build fails for armv6-rpi-linux-gnueabi

M. Nuri ERTEM ertemn@gmail.com
Thu Mar 7 14:48:00 GMT 2013


Hi,

I tried to build a toolchain for Raspberry Pi using the sample
configuration 'armv6-rpi-linux-gnueabi' with crosstool-ng 1.18.0.

I modified only the target path (the '.config' file used is included
in the attached zip).
After building for about 110 minutes, the build failed with the
following output:

...
[ERROR]    /home/ertemn/Belgeler/toolchain/raspberrypi/.build/src/ppl-0.11.2/src/Variable.inlines.hh:43:
undefined reference to `std::length_error::~length_error()'
[ERROR]    /home/ertemn/Belgeler/toolchain/raspberrypi/.build/src/ppl-0.11.2/src/Variable.inlines.hh:43:
undefined reference
to/.build/src/ppl-0.11.2/src/Variable.inlines.hh:43: undefined
reference to `std::length_error::~length_error()'
[ERROR]    /home/ertemn/Belgeler/toolchain/raspberrypi/.build/src/ppl-0.11.2/src/Variable.inlines.hh:43:
undefined reference to
`std::length_error::length_error(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
...
[ERROR]    /home/ertemn/Belgeler/toolchain/raspberrypi/.build/src/ppl-0.11.2/src/Variable.inlines.hh:43:
undefined reference to `std::length_error::~length_error()'
[ERROR]    /home/ertemn/Belgeler/toolchain/raspberrypi/.build/src/ppl-0.11.2/src/Variable.inlines.hh:43:
undefined reference to
`std::length_error::length_error(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
[ERROR]    /home/ertemn/Belgeler/toolchain/raspberrypi/.build/src/ppl-0.11.2/src/Variable.inlines.hh:43:
undefined reference to `std::length_error::~length_error()'
[ERROR]    make[2]: *** [cc1] Error 1
[ERROR]    make[2]: *** [lto1] Error 1
[ERROR]    make[1]: *** [all-gcc] Error 2
[ERROR]  |
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing pass-1 core C compiler'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from: do_cc_core_backend[scripts/build/cc/gcc.sh@448]
[ERROR]  >>        called from: do_cc_core_pass_1[scripts/build/cc/gcc.sh@101]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@632]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>
'/opt/xtool-ng-1.18.0/share/doc/crosstool-ng/ct-ng.1.18.0/B - Known
issues.txt'
[ERROR]  /
[ERROR]  (elapsed: 111:07.80)
[111:09] / make: *** [build] Error 2

The last 256 lines of the output is included as 'build_output_256' in
the attached zip.
I have also included the full 'build.log' in the attached zip.

I built on Ubuntu 11.10, Linux 3.0.0-31-generic.
As is evident from the attached .config file, the packages I used
(which are also the defaults of the sample configuration
'armv6-rpi-linux-gnueabi') are:

binutils-2.22
cloog-ppl-0.15.11
eglibc-2_16
eglibc-ports-2_16
gcc-linaro-4.7-2013.01
gmp-5.0.2
linux-3.6.11
mpc-0.9
mpfr-3.1.0
ppl-0.11.2 (also tried ppl-0.10.2 before: fails also)

I would appreciate it very, VERY MUCH if anyone could provide any
assistance or any pointers on how I may manage to successfully build
this toolchain.
Thanks in advance and best regards,
Nuri.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ct-ng_build_failure.tar.gz
Type: application/x-gzip
Size: 386596 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20130307/61095cd3/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list