21.05 toolchain C tls variables compilation problem

Alexander Tormasov a.tormasov at innopolis.ru
Thu Jun 10 19:29:49 CEST 2021


found this change is the 10.3 libgo code vs 8.3:
-static __thread G *g;
+__thread G *g __asm__(GOSYM_PREFIX "runtime.g");

so, this appears only recently and the bug is older than I think before

> 10 июня 2021 г., в 20:21, Alexander Tormasov via users <users at lists.genode.org> написал(а):
> 
> Hi Christian,
> 
>> 
>> I tried to compile your test program with the 19.05 Genode tool chain and got the same error. Does it happen only with gcc 10.3 for you?
> 
> hm, this is the code from gccgo libgo version 10.3
> for older related to 19.5 (gcc 8.3) may be the code do not contain it, need to check more carefully…
> 
> will try to check later today
> 
> Sincerely,
> 	Alexander
> _______________________________________________
> Genode users mailing list
> users at lists.genode.org
> https://lists.genode.org/listinfo/users



More information about the users mailing list