Bug 353

Summary: Add libtool 2.4 sysroot support and remove libtool hacks/workarounds
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: devtools / tool chainAssignee: Scott Garman <scott.a.garman>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: jessica.zhang, ke.yu, kevin.tian, meta.mr.watcher, meta.watcher, sgw
Version: unspecified   
Target Milestone: 1.0 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Richard Purdie 2010-09-27 10:28:16 UTC
Part of the libtool 2.4 announcement:

"""
New in 2.4 2010-09-22: 

        • New features:
- Sysroot support. This allows you to build cross-compiled packages 
with the same prefix that will be used on the destination machine, 
and still find dependent libraries under the compiler's "sysroot". 
Without sysroot support, paths internal to the build system may leak 
into the product of the build. 

Sysroot support is disabled unless the --with-sysroot configure 
option is passed to configure, because .la files generated with 
sysroot support will not be usable in general with older Libtools. 
"""

with further usage details available at:

http://lists.gnu.org/archive/html/libtool/2010-09/msg00086.html
Comment 1 Nitin Kamble 2010-09-28 09:39:54 UTC
I have started looking into this.

we are at libtool 2.2.10 now. So this will involve libtool updated to 2.4.

- nitin
Comment 2 Nitin Kamble 2010-09-28 09:43:58 UTC
This is targeted for 1.0, so lowering this in my priority now.
- nitin
Comment 3 Saul Wold 2010-12-07 10:58:58 UTC
Reassigned to Scott
Comment 4 Scott Garman 2011-01-27 11:32:44 UTC
This is now working with my series of commits leading up to this one:

http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=6d8fe5b33338da77a2b6a7ca5fa80957610655af