[Top][All Lists]

[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: Thu, 6 Jun 2013 06:37:39 +0200

Hi all,

Is someone working on this issue?

Raspberry Pi is still broken (tested with last night commit)
ret_double_test... success
ret_longdouble_test... success
ret_2float_test... Segmentation fault


-----Original Message-----
From: Christian Jullien [mailto:address@hidden 
Sent: mercredi 1 mai 2013 17:27
To: 'address@hidden'
Subject: RE: [Tinycc-devel] Recent changes segfault on Linux ARM

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_MULTIARCHDIR="\"arm-linux-gnueabihf\"" -DTCC_TARGET_ARM
../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


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


Tinycc-devel mailing list

reply via email to

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