https://issues.dlang.org/show_bug.cgi?id=14313
Issue ID: 14313 Summary: [ld.gold] gdb: wrong value of shared variables Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: m...@krej.cz GDB prints wrong value of shared or __gshared variables on Linux x86_64 with ld.gold linker. __gshared uint globvar1 = 4020000000; __gshared ushort globvar2 = 65000; void main() { globvar1++; globvar2 += 5; return; } (gdb) p goldbug.globvar1 $1 = 4020000001 (gdb) p goldbug.globvar2 $2 = 21761 Fix will follow shortly. --