[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] RE :Re: mksh fails to build with bound check
From: |
Christian Jullien |
Subject: |
Re: [Tinycc-devel] RE :Re: mksh fails to build with bound check |
Date: |
Tue, 21 Jan 2014 21:14:31 +0100 |
Previously, at least on Sun Jan 19 07:05:25 CET 2014, I had no error at the
same test point:
43
str: __builtin_frame_address
-bfa1: $
+bfa1: __builtin_frame_address
+bfa2: __builtin_frame_address
+bfa3: __builtin_frame_address
18/21=0
18%21=18
41/21=1
gcc -o abitest-cc abitest.c ../libtcc.a -I.. -Wall -g -O2 -fno-strict-aliasing
-Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -DCONFIG_LDDIR="\"lib\""
-DCONFIG_MULTIARCHDIR="\"arm-linux-gnueabihf\"" -DTCC_TARGET_ARM -DTCC_ARM_EABI
-DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -lm -ldl -I..
-----Original Message-----
From: grischka [mailto:address@hidden
Sent: mardi 21 janvier 2014 15:04
To: Christian JULLIEN; address@hidden
Cc: Kirill Smelkov
Subject: Re: [Tinycc-devel] RE :Re: mksh fails to build with bound check
I guess these errors aren't new, just "make test" didn't stop previously. I'll
leave it to others to decide whether this should still be ignored (e.g.
changing lines @diff to address@hidden).
"make -k test" should run all tests anyway.
--- grischka
Christian JULLIEN wrote:
> Hi,
> This commit raises this error on RPi
>
> aaa=3
> @@ -556,7 +556,7 @@
> __builtin_types_compatible_p(int *, int *) = 1
> __builtin_types_compatible_p(int *, void *) = 0
> __builtin_types_compatible_p(int *, const int *) = 0
> -__builtin_types_compatible_p(char *, unsigned char *) = 0
> +__builtin_types_compatible_p(char *, unsigned char *) = 1
> __builtin_types_compatible_p(char * *, void *) = 0 res = 1 res = 1
> @@ -579,7 +579,9 @@
> weak_asm_v3=0
> 43
> str: __builtin_frame_address
> -bfa1: $
> +bfa1: __builtin_frame_address
> +bfa2: __builtin_frame_address
> +bfa3: __builtin_frame_address
> 18/21=0
> 18!=18
> 41/21=1
> make[1]: *** [test3] Error 1
>
> I also get this warning:
> In file included from ../libtcc.c:41:
> ./tccrun.c:245: warning: implicit declaration of function '__clear_cache'
>
>
> ----- Message d'origine -----
> De : "grischka" <address@hidden> Date mar. 21/01/2014 13:41 (GMT
> +01:00) À : "Kirill Smelkov" <address@hidden> Cc :
> "address@hidden" <address@hidden> Objet : Re:
> [Tinycc-devel] mksh fails to build with bound check
>
> Kirill Smelkov wrote:
> > P.S. Grishka, I think the tests "cleanup" you've done in >
> d5f4df09 "tests: cleanup", where you removed test1b,test2b and test3b
> > tests is not right - gaining `tcc -b` being able to compile
> itself was > hard, and tests were there to assure it will stay that
> working way > without regressions.
>
> Ok, I've put them back:
> http://repo.or.cz/w/tinycc.git/commitdiff/32a4962593d6a2006cdd72548012
> 4717e7f5377d
>
> --- grischka
>
> >
> > Kirill
> >