Re: Question: Does uclibc support NPTL TLS ?
Carmelo Amoroso <[email protected]> Fri, 29 May 2015 05:47:09 +0200
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <[email protected]> |
Hello On 29 May 2015 04:30:46 Junling Zheng <[email protected]> wrote: > On 2015/5/29 10:08, Rich Felker wrote: > > On Fri, May 29, 2015 at 09:58:31AM +0800, Junling Zheng wrote: > >> On 2015/5/29 3:27, Bernhard Reutner-Fischer wrote: > >>> On 28 May 2015 at 04:00, Khem Raj <[email protected]> wrote: > >>> > >>>> Seems like gdb is not able to comprehend the TLS structure that uclibc > is putting. So you need to investigate > >>>> that part, either gdb or libthread-db may be where the issue lies. > >>> > >>> OE essentially produces broken libs for the uClibc package due to > >>> --strip-unneeded. > >>> I have tweaked my split_and_strip_files() but as a quick-fix you might > >>> want to enable DOSTRIP in the uClibc .config and add > >> > >> I guess you mean *disable* DOSTRIP, not *enable* DOSTRIP, right?:) > > > > Probably not. I think the idea is that uclubc's internal stripping > > does it right, but OE's breaks it. You could disable both, but then > > you'd have lots of debug bloat in the output, so turning on uclibc's > > in place of OE's is a good workaround. > > > > I could be wrong though; in that case Bernhard will probably jump in > > to correct me. :-) > > > > Rich > > > > > It sounds so, and we'll try both of disabling and enabling DOSTRIP. > I had similar problem when I was stripping uclibc from a SPEC file. DOSTRIP instead does the right thing otherwise you will remove some local symbol used by > Thanks for your pointers:-) > > Cheers, > > Junling > > _______________________________________________ > uClibc mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/uclibc Sent with AquaMail for Android http://www.aqua-mail.com