tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] [PATCH] tccelf.c: Fix the Linux-i386 build


From: Austin English
Subject: Re: [Tinycc-devel] [PATCH] tccelf.c: Fix the Linux-i386 build
Date: Tue, 4 Feb 2014 09:52:16 -0800

Still fails, different values though:
address@hidden ~/src/tinycc $ make test
make -C tests test 'PROGS_CROSS=i386-linux-gnu-tcc i386-w64-mingw32-tcc x86_64-w64-mingw32-tcc arm-linux-fpa-tcc arm-linux-fpa-ld-tcc arm-linux-gnu-tcc arm-linux-gnueabi-tcc c67-tcc'
make[1]: Entering directory '/home/austin/src/tinycc/tests'
------------ hello-exe ------------
../tcc -B.. -I.. -I.. -I../include ../examples/ex1.c -o hello || (../tcc -vv; exit 1) && ./hello
Hello World
------------ hello-run ------------
../tcc -B.. -I.. -I.. -I../include -run ../examples/ex1.c
Hello World
------------ libtest ------------
./libtcc_test lib_path=..
Hello World!
fib(32) = 2178309
add(32, 64) = 96
------------ test3 ------------
../tcc -B.. -I.. -I.. -I../include -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE -run ../tcc.c -B.. -I.. -I.. -I../include -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE -run ../tcc.c -B.. -I.. -I.. -I../include -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -DONE_SOURCE -run ../tcc.c -B.. -I.. -I.. -I../include -run tcctest.c > test.out3
--- test.ref    2014-02-03 16:08:40.010395893 -0800
+++ test.out3    2014-02-04 09:51:37.703333323 -0800
@@ -346,7 +346,7 @@
 itof: -1234.000000
 lltof: -2334.000000
 utof: 2166572288.000000
-ulltof: 18446744073709551616.000000
+ulltof: 4503599627370496.000000
 float: 42.123455
 double: 42.123455
 long double: 42.123455
@@ -385,7 +385,7 @@
 itof: -1234.000000
 lltof: -2334.000000
 utof: 2166572288.000000
-ulltof: 18446744073709549568.000000
+ulltof: 8386273.000000
 float: 42.123455
 double: 42.123457
 long double: 42.123457
@@ -424,7 +424,7 @@
 itof: -1234.000000
 lltof: -2334.000000
 utof: 2166572288.000000
-ulltof: 18446744073709549282.000000
+ulltof: 1761.000000
 float: 42.123455
 double: 42.123457
 long double: 42.123457
Makefile:125: recipe for target 'test3' failed
make[1]: *** [test3] Error 1
make[1]: Leaving directory '/home/austin/src/tinycc/tests'
Makefile:350: recipe for target 'test' failed
make: *** [test] Error 2



On Tue, Feb 4, 2014 at 6:34 AM, Thomas Preud'homme <address@hidden> wrote:
Le mardi 4 février 2014, 22:31:07 Thomas Preud'homme a écrit :
>
> Can you try with the attached patch applied?

Sorry, bad copy paste. Please try this patch instead.

best regards,

thomas



--
-Austin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]