https://bugs.kde.org/show_bug.cgi?id=375514

--- Comment #3 from Petar Jovanovic <mips3...@gmail.com> ---
(In reply to Philippe Waroquiers from comment #2)
> IIUC, on mips, the test hgtls fails to properly show the static thread
> variable:
> static __thread int local;
> 
> I do not understand why we need this code on mips
> but e.g. not on other platforms such as x86, amd64 or ppc.
> Any idea ? If yes, it would be good to document why mips is special.
> 

Actually, I believe we will need this code on other architectures too.
IIUC, this issue may be more apparent with 2.22+ glibc and is dependent
on used TLS model. Aleksandar has marked platform dependent calculation
in the patch that needs to be done per arch.
I can see that gdbserver_tests/hgtls is failing for other architectures
too, maybe someone can test if this patch will help (and make necessary
changes in the aforementioned calculations).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to