RFE: archk detect non-PIC code
Bug #1326495 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
In Progress
|
Wishlist
|
Unassigned | ||
Mandriva |
In Progress
|
Wishlist
|
Bug Description
On AMD64, builds of shared objects against archives will fail unless the
archives are built properly. On other platforms it works, although it's
considered a bad idea. archk should be able to detect this situation and report
on it:
gcc -o ./libfontconfig
fcatomic.o fcblanks.o fccache.o fccfg.o fccharset.o fcdbg.o fcdefault.o fcdir.o
fcfreetype.o fcfs.o fcinit.o fclang.o fclist.o fcmatch.o fcmatrix.o fcname.o
fcpat.o fcstr.o fcxml.o -L../../exports/lib -lfreetype -lexpat -lc
/usr/bin/ld: ../../exports/
can not be used when making a shared object; recompile with -fPIC
Changed in lsb: | |
status: | New → In Progress |
importance: | Undecided → Critical |
milestone: | none → 5.0 |
Changed in mandriva: | |
importance: | Unknown → Wishlist |
status: | Unknown → In Progress |
Changed in lsb: | |
importance: | Critical → Medium |
importance: | Medium → Wishlist |
To post a comment you must log in.