|
From: | Christian Jullien |
Subject: | Re: [Tinycc-devel] Segmentation Faults and test failures on ARM (Raspbian/Raspberry Pi) |
Date: | Tue, 29 Jan 2013 06:41:24 +0100 |
I confirm it also works when boostraped with gcc 4.7.2 on my fully up to date RPi $ uname -a Linux *** 3.6.11+ #362 PREEMPT Tue Jan 22 14:52:21 GMT 2013 armv6l GNU/Linux $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.7/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libitm --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5+rpi1) 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 $ make Test: 00_assignment... Test: 01_comment... Test: 02_printf... Test: 03_struct... Test: 04_for... Test: 05_array... Test: 06_case... Test: 07_function... Test: 08_while... Test: 09_do_while... Test: 10_pointer... Test: 11_precedence... Test: 12_hashdefine... Test: 13_integer_literals... Test: 14_if... Test: 15_recursion... Test: 16_nesting... Test: 17_enum... Test: 18_include... Test: 19_pointer_arithmetic... Test: 20_pointer_comparison... Test: 21_char_array... Test: 22_floating_point... --- 22_floating_point.expect 2013-01-27 15:22:31.338791069 +0100 +++ 22_floating_point.output 2013-01-29 06:35:56.252253633 +0100 @@ -13,4 +13,4 @@ 12.340000 -12.340000 2.000000 -0.909297 +0.000000 Test: 23_type_coercion... Test: 24_math_library... --- 24_math_library.expect 2013-01-27 15:22:31.348790914 +0100 +++ 24_math_library.output 2013-01-29 06:35:56.492250008 +0100 @@ -1,18 +1,18 @@ -0.119712 -0.992809 -0.120579 -0.120290 -1.450506 -0.119429 -0.120288 -1.007209 -0.119427 -1.127497 0.120000 --2.120264 --0.920819 -0.775357 -0.346410 +3.416443 +0.000000 +0.120000 +0.120000 +0.000000 +0.120000 +0.120000 +-0.240000 +3.213791 +-0.120000 +-nan +-nan +3.222519 +0.250000 12.000000 13.000000 12.000000 Test: 25_quicksort... Test: 26_character_constants... Test: 27_sizeof... Test: 28_strings... Test: 29_array_address... Test: 31_args... Test: 32_led... Test: 33_ternary_op... Test: 35_sizeof... Test: 36_array_initialisers... Test: 37_sprintf... Test: 38_multiple_array_index... Test: 39_typedef... Test: 40_stdio... Test: 41_hashif... Test: 42_function_pointer... Test: 43_void_param... Test: 44_scoped_declarations... Test: 45_empty_for... Test: 47_switch_return... Test: 48_nested_break... Test: 49_bracket_evaluation... Test: 50_logical_second_arg... Test: 51_static... Test: 52_unnamed_enum... Test: 54_goto... Test: 55_lshift_type... From: address@hidden [mailto:address@hidden On Behalf Of Jerry Reed Hi Thomas: On Mon, Jan 28, 2013 at 5:00 PM, Thomas Preud'homme <address@hidden> wrote: Thomas Preud'homme <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |