Package: toolchain-source
Version: 3.4-5
Severity: minor

When building the gcc package generated by "tpkg-make arm-elf", I get the following error: (binutils was built and installed already)

[...]
configure: Debug build flags set to -g3 -O0
checking for additional debug build... yes
checking for extra compiler flags for building...
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: error: No support for this host/target combination.
make[2]: *** [configure-target-libstdc++-v3] Error 1
make[2]: Leaving directory `/var/tmp/bcwhite/gcc-arm-elf-3.4.3/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1
make[1]: Leaving directory `/var/tmp/bcwhite/gcc-arm-elf-3.4.3'
make: *** [stamps/05-build-stamp] Error 2

This seems to be specific to C++; On google I saw references that said to remove C++ from the enabled languages to get by this problem. I did find one other reference to building the toolchain for arm-elf that indicated it needed to be compiled with newlib, but I haven't tested it since I don't have newlib installed (yet).

[gcc-source]/configure --target=arm-elf --prefix=[toolchain-prefix]
  --enable-interwork --enable-multilib --enable-languages="c,c++"
  --with-newlib --with-headers=[newlib-source]/newlib/libc/include

(found on http://www.gnuarm.com/support.html)

We need C++ for our work, so for now I guess we'll stay with 2.95. I'll add to this bug if I learn anything more.

                                          Brian
                                 ( [EMAIL PROTECTED] )

-------------------------------------------------------------------------------
     Differences are good.  If two people agree, one of them is redundant.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to