D.gnu - [Issue 1747] New: math.hypot and conv.toReal & toString unittests failed on FreeBSD8
- d-bugmail puremagic.com (94/94) Dec 22 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1747
- d-bugmail puremagic.com (8/8) Dec 22 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1747
- d-bugmail puremagic.com (6/6) Apr 19 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1747
- d-bugmail puremagic.com (5/5) Apr 19 2008 http://d.puremagic.com/issues/show_bug.cgi?id=1747
http://d.puremagic.com/issues/show_bug.cgi?id=1747 Summary: math.hypot and conv.toReal & toString unittests failed on FreeBSD8 Product: DGCC aka GDC Version: 0.24 Platform: PC OS/Version: Other Status: NEW Severity: minor Priority: P2 Component: Phobos AssignedTo: dvdfrdmn users.sf.net ReportedBy: baryluk mpi.int.pl ... /usr/ports/lang/gdc/work/build/./gcc/gdc -B/usr/ports/lang/gdc/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd8.0/bin/ -B/usr/local/i386-portbld-freebsd8.0/lib/ -isystem /usr/local/i386-portbld-freebsd8.0/include -isystem /usr/local/i386-portbld-freebsd8.0/sys-include -o std/math.t.o -g -frelease -O2 -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_FreeBSD -fversion=GC_Use_Data_Fixed -nostdinc -pipe -fno-release -funittest -I ../.././../gcc-4.1-20071105/libphobos -I ../.././../gcc-4.1-20071105/libphobos/internal/gc -I ./i386-portbld-freebsd8.0 -c ../.././../gcc-4.1-20071105/libphobos/std/math.d .... gmake "AR_FLAGS=rc" "CC_FOR_BUILD=cc" "CC_FOR_TARGET=/usr/ports/lang/gdc/work/build/./gcc/xgcc -B/usr/ports/lang/gdc/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd8.0/bin/ -B/usr/local/i386-portbld-freebsd8.0/lib/ -isystem /usr/local/i386-portbld-freebsd8.0/include -isystem /usr/local/i386-portbld-freebsd8.0/sys-include" "CFLAGS=-O2 -O3 -fno-strict-aliasing -pipe -funroll-loops -ffast-math -march=pentium3 -march=pentium3 " "CXXFLAGS=-O3 -fno-strict-aliasing -pipe -funroll-loops -ffast-math -march=pentium3 -march=pentium3 " "CFLAGS_FOR_BUILD=-O3 -fno-strict-aliasing -pipe -funroll-loops -ffast-math -march=pentium3 -march=pentium3 " "CFLAGS_FOR_TARGET=-O2 -O3 -fno-strict-aliasing -pipe -funroll-loops -ffast-math -march=pentium3 -march=pentium3 " "INSTALL=/usr/bin/install -c -o root -g wheel" "INSTALL_DATA=install -o root -g wheel -m 444" "INSTALL_PROGRAM=install -s -o root -g wheel -m 555" "INSTALL_SCRIPT=install -o root -g wheel -m 555" "LDFLAGS=" "LIBCFLAGS=-O2 -O3 -fno-strict-aliasing -pipe -funroll-loops -ffast-math -march=pentium3 -march=pentium3 " "LIBCFLAGS_FOR_TARGET=-O2 -O3 -fno-strict-aliasing -pipe -funroll-loops -ffast-math -march=pentium3 -march=pentium3 " "MAKE=gmake" "MAKEINFO=makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr/local" "infodir=/usr/local/info/" "libdir=/usr/local/lib" "includedir=/usr/local/include" "prefix=/usr/local" "tooldir=/usr/local/i386-portbld-freebsd8.0" "gdc_include_dir=/usr/local/include/d/4.1.3" "AR=ar" "AS=/usr/ports/lang/gdc/work/build/./gcc/as" "LD=/usr/ports/lang/gdc/work/build/./gcc/collect-ld" "RANLIB=ranlib" "NM=/usr/ports/lang/gdc/work/build/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=" check-local gmake[3]: Entering directory `/usr/ports/lang/gdc/work/build/i386-portbld-freebsd8.0/libphobos' ./unittest hypot(0, 0) = 0, should be 0 hypot(0, 0) = 0, should be 0 hypot(3, 4) = 5, should be 5 hypot(-300, -400) = 500, should be 500 hypot(3.3621e-4932, 3.3621e-4932) = 0, should be 4.75473e-4932 hypot(5.94866e+4931, 5.94866e+4931) = inf, should be 8.41267e+4931 inf Error: AssertError Failure ../.././../gcc-4.1-20071105/libphobos/std/math.d(1060) ... 0.456000000000000000005637851297 toReal(".456") 0.456000000000000016431300764452 .456L Error: AssertError Failure ../.././../gcc-4.1-20071105/libphobos/std/conv.d(1069) 1.68105e-4932 toString(toReal(toString(real.min))) 3.3621e-4932 toString(real.min) Error: AssertError Failure ../.././../gcc-4.1-20071105/libphobos/std/conv.d(1077) ... gdc (GCC) 4.1.3 20071105 (prerelease (gdc 0.24, using dmd 1.020)) Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] FreeBSD neutrino.smp.if.uj.edu 8.0-CURRENT-200712 FreeBSD 8.0-CURRENT-200712 root almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i38 CPU: Pentium 3 Compile options: -O3 -fno-strict-aliasing -pipe -funroll-loops -ffast-math -march=pentium3 --
Dec 22 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1747 baryluk mpi.int.pl changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adolf.mathias googlemail.com Compiled aggainst gcc-4.1-20071105 (bsd port gdc-0.24_3). --
Dec 22 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1747 Created an attachment (id=247) --> (http://d.puremagic.com/issues/attachment.cgi?id=247&action=view) Test Case --
Apr 19 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1747 (From update of attachment 247) Please ignore this comment. --
Apr 19 2008