www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 2001] New: multiple definition of _D6object13__va_list_tag6__initZ on X86-64


           Summary: multiple definition of _D6object13__va_list_tag6__initZ
                    on X86-64
           Product: DGCC aka GDC
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: fawzi gmx.ch

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

Apr 16 2008