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

Re: Default value for CFLAGS/LDFLAGS set by dpkg



On Mon, Mar 31, 2008 at 06:57:48PM +0200, Kurt Roeckx wrote:
> On Mon, Mar 31, 2008 at 05:34:05PM +0200, Loïc Minier wrote:
> >  (moving to debian-devel as requested by Kurt)

> > On Fri, Mar 28, 2008, Steve Langasek wrote:
> > > However, as Thiemo notes, this does break the expectation that LD_PRELOAD
> > > will be allowed to intercept symbols; so this is definitely a behavior
> > > change with some possibly subtle consequences.

> >  I just wondered: is it possible to reverse/disable the effects of
> >  -Bsymbolic-functions if LD_PRELOAD is set?  Or is it too late already
> >  and some information was definitely lost?

> If it does the same thing as -Bsymbolic, but only for functions, it
> resolved all the relocations already and can only call functions
> internally in the library.

> I also have to wonder that if we have something like this as default,
> why -Bsymbolic-functions would be a good default, and not -Bsymbolic.

I'm told the difference is that the former is safe to use as an option when
linking executables, and the latter is not.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org


Reply to: