Buildroot fails at libstdc++
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080107/7b39217f/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc-0.9.29.config
Type: application/octet-stream
Size: 4889 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080107/7b39217f/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot-20080102.config
Type: application/octet-stream
Size: 10045 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080107/7b39217f/attachment-0001.obj
Quoted 11 lines
Hi all,
I am having a problem with taking the buildroot process pass the libstdc++ phase. Here is my setup:
buildroot snapshot 2008-01-02
binutils 2.18
kernel 2.6.22.10 gcc 3.4.6 uClibc 0.9.29
Maybe you should try with gcc-4.2.1
Best Regards
Ulf Samuelsson
Thanks for the suggestion to try gcc-4.2.1 but what I would find helpful is to start with a configuration which was successful and created a functional tool for a generic arm, nomad, no FP, soft-float, little-Endean system.
Best Regards,
Port
----- Original Message -----
From: "Ulf Samuelsson" <[email protected]>
To: <[email protected]>
Sent: Monday, January 07, 2008 10:16 AM
Subject: Re: [Buildroot] Buildroot fails at libstdc++
Quoted 21 lines
Quoted 6 lines
Hi all,
I am having a problem with taking the buildroot process pass the libstdc++ phase.
Here is my setup:Quoted 6 lines
buildroot snapshot 2008-01-02
binutils 2.18
kernel 2.6.22.10 gcc 3.4.6 uClibc 0.9.29Maybe you should try with gcc-4.2.1
Best Regards
Ulf Samuelsson_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Quoted 31 lines · On Monday 7. January 2008 15:51:23 piotr at powersmiths.com wrote:
Hi all,
I am having a problem with taking the buildroot process pass the libstdc++
phase. Here is my setup:buildroot snapshot 2008-01-02
binutils 2.18
kernel?? 2.6.22.10
gcc????? 3.4.6
uClibc?? 0.9.29generic arm, nommu, no FP, soft-float, little-endian (all configs
attached) no user apps - just the toolchainI have made several attempts to run the buildroot program with target set
to "linux-uclibc" and "linux". It always fails the same way:For the "linux-uclibc" target there are no *.o files in .libs directory
(but it contains libstdc++.a, libstdc++.la, and libstdc++.lai).
/home/piotr/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ar
cru libstdc++_pic.a .libs/*.o ../libsupc++/*.o/home/piotr/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ar:
.libs/*.o: No such file or directory make[4]: *** [install-exec-local] Error 1
make[4]: Leaving directory
`/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final/arm-linux-uclibc /libstdc++-v3/src' make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final/arm-linux-uclibc
Quoted 9 lines
/libstdc++-v3/src' make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final/arm-linux-uclibc /libstdc++-v3' make[1]: *** [install-target-libstdc++-v3] Error 2
make[1]: Leaving directory
`/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final' make: *** [/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final/.installed] Error 2
There is a patch which fixes this in the bug-tracker,
http://bugs.uclibc.org/view.php?id=1620.
Now, if someone with commit access could be so kind .....
- Atle
Thanks Atle,
This sounds very promising but the solution doesn't seem to be accessible.
Piotr
Quoted 53 lines · On Monday 7. January 2008 15:51:23 piotr at powersmiths.com wrote:
Quoted 33 lines
Hi all,
I am having a problem with taking the buildroot process pass the
libstdc++
phase. Here is my setup:buildroot snapshot 2008-01-02
binutils 2.18
kernel 2.6.22.10
gcc 3.4.6
uClibc 0.9.29generic arm, nommu, no FP, soft-float, little-endian (all configs
attached) no user apps - just the toolchainI have made several attempts to run the buildroot program with target
set
to "linux-uclibc" and "linux". It always fails the same way:For the "linux-uclibc" target there are no *.o files in .libs directory
(but it contains libstdc++.a, libstdc++.la, and libstdc++.lai).
/home/piotr/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ar
cru libstdc++_pic.a .libs/*.o ../libsupc++/*.o/home/piotr/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ar:
.libs/*.o: No such file or directory make[4]: *** [install-exec-local] Error 1
make[4]: Leaving directory
`/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final/arm-linux-uclibc /libstdc++-v3/src' make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final/arm-linux-uclibcQuoted 9 lines
/libstdc++-v3/src' make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final/arm-linux-uclibc /libstdc++-v3' make[1]: *** [install-target-libstdc++-v3] Error 2
make[1]: Leaving directory
`/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final' make: *** [/home/piotr/buildroot/toolchain_build_arm/gcc-3.4.6-final/.installed] Error 2There is a patch which fixes this in the bug-tracker,
http://bugs.uclibc.org/view.php?id=1620.
Now, if someone with commit access could be so kind .....- Atle
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Quoted 12 lines
Thanks Atle,
This sounds very promising but the solution doesn't seem to be accessible.
Piotr
Quoted 6 lines
There is a patch which fixes this in the bug-tracker,
http://bugs.uclibc.org/view.php?id=1620.
Now, if someone with commit access could be so kind .....- Atle
Hi,
Check your internet connection settings. I downloaded patch from link provided by Atle successfully. And tell then if this patch fixes your problem.
Regards,
Ivan
Hi,
I can download the patch now. There was an ending dot in the link creating the access problem.
Should this patch be stored together with the other gcc 3.4.6 patches?
Thanks,
Piotr
----- Original Message -----
From: "Ivan Kuten" <[email protected]>
Quoted 12 lines
Thanks Atle,
This sounds very promising but the solution doesn't seem to be accessible.
Piotr
Quoted 6 lines
There is a patch which fixes this in the bug-tracker,
http://bugs.uclibc.org/view.php?id=1620.
Now, if someone with commit access could be so kind .....- Atle
Hi,
Check your internet connection settings. I downloaded patch from link provided by Atle successfully.
And tell then if this patch fixes your problem.
Regards,
Ivan
Quoted 11 lines · Piotr Grudzinski
Hi,
I can download the patch now. There was an ending dot in the link creating the access problem.
Should this patch be stored together with the other gcc 3.4.6 patches?
Thanks,
Piotr
No, apply it to your buildroot source tree. In top dir do:
patch -p1 < gcc-3.4.6-fix-libstc++-pic.patch
- Atle
The buildroot process finished with some error (see below - and I wouldn't mind to know what it means) but the toolchain seems to be all in place.
make[2]: Leaving directory /home/piotr/buildroot/build_arm/genext2fs-1.4' make[1]: Leaving directory /home/piotr/buildroot/build_arm/genext2fs-1.4' touch -c /home/piotr/buildroot/build_arm/genext2fs-1.4/genext2fs test -x /home/piotr/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ldconfig && /home/piotr/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-ldconfig
-r /home/piotr/buildroot/project_build_arm/uclibc/root 2>/dev/null
make: *** [/home/piotr/buildroot/binaries/uclibc/rootfs.arm.ext2] Error 1
Thanks for the excellent support,
Piotr