[ECOS] Linux Synth Target build failure under Linux 8

Leslie Mulder lesm@velocity.ca
Mon Feb 17 16:01:00 GMT 2003


At 03:07 PM 2/17/2003 +0000
> >>>>> "Gary" == Gary D Thomas <gary.thomas@mind.be> writes:
>
>     Gary> On Sat, 2003-02-15 at 16:38, Fred Woolsey wrote:
>     <snip>
>
>     >> getc(CYG_ADDRESS (*)[9999])' defined both normally and as an alias
>     >> make[1]: Leaving directory
>     >> `/home/Fred/ecos_build/language/c/libc/stdio/current'
>     >> make[1]: *** [src/input/fgetc.o.d] Error 1
>     >> make: Leaving directory `/home/Fred/ecos_build'
>     >> make: *** [build] Error 2
>     >>
>     >> Additional system info:
>     >>
>     >> gcc version: 3.2
>     >> Linux version: 8.0
>     >> Configtool version: 2.11
>     >> CPU: i686
>
>     Gary> IIRC, the way to solve this is to get either a newer
>     Gary> (3.2.2+) or older (pre 3.0) GCC.
>
>That should be 3.2.1+, not 3.2.2+. But yes, vanilla gcc 3.2 as shipped
>with RH8.0 is known to be broken for use with eCos. You can either
>build gcc 3.2.1 from source (or probably 3.2.2, but I have not yet
>tested that specific version), or you can revert to an earlier
>compiler such as the 2.96 (Red Hat) shipped with RH7.3.
>
>Bart

The GCC bug noted above (c++/6531: attribute error) and its fix are 
discussed at:

  http://gcc.gnu.org/ml/gcc-prs/2002-05/msg00009.html

We have upgraded to GCC 3.2.2, which already has the 6531 patch 
applied.  The ecos synthetic linux target now builds past the errors noted 
above.




/---------------------------------------------------------------------------------/

Leslie J. Mulder
Velocity Software Systems Ltd.
438 North Springer Ave.
Burnaby, B.C.
Canada V5B 1H4

Tel (604) 291-8183 Fax (604) 291-8443

/---------------------------------------------------------------------------------/



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



More information about the Ecos-discuss mailing list