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: Sun, 27 Jan 2013 15:31:41 +0100

> At this point, had to make a number of symlinks/copies into

> /usr/include of header files from:

>

> /usr/include/arm-linux-gnueabihf/ to /usr/include

 

These shouldn't be necessary. Can you try without the symlink and the mob branch?

^^^^

 

Hi, I just tested mod on my RPi and I still need symlinks, please also notice the 2 warnings:

 

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

Cloning into 'tinycc'...

remote: Counting objects: 4762, done.

remote: Compressing objects: 100% (1496/1496), done.

remote: Total 4762 (delta 3225), reused 4749 (delta 3218)

Receiving objects: 100% (4762/4762), 2.21 MiB | 986 KiB/s, done.

Resolving deltas: 100% (3225/3225), done.

 

$ cd tinycc/

$ ./configure; make

 

Creating config.mak and config.h

gcc -o tcc.o -c tcc.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI  -DTCC_ARM_VFP -I. -I/home/jullien/tinycc -Wall -g -O2 -fno-st                                        rict-aliasing -Wno-pointer-sign -Wno-sign-compare

gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI  -DTCC_ARM_VFP -I. -I/home/jullien/tinycc -Wall -g -O2 -                                        fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare

gcc -o tccpp.o -c tccpp.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI  -DTCC_ARM_VFP -I. -I/home/jullien/tinycc -Wall -g -O2 -fn                                        o-strict-aliasing -Wno-pointer-sign -Wno-sign-compare

tccpp.c: In function ‘macro_subst’:

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

gcc -o tccgen.o -c tccgen.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI  -DTCC_ARM_VFP -I. -I/home/jullien/tinycc -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare

gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI  -DTCC_ARM_VFP -I. -I/home/jullien/tinycc -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare

tccelf.c:1314:12: warning: ‘tcc_add_support’ defined but not used [-Wunused-function]

gcc -o tccasm.o -c tccasm.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI  -DTCC_ARM_VFP -I. -I/home/jullien/tinycc -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare

gcc -o tccrun.o -c tccrun.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI  -DTCC_ARM_VFP -I. -I/home/jullien/tinycc -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare

gcc -o arm-gen.o -c arm-gen.c -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI  -DTCC_ARM_VFP -I. -I/home/jullien/tinycc -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare

ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o arm-gen.o

gcc -o tcc tcc.o libtcc.a -lm -ldl -I. -I/home/jullien/tinycc -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare

/home/jullien/tinycc/texi2pod.pl tcc-doc.texi tcc.pod

pod2man --section=1 --center=" " --release=" " tcc.pod > tcc.1

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...

In file included from 00_assignment.c:1:

In file included from /usr/include/stdio.h:28:

/usr/include/features.h:323: error: include file 'bits/predefs.h' not found

make[1]: *** [00_assignment.test] Error 1

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

make: *** [test] Error 2


reply via email to

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