tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Segmentation Faults and test failures on ARM (Raspbia


From: Christian Jullien
Subject: Re: [Tinycc-devel] Segmentation Faults and test failures on ARM (Raspbian/Raspberry Pi)
Date: Wed, 30 Jan 2013 06:31:12 +0100

Hi all,

The only very minor issue I had is that, by default, GNU time is not installed on RPi this prevents test/speedtest to work.

After installing GNU time, all works ROOTB (only got one warning in tccpp.c and another with texi2html)

 

$ git clone -b mob git://repo.or.cz/tinycc.git

$ ./configure; make

tccpp.c: In function ‘macro_subst’:

tccpp.c:2803:12: warning: ‘*((void *)&cval+4)’ is used uninitialized in this function [-Wuninitialized]

texi2html -monolithic -number tcc-doc.texi

** No node following `devel' in menu, but `Concept Index' follows in sectionning

makeinfo tcc-doc.texi

$ make test

make -C tests2 test

make[1]: Entering directory `/home/jullien/tinycc/tests2'

Test: 00_assignment...

Test: 01_comment...

Test: 02_printf...

time ../tcc -B.. -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DCONFIG_MULTIARCHDIR=\"arm-linux-gnueabihf\" -DTCC_ARM_VFP -run /home/jullien/tinycc/examples/ex3.c 35

fib(35) = 9227465

0.86user 0.01system 0:00.92elapsed 94%CPU (0avgtext+0avgdata 944maxresident)k

0inputs+0outputs (0major+293minor)pagefaults 0swaps

make[1]: Leaving directory `/home/jullien/tinycc/tests'

 

Good job!!

 

Christian

 

From: Jerry Reed [mailto:address@hidden
Sent: mardi 29 janvier 2013 22:52
To: Thomas Preud'homme
Cc: Christian Jullien; address@hidden
Subject: Re: [Tinycc-devel] Segmentation Faults and test failures on ARM (Raspbian/Raspberry Pi)

 

Hi:

It will be tomorrow EST before I  can give it a try, but I will do so.

Again, thanks for all the hard work.  Raspberry Pi ran make test 3,000+ times, no Segmentation faults last night.

Jerry

On Tue, Jan 29, 2013 at 12:17 PM, Thomas Preud'homme <address@hidden> wrote:

Le mardi 29 janvier 2013 06:41:24, Christian Jullien a écrit :
>
>
>
> Only issue is the need to add to test2/Makefile (other solution is to add
> symlinks in /usr/include)
>
>
>
> ifneq (,$(wildcard /usr/include/arm-linux-gnueabihf))
>
>     TCCFLAGS+=-I/usr/include/arm-linux-gnueabihf
>
> endif

Should be fine now. Can Jerry and you try the fix I've just pushed in mob?

Best regards,

Thomas Preud'homme




--
Interested in bats?  Check out my blog at: http://www.karaokebats.com/


reply via email to

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