https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81142
--- Comment #14 from Harald Welte ---
Hi Tomas, thanks a lot for your suggested workaround.
Indeed -mtls-dialect=gnu2 seems to be working also in our case.
-fPIE as suggested earlier is not an option as the __thread variables are used
in a sh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81142
--- Comment #13 from Harald Welte ---
Created attachment 46657
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46657&action=edit
the reproducer created by osmocom
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81142
--- Comment #11 from Harald Welte ---
more than two years later, we can reproduce and observe this bug in a variety
of ARM32 platforms, including raspbian 9 (with any gcc version shipped there,
up to 6.3.x) and rapsbian 10 (up to gcc 6.5, but not