(no subject)

From: Robert Anderson <rea.a.t.q.sr.unh.edu>
Date: Mon Jul 14 2003 - 22:37:39 EDT

Who should be told that the following RPM seems damaged?

  ftp://ftp.trolltech.com/qtopia/source/redhat9/qtopia-free-1.6.2-1.i386.rpm

I believe that somebody stripped them using the i386 strip instead of
the arm-linux-strip.

[root@trillian lib]# file /opt/Qtopia/sharp/lib/libqpe.so.1.5.2
/opt/Qtopia/sharp/lib/libqpe.so.1.5.2: ELF 32-bit LSB shared object, no machine, version 1 (SYSV), stripped

# --------------------------------------------------

Here's an example that shows how it can occur, first one useing
arm-linux-strip the next one using the i386 strip. The results are
exactly what is in the above RPM which is not usable for cross
compiling.

# --------------------------------------------------

[root@trillian lib]# file /tmp/libjpeg.so.62.0.0.armstrip
/tmp/libjpeg.so.62.0.0.armstrip: ELF 32-bit LSB shared object, ARM, version 1 (ARM), not stripped
[root@trillian lib]# /usr/local/arm/2.95.3/bin/arm-linux-strip /tmp/libjpeg.so.62.0.0.armstrip
[root@trillian lib]# file /tmp/libjpeg.so.62.0.0.armstrip
/tmp/libjpeg.so.62.0.0.armstrip: ELF 32-bit LSB shared object, ARM, version 1 (ARM), stripped

[root@trillian lib]# file /tmp/libjpeg.so.62.0.0
/tmp/libjpeg.so.62.0.0: ELF 32-bit LSB shared object, ARM, version 1 (ARM), not stripped
[root@trillian lib]# strip /tmp/libjpeg.so.62.0.0
strip: Warning: Output file cannot represent architecture UNKNOWN!
[root@trillian lib]# file /tmp/libjpeg.so.62.0.0
/tmp/libjpeg.so.62.0.0: ELF 32-bit LSB shared object, no machine, version 1 (SYSV), stripped
[root@trillian lib]#

--------------------------------------------------------------
 Robert E. Anderson email: rea@sr.unh.edu
 Systems Programmer phone: (603) 862-3489
 UNH Research Computing Center fax: (603) 862-1761
--------------------------------------------------------------
Received on Tue Jul 15 02:38:05 2003

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:50:27 EDT