Bug 699

Summary: Buildroot fails to copy libstdc++ to target when using external toolchain
Product: buildroot Reporter: Maksim Rayskiy <maksim.rayskiy>
Component: OtherAssignee: Thomas Petazzoni <thomas.petazzoni>
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: 2010.05   
Hardware: PC   
OS: Linux   
Host: x86 Target: arm926t
Build:

Description Maksim Rayskiy 2009-11-09 23:37:10 UTC
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.
Comment 1 Thomas Petazzoni 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.
Comment 2 Thomas Petazzoni 2010-05-21 23:03:59 UTC
Fixed by ea2505ee567f716f6b2aeae45ccfe2555c0bcb97 : we now look for libraries in both lib/ and usr/lib in the external toolchain sysroot.