This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SH target toolchain building problem with GCC-4.1 snapshot.


On Friday 17 Jun 2005 2:01 pm, Nitin Shah wrote:
> Hi,
> While building toolchain for target sh-elf with the following sources,
> 1. gcc-4.1-20050611 snapshot.
> 2. binutils-050611 snapshot.
> 3. newlib-1.12.0.
>
> I am getting error as mentioned below at the stage of newlib building.
>
> Kindly suggest how to remove this error.
>
> *************************** Error Text starts
> *****************************************
> make[7]: Entering directory
> `/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/ml/newlib/libc/ctype'
> sh-elf-gcc
> -B/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/ml/newlib/ -isystem
> /home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/ml/newlib/targ-include
> -isystem /home/nitins2/src/newlib-1.12.0/newlib/libc/include  -ml
> -DPACKAGE=\"newlib\" -DVERSION=\"1.12.0\"  -I.
> -I/home/nitins2/src/newlib-1.12.0/newlib/libc/ctype  -O2
> -DHAVE_GETTIMEOFDAY -fno-builtin    -O2 -O2  -O2 -O2  -ml -c
> /home/nitins2/src/newlib-1.12.0/newlib/libc/ctype/ctype_.c
> /home/nitins2/src/newlib-1.12.0/newlib/libc/ctype/ctype_.c:92: internal
> compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make[7]: *** [ctype_.o] Error 1
> make[7]: Leaving directory
> `/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/ml/newlib/libc/ctype'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory
> `/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/ml/newlib/libc'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
> `/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/ml/newlib'
> make[4]: *** [all-recursive-am] Error 2
> make[4]: Leaving directory
> `/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/ml/newlib'
> make[3]: *** [multi-do] Error 1
> make[3]: Leaving directory
> `/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/newlib'
> make[2]: *** [all-multi] Error 2
> make[2]: Leaving directory
> `/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/newlib'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory
> `/home/nitins2/build/sh_build/sh-elf/newlib/sh-elf/newlib'
> make: *** [all-target-newlib] Error 2
>
> ********************* Error Text Ends
> *******************************************

this is a gcc ICE, i would recomend reporting this to the gcc mailing list.

IIRC i saw this ICE in a (couple of weeks old) snapshot of gcc 4.1 also, i 
belive it was fixed. So i would suggesting fetching from cvs.

may i further suggest that using gcc 4.1 snapshots at this stage in the 
development cycle is a bad idea as its quite unstable.

regards
---
Matthew J Fletcher
Embedded Software
Serck Controls Ltd
---
**********************************************************************
Serck Controls Ltd, Rowley Drive, Coventry, CV3 4FH, UK
Tel: +44 (0) 24 7630 5050   Fax: +44 (0) 24 7630 2437
Web: www.serck-controls.com  Admin: post@serck-controls.co.uk
A subsidiary of Serck Controls Pty. Ltd. Reg. in England No. 4353634
**********************************************************************
This email and files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the above. Any views or opinions presented are those of the author
and do not necessarily represent those of Serck Controls Ltd.


This message has been checked by MessageLabs
******************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]