Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /usr/obj/gnu/lib/libiberty/libiberty.a: could not read symbols: Bad value



On Fri, Oct 17, 2008 at 02:28:07PM -0400, Christos Zoulas wrote:
> 
> Well we could have:
> 
> libfoo.a      non pic
> libfoo_pic.a  pic
> libfoo_p.a    non pic profiling
> libfoo_pic_p.a        pic profiling
> libfoo_g.a    non pic debugging
> libfoo_pic_g.a        pic debuging

Right now, to profile, you have to link static.  But by default, we
link dynamic.  This means that profiles are distorted for the case
where something actually really has different performance characteristics
if compiled PIC.

Given that, I think the simplest thing to do (which also won't bloat up
the comp set) is to just always build the _p library PIC.

Thor


Home | Main Index | Thread Index | Old Index