[Aboriginal] Fun with TLS [was requires approval]
dahalls at gmail.com
Tue Nov 4 01:21:32 PST 2014
So the problem I have now is that GCC spins when compiling anything (inside
On 3 November 2014 22:40, David Halls <dahalls at gmail.com> wrote:
> Doing this in nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S:
>> + .hidden __fork_generation
>> .comm __fork_generation, 4, 4
>> fixes the compile problem - have to hide __fork_generation in the
>> assembly, like the C declaration does.
>> (I have yet to test the TLS stuff in the image.)
> I no longer get the TLS warning on x86_64. FYI this I what I did:
> Applied the patch above (added .hidden __fork_generation).
> Add these lines to sources/baseconfig-uClibc:
> (I needed SSP to compile Perl).
> Remove this line from sources/targets/x86_64:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Aboriginal