This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: _dl_profile_fixup & libc_p


On Thu, Mar 20, 2008 at 02:30:58PM -0500, Ryan S. Arnold wrote:
> On Thu, 2008-03-20 at 15:16 -0400, Daniel Jacobowitz wrote:
> > On Thu, Mar 20, 2008 at 01:44:49PM -0500, Ryan S. Arnold wrote:
> > > Don't static link and try linking against libc_p again.
> > 
> > No, that will work even worse.  There is no dynamic libc_p; if you do
> > not use -static, you will get a static libc_p.a and a dynamic libc.so,
> > which conflict.
> 
> Daniel,
> 
> So basically trying to link against libc_p.a when you've got code that's
> using 'nss' isn't going to work since it pulls in a loader?

That really ought to work; it might just require not building
_dl_fixup with profiling, if that crashes (but I wasn't clear from
following along why that happened).

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]