Bug 2001 – multiple definition of _D6object13__va_list_tag6__initZ on X86-64

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2008-04-16T09:13:00Z
Last change time
2015-06-09T05:15:02Z
Assigned to
ibuclaw
Creator
fawzi

Comments

Comment #0 by fawzi — 2008-04-16T09:13:32Z
On X86 64 libgphobos has multiple definitions of _D6object13__va_list_tag6__initZ both from builtins.o and object.o . I think that this is connected with the fact that va_list is an array on X86-64, a thing by the way that makes it impossible to have functions with (inout va_list and ref va_list). Also tango has this problem ( http://www.dsource.org/projects/tango/ticket/875 ) and a workaround there is to simply avoid the inclusion of builtins.o
Comment #1 by ibuclaw — 2012-07-06T05:21:35Z
From the bug report linked in: """" gcc/builtins.d was never supposed to be compiled or linked to begin with. No idea how that snuck in. """" Marking this report as invalid.