Buildroot problem while powerpc build is made for g++

Arvind Kumar arvindverma77 at gmail.com
Fri Sep 22 05:42:11 UTC 2006


 Hi! <uclibc at uclibc.org>
I used buildroot-0.9.27-2 for building croos tool chain for powerpc.
I am using the following packages.

binutils-2.15.91.0.2.tar.bz2  linux-libc-headers-2.4.27.tar.bz2
busybox-snapshot.tar.bz2      ncurses-5.2.tar.gz
ccache-2.3.tar.gz      gcc-3.4.2.tar.bz2             uClibc-0.9.27.tar.bz2
genext2fs_1.3.orig.tar.gz

The toolchain is successfully build for C. But when I am building toochain
for C++.
I am getting the following problem:


c -lgcc_s_nof -lm -lgcc_s_nof -lc -lgcc_s_nof
/home/tania/users/arvind/tools/buildroot-work/buildroot/toolchain_build_powerpc/gcc-
3.4.2-final/gcc/nof/crtsavres.o
/home/tania/users/arvind/tools/buildroot-work/buildroot/toolchain_build_powerpc/gcc-
3.4.2-final/gcc/nof/crtendS.o
/home/tania/users/arvind/tools/buildroot-work/buildroot/build_powerpc/staging_dir/powerpc-linux-uclibc/lib/crtn.o
-Wl,-O1 -Wl,--version-script=libstdc++-symbol.ver -Wl,-soname
-Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.2
`.gnu.linkonce.t._ZNSdD1Ev' referenced in section `.got2' of .libs/fstream-
inst.o: defined in discarded section `.gnu.linkonce.t._ZNSdD1Ev' of
.libs/fstream-inst.o
`.gnu.linkonce.t._ZNSdD0Ev' referenced in section `.got2' of .libs/fstream-
inst.o: defined in discarded section `.gnu.linkonce.t._ZNSdD0Ev' of
.libs/fstream-inst.o
`.gnu.linkonce.t._ZNSdD2Ev' referenced in section `.got2' of .libs/sstream-
inst.o: defined in discarded section `.gnu.linkonce.t._ZNSdD2Ev' of
.libs/sstream-inst.o
collect2: ld returned 1 exit status
make[7]: *** [libstdc++.la] Error 1
make[7]: Leaving directory
`/home/tania/users/arvind/tools/buildroot-work/buildroot/toolchain_build_powerpc/gcc-
3.4.2-final/powerpc-linux-ucl

I have googled but did not get any help.
Any clue will be highly appriciated.

With Best Regards,
Arvind
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20060922/b0bcd936/attachment-0001.htm 


More information about the uClibc mailing list