This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Error: .size expression for __restore_rt does not evaluate to a constant
- From: Tom Schouten <tom at zwizwa dot be>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Wed, 01 Jun 2011 15:15:04 +0200
- Subject: [ECOS] Error: .size expression for __restore_rt does not evaluate to a constant
Hello list,
Recently I ran into the following problem building the synthetic target:
The error is in the file
packages/hal/synth/i386linux/v3_0_9/src/syscall-i386-linux-1.0.S
make -r -C hal/synth/i386linux/v3_0_9 build
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
This is with:
$ gcc --version
gcc (Debian 4.4.5-8) 4.4.5
It works without problems (on another Debian machine) with
$ gcc --version
gcc (Debian 4.3.2-1.1) 4.3.2
It doesn't seem that I'm the only one running into this:
http://stackoverflow.com/questions/6183972/problem-building-ecos-for-linux-synthetic-target
Any ideas?
Cheers,
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