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:
http://d.puremagic.com/issues/show_bug.cgi?id=2001

           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:
http://d.puremagic.com/issues/show_bug.cgi?id=2001


Iain Buclaw <ibuclaw ubuntu.com> changed:

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



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