Ticket 193: libossp-uuid should not use install -s; cross-compilation issue
It's more challenging than one would like to cross-compile libossp-uuid. This is in part because it uses 'install -s' in its makefile. This whitepaper has some information about why this is a problem: ยคhttps://www.kernel.org/doc/ols/2004/ols2004v2-pages-163-174.pdf‎
In a nutshell, the strip binary doesn't work when it encounters a file from a different architecture. So when 'install' invokes '/usr/bin/strip' it gets the wrong version of strip when cross-compiling. A cleaner solution is to define STRIP in the makefile and invoke it directly. That way, a cross-compile environment can just override $STRIP.
Thanks!
Remarks:
Properties:
Type: |
code |
|
Version: |
1.6.2 |
Status: |
new |
|
Created: |
2013-May-23 23:04 |
Severity: |
4 |
|
Last Change: |
2013-May-23 23:04 |
Priority: |
3 |
|
Subsystem: |
uuid |
Assigned To: |
rse |
|
Derived From: |
|
Creator: |
anonymous |