[dmd-internals] The Phobos unit tests fail to build

Don Clugston dclugston at googlemail.com
Fri Dec 16 00:28:26 PST 2011


Yet it's OK on the autotester. Have you done a clean build of dmd? I
don't know what it's like on other systems, but the Windows DMD
makefile is horribly broken -- it has so many missing dependencies
that I always do "make clean" before EVERY build. When I don't do
that, I often get strange ICE bugs in the glue layer.

On 16 December 2011 09:17, Jacob Carlborg <doob at me.com> wrote:
> I'm trying to run the Phobos unit tests on Mac OS X but they fail to build.
> The error message I get is:
>
> Warning: AutoImplement!(C_6) ignored variadic arguments to the constructor
> C_6(...)
> std/conv.d(2812): Error: function std.conv.parse!(string[int],string).parse
> compiler error, parameter 's', bugzilla 2962?
> Assertion failed: (0), function toObjFile, file glue.c, line 709.
> Abort trap
>
> The command I use to build the tests is:
>
> ./dmd/src/dmd -O -nofloat -w -d -property -unittest unittest.d crc32.d
> std/algorithm.d std/array.d std/ascii.d std/base64.d std/bigint.d
> std/bitmanip.d std/compiler.d std/complex.d std/concurrency.d
> std/container.d std/contracts.d std/conv.d std/cpuid.d std/cstream.d
> std/ctype.d std/date.d std/datetime.d std/datebase.d std/dateparse.d
> std/demangle.d std/encoding.d std/exception.d std/file.d std/format.d
> std/functional.d std/getopt.d std/gregorian.d std/json.d std/loader.d
> std/math.d std/mathspecial.d std/md5.d std/metastrings.d std/mmfile.d
> std/numeric.d std/outbuffer.d std/parallelism.d std/path.d std/perf.d
> std/process.d std/random.d std/range.d std/regexd std/regexp.d std/signals.d
> std/socket.d std/socketstream.d std/stdint.d std/stdio.d std/stdiobase.d
> std/stream.d std/string.d std/syserror.d std/system.d std/traits.d
> std/typecons.d std/typetuple.d std/uni.d std/uri.d std/utf.d std/variant.d
> std/xml.d std/zip.d std/zlib.d std/c/linux/linux.d std/c/linux/socket.d
> etc/c/curl.d etc/c/zlib.d std/c/fenv.d std/c/locale.d std/c/math.d
> std/c/process.d std/c/stdarg.d std/c/stddef.d std/c/stdio.d std/c/stdlib.d
> std/c/string.d std/c/time.d std/c/wcharh.d std/internal/math/biguintcore.d
> std/internal/math/biguintnoasm.d std/internal/math/biguintx86.d
> std/internal/math/gammafunction.d std/internal/math/errorfunction.d
> std/internal/processinit.d std/internal/uni.d std/internal/uni_tab.d
> std/net/isemail.d generated/osx/release/32/etc/c/zlib/adler32.o
> generated/osx/release/32/etc/c/zlib/compress.o
> generated/osx/release/32/etc/c/zlib/crc32.o
> generated/osx/release/32/etc/c/zlib/deflate.o
> generated/osx/release/32/etc/c/zlib/gzclose.o
> generated/osx/release/32/etc/c/zlib/gzlib.o
> generated/osx/release/32/etc/c/zlib/gzread.o
> generated/osx/release/32/etc/c/zlib/gzwrite.o
> generated/osx/release/32/etc/c/zlib/infback.o
> generated/osx/release/32/etc/c/zlib/inffast.o
> generated/osx/release/32/etc/c/zlib/inflate.o
> generated/osx/release/32/etc/c/zlib/inftrees.o
> generated/osx/release/32/etc/c/zlib/trees.o
> generated/osx/release/32/etc/c/zlib/uncompr.o
> generated/osx/release/32/etc/c/zlib/zutil.o ../druntime/lib/libdruntime.a
> -I../druntime/import
>
>
> /Jacob Carlborg
>
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals


More information about the dmd-internals mailing list