www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13057] New: posix getopt variables in core/sys/posix/unistd.d

https://issues.dlang.org/show_bug.cgi?id=13057

          Issue ID: 13057
           Summary: posix getopt variables in core/sys/posix/unistd.d
                    should be marked __gshared
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: jason.brian.king gmail.com

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).

--
Jul 06 2014