I simply do a ./configure

Here are the lines I get

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/arm-linux-gnueabihf\""
-DCONFIG_MULTIARCHDIR="\"arm-linux-gnueabihf\"" -DTCC_TARGET_ARM
-DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -lm -ldl
-I..
../tcc -B.. -I.. -I.. -I../include -o abitest-tcc abitest.c ../libtcc.a -I..
-Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare
-Wno-unused-result -DCONFIG_LDDIR="\"lib/arm-linux-gnueabihf\""
-DCONFIG_MULTIARCHDIR="\"arm-linux-gnueabihf\"" -DTCC_TARGET_ARM
-DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -lm -ldl
-I..

C.

-----Original Message-----
From: tinycc-devel-bounces+eligis=orange...@nongnu.org
[mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of
Daniel Glöckner
Sent: mercredi 1 mai 2013 17:23
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] Recent changes segfault on Linux ARM

Hi Christian,

On Wed, May 01, 2013 at 04:44:09PM +0200, Christian Jullien wrote:
> ARM hardfloat: fix struct return with float/double args
> 
> Fixes the case where the structure is not returned in registers.
> 
> I thought it was related to ret_2float_test
> 
> At least on Rpi I still have:
> 
> ret_2float_test... Segmentation fault

well, it should still crash if you compile abitest.c with GCC, as the first
of the two issues is not resolved. With TinyCC it should work though,
judging from visual inspection of the disassembly.

Which hardfp environment do you use for the Rpi?

Best regards,

  Daniel

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to