global variables within library __thread

Mike Frysinger vapier@gentoo.org
Mon Oct 19 20:35:00 GMT 2015


On 19 Oct 2015 20:01, Joël Krähemann wrote:
> Hi Manfred

please do not top post

> What you suggested is what I had first but gcc 4.9 complains with:
> 
> /usr/bin/ld: ags_thread_self: TLS definition in
> /home/minos/gsequencer/.libs/libags_thread.so section .tbss mismatches
> non-TLS reference in .libs/gsequencerS.o
> /home/minos/gsequencer/.libs/libags_thread.so: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status
> Makefile:1963: recipe for target 'gsequencer' failed
> make[1]: *** [gsequencer] Error 1
> make[1]: Leaving directory '/home/minos/gsequencer'
> Makefile:1806: recipe for target 'all' failed
> make: *** [all] Error 2

your vague references to source code we cannot see aren't helping.  afaict,
your code is broken, and we've told you how to fix it, but you (for whatever
reason) aren't doing it.  please post the code somewhere for us to check, or
seek assistence elsewhere.  this isn't really a glibc question at all, so maybe
someone on a site like StackOverflow would be more willing to invest time in
trying to help you.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-help/attachments/20151019/2332a9f5/attachment.sig>


More information about the Libc-help mailing list