Bug 13057 – posix getopt variables in core/sys/posix/unistd.d should be marked __gshared

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-07-06T17:15:00Z
Last change time
2014-08-22T07:17:15Z
Keywords
pull
Assigned to
nobody
Creator
jason.brian.king

Comments

Comment #0 by jason.brian.king — 2014-07-06T17:15:37Z
Summary pretty much describes it -- if something tries to reference those, it'll generate a TLS object which will then break the linking (since those symbols are OBJT in libc).
Comment #1 by code — 2014-07-06T17:19:31Z
Comment #2 by github-bugzilla — 2014-07-07T06:33:06Z
Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/4e7be7226faef66d43e9e9777e9732867993c344 Fix Issue 13057 - posix getopt variables in core/sys/posix/unistd.d should be marked __gshared https://github.com/D-Programming-Language/druntime/commit/930e0ac7979750ea597a8cead0ee0b3e32584441 Merge pull request #869 from klickverbot/getopt-tls Fix Issue 13057 - posix getopt variables in core/sys/posix/unistd.d should be marked __gshared
Comment #3 by github-bugzilla — 2014-07-08T01:20:17Z
Commit pushed to 2.066 at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/fabeb3cf9fcad70c7385b0e9b205c4d8445a2582 Merge pull request #869 from klickverbot/getopt-tls Fix Issue 13057 - posix getopt variables in core/sys/posix/unistd.d should be marked __gshared
Comment #4 by github-bugzilla — 2014-08-22T07:17:15Z