OSSP CVS Repository

ossp - Ticket #193
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [History

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!

[Add remarks]

Remarks:

Properties:

Type: code           Version: 1.6.2 
Status: new          Created: 2013-May-23 23:04
Severity:          Last Change: 2013-May-23 23:04
Priority:          Subsystem: uuid 
Assigned To: rse           Derived From:  
Creator: anonymous 

CVSTrac 2.0.1