digitalmars.D.bugs - [Issue 4439] New: The declaration of the in6addr_* in druntime is wrong.
- d-bugmail puremagic.com (34/34) Jul 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4439
- d-bugmail puremagic.com (11/11) Feb 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4439
- d-bugmail puremagic.com (12/12) Feb 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4439
http://d.puremagic.com/issues/show_bug.cgi?id=4439
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
AssignedTo: sean invisibleduck.org
ReportedBy: satoru.hosotani gmail.com
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
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
in6addr_loopback: TLS reference in prog.o mismatches non-TLS definition in
/lib32/libc.so.6 section .rodata
/lib32/libc.so.6: 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 08 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4439
Brad Roberts <braddr puremagic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|x86_64 |x86
---
Mass migration of bugs marked as x86-64 to just x86. The platform run on isn't
what's relevant, it's if the app is a 32 or 64 bit app.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4439
Brad Roberts <braddr puremagic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |braddr puremagic.com
Resolution| |FIXED
---
This was fixed back in Oct 2010 from the looks of it.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 06 2011









d-bugmail puremagic.com 