www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Issue 2079] New: Phobos unit tests fail assertion on std/std/string.d

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2079

           Summary: Phobos unit tests fail assertion on std/std/string.d
           Product: DGCC aka GDC
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: dvdfrdmn users.sf.net
        ReportedBy: aronnax umd.edu


I ran the command:

$ make check-target-libphobos

Building from Subversion with gcc 4.1.2 on Mac OS X 10.5.2, the Phobos unit
tests fail with the following error message:

Error: AssertError Failure ../.././libphobos/std/string.d(222) 

See attached log of the build.


-- 
May 07 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2079





------- Comment #1 from aronnax umd.edu  2008-05-07 22:38 -------
Created an attachment (id=255)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=255&action=view)
Output from make command


-- 
May 07 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2079





------- Comment #2 from aronnax umd.edu  2008-05-08 04:24 -------
You just have to add d/clone.dmd.o to D_DMD_OBJS on line 169 of
Make-lang.in, and that fixes the problem.
Here's a patch:

Index: Make-lang.in
===================================================================
--- Make-lang.in        (revision 219)
+++ Make-lang.in        (working copy)
   -167,7 +167,7   
        cp $(D_DRIVER_NAME)$(exeext) $(D_DRIVER_NAME)-cross$(exeext)

 D_DMD_OBJS = \
-    d/access.dmd.o d/array.dmd.o d/attrib.dmd.o d/cast.dmd.o
d/class.dmd.o d/cond.dmd.o d/constfold.dmd.o d/dchar.dmd.o
d/declaration.dmd.o d/delegatize.dmd.o d/doc.dmd.o \
+    d/access.dmd.o d/array.dmd.o d/attrib.dmd.o d/cast.dmd.o
d/class.dmd.o d/clone.dmd.o d/cond.dmd.o d/constfold.dmd.o d/dchar.dmd.o
d/declaration.dmd.o d/delegatize.dmd.o d/doc.dmd.o \
     d/dsymbol.dmd.o d/dump.dmd.o d/entity.dmd.o d/enum.dmd.o
d/expression.dmd.o d/func.dmd.o d/gnuc.dmd.o d/hdrgen.dmd.o d/html.dmd.o
d/identifier.dmd.o d/import.dmd.o \
     d/init.dmd.o d/inline.dmd.o d/interpret.dmd.o d/lexer.dmd.o
d/lstring.dmd.o d/macro.dmd.o d/mangle.dmd.o d/mars.dmd.o d/mem.dmd.o
d/mtype.dmd.o d/module.dmd.o d/opover.dmd.o d/optimize.dmd.o d/parse.dmd.o
\
     d/root.dmd.o d/scope.dmd.o d/statement.dmd.o d/staticassert.dmd.o
d/stringtable.dmd.o d/struct.dmd.o d/template.dmd.o  \


-- 
May 08 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2079


Iain Buclaw <ibuclaw ubuntu.com> changed:

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


--- Comment #3 from Iain Buclaw <ibuclaw ubuntu.com> 2010-08-13 05:09:27 PDT ---
Just looking, d/clone.dmd.o is already added to the Make-lang.in objects.

Closing

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 13 2010