Question about "shlib-with-non-pic-code", possibly caused by assembler code?

Orion Poplawski orion at cora.nwra.com
Wed May 24 18:00:17 UTC 2006


I'm look at the pari submission 
<https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169703>.  We get 
the following rpmlint warning:

E: pari shlib-with-non-pic-code /usr/lib/libpari.so.2.1.7

This appears to be because of the following line from objdump:

# objdump --headers --private-headers /usr/lib/libpari.so.2.1.7 | grep 
TEXTREL
   TEXTREL     0x0

which rpmlint looks for.  Other .so's with this:

   TEXTREL     0x0
/usr/lib/libGL.so
   TEXTREL     0x0
/usr/lib/libGLU.so
   TEXTREL     0x0
/usr/lib/libj3dcore-ogl.so
   TEXTREL     0x0
/usr/lib/libj3dutils.so
   TEXTREL     0x0
/usr/lib/libmpeg-0.3.0.so
   TEXTREL     0x0
/usr/lib/libmpeg.so


The C code is compiled with -fPIC, but there is one piece of assembly 
and I it might be caused by that.  Anyone out there know for sure?  If 
so, what needs to get done?


SRPM is here http://www.cora.nwra.com/~orion/fedora/pari-2.1.7-4.src.rpm

-- 
Orion Poplawski
System Administrator                   303-415-9701 x222
Colorado Research Associates/NWRA      FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301   http://www.co-ra.com




More information about the fedora-extras-list mailing list