tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Recent changes segfault on Linux ARM


From: Christian Jullien
Subject: Re: [Tinycc-devel] Recent changes segfault on Linux ARM
Date: Wed, 1 May 2013 17:26:44 +0200

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: address@hidden
[mailto:address@hidden On Behalf Of
Daniel Glöckner
Sent: mercredi 1 mai 2013 17:23
To: address@hidden
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




reply via email to

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