Summary: The declaration of the in6addr_* in druntime is wrong.
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime

--- Comment #0 from satoru_h <> 2010-07-08 15:52:06 
PDT ---
The following code cannot be compiled.

--- prog.d

import std.c.linux.socket;

void main()
    auto a = in6addr_loopback.s6_addr;


And compilation message is below.

$ dmd prog.d

in6addr_loopback: TLS reference in prog.o mismatches non-TLS definition in
/lib32/ section .rodata
/lib32/ could not read symbols: Bad value
collect2: ld returned 1 exit status
--- errorlevel 1

core.sys.posix.netinet.in_.in6addr_* should be declared as shared.
But it is not declared so.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to