This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15491] ICE (Internal compiler error) while compiling glibc to vax-linux target
- From: "jbglaw at lug-owl dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2004 06:53:33 -0000
- Subject: [Bug target/15491] ICE (Internal compiler error) while compiling glibc to vax-linux target
- References: <20040517103549.15491.gabucino@mplayerhq.hu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jbglaw at lug-owl dot de 2004-06-30 06:53 -------
Subject: Re: ICE (Internal compiler error) while compiling glibc to vax-linux target
On Wed, 2004-06-30 02:36:05 -0000, danglin at gcc dot gnu dot org <gcc-bugzilla@gcc.gnu.org>
wrote in message <20040630023605.3485.qmail@sourceware.org>:
> if gcc -DHAVE_CONFIG_H -I. -I../../gcc/libcpp -I. -I../../gcc/libcpp/../include
> -I../../gcc/libcpp -I../../gcc/libcpp/include -DLOCALEDIR="\"/usr/local/gcc/gcc
> -3.5.0/share/locale\"" -g -O2 -MT files.o -MD -MP -MF ".deps/files.Tpo" -c -o
> files.o ../../gcc/libcpp/files.c; \
> then mv -f ".deps/files.Tpo" ".deps/files.Po"; else rm -f ".deps/files.Tpo"; exi
> t 1; fi
> ../../gcc/libcpp/files.c: In function `read_file_guts':
> ../../gcc/libcpp/files.c:503: error: `ssize_t' undeclared (first use in this fun
> ction)
> ../../gcc/libcpp/files.c:503: error: (Each undeclared identifier is reported onl
> y once
> ../../gcc/libcpp/files.c:503: error: for each function it appears in.)
> ../../gcc/libcpp/files.c:503: error: parse error before "size"
> ../../gcc/libcpp/files.c:524: error: parse error before numeric constant
> ../../gcc/libcpp/files.c:524: error: parse error before numeric constant
> ../../gcc/libcpp/files.c:524: error: parse error before numeric constant
> ...
My build is still compiling, however, if you care enough, please go to
http://cvs.sourceforge.net/viewcvs.py/linux-vax/toolchain/experimental_toolchain/
and download the current version of experimental_toolchain.sh .
Then:
$ mkdir ~/some_temp_dir
$ cd ~/some_temp_dir
$ mkdir temp_for_build install
$ ..../experimental_toolahcin.sh --prepare --install --jbglaw ./temp_for_build/ ./install/
At least on my Linux system, that'll produce a vax-linux toolchain
(binutils + C-only gcc) and break somewhere in glibc some time later
(this is where I'm currently fixing:)
Oh, please read the comments inside the script; they'll provide some
important information (eg. you need to have some CVS pserver sources in
your ~/.cvspass).
MfG, JBG
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15491