www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:

           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
parent d-bugmail puremagic.com writes:

Iain Buclaw <ibuclaw ubuntu.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Iain Buclaw <ibuclaw ubuntu.com> 2012-07-06 05:21:35 PDT ---
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.

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 06 2012