[ECOS] Error: .size expression for __restore_rt does not evaluate to a constant

Tom Schouten tom@zwizwa.be
Fri Jun 3 12:29:00 GMT 2011


On 06/01/2011 08:24 PM, Ross Younger wrote:
> On 01/06/11 14:15, Tom Schouten wrote:
>> make[1]: Entering directory
>> `/home/tom/ecos/src/build_synthetic/hal/synth/i386linux/v3_0_9'
>> ...
>> /tmp/ccCMyb7H.s: Assembler messages:
>> /tmp/ccCMyb7H.s: Error: .size expression for __restore_rt does not
>> evaluate to a constant
>> /tmp/ccCMyb7H.s: Error: .size expression for __restore does not evaluate
>> to a constant
>
> I had a quick play with the trunk of the public hg tree, and while 
> _something_ needs to be fixed for latest gcc, but I don't see your 
> exact error. (I note in passing that your repository path suggests you 
> are using eCosPro 3.0.9. You won't be able to get support for that 
> here - I suggest you approach eCosCentric.)
Thanks Ross,
I encounter the same problem with current CVS eCos.

The problem seems to be related to a change in binutils indeed, not GCC.
Downgrading from 2.21.51.20110523-1 to 2.20.1-16 (Debian versions) makes 
the problem disappear.

Tom


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list