Skip to contentSkip to conversation

New: Buildroot fails to copy libstdc++ to target when using external toolchain

Buildroot bugzilla at busybox.net 1 participant 6 messages Nov 9, 2009 – May 21, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=699

Host: x86
Target: arm926t
Summary: Buildroot fails to copy libstdc++ to target when using
external toolchain
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: maksim.rayskiy at conexant.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0

When buildroot builds arm-linux-uclibcgnueabi toolchain, some libraries get installed into <sysroot>/lib, others - including libstdc++ - into <sysroot>/usr/arm-linux-uclibcgnueabi/lib.
If I use such a toolchain as an external toolchain for another buildroot build, buildroot does not find libraries in <sysroot>/usr/arm-linux-uclibcgnueabi/lib. Previous versions of buildroot used -print-file-name option of gcc to locate a library. Current version only checks in <sysroot>/lib folder.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 699] Buildroot fails to copy libstdc++ to target when using external toolchain

https://bugs.busybox.net/show_bug.cgi?id=699

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc.|thomas.petazzoni at free-
|org |electrons.com

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 699] Buildroot fails to copy libstdc++ to target when using external toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=699

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2010.02

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 699] Buildroot fails to copy libstdc++ to target when using external toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=699

--- Comment #1 from Thomas Petazzoni <[email protected]> 2010-02-21 19:02:31 UTC --- This will be fixed by
http://git.buildroot.net/~tpetazzoni/git/buildroot/commit/?h=codesourcery-toolchain-support&id=8f610d63122c205b921408bd3d28af9e64f5d8e6,
but I am not going to push this change before 2010.02. It should be part of the
next release, 2010.05, where other improvements to external toolchain supports
are scheduled.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 699] Buildroot fails to copy libstdc++ to target when using external toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=699

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2010.02 |2010.05

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 699] Buildroot fails to copy libstdc++ to target when using external toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=699

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Thomas Petazzoni <[email protected]> --- Fixed by ea2505ee567f716f6b2aeae45ccfe2555c0bcb97 : we now look for libraries in both lib/ and usr/lib in the external toolchain sysroot.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.