This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compilation of libio failing on linux/libc6
- To: egcs at cygnus dot com
- Subject: Re: compilation of libio failing on linux/libc6
- From: jhpb at sarto dot gaithersburg dot md dot us (Joseph H. Buehler)
- Date: 27 Jan 1998 00:31:12 -0500
- References: <87pvleq1rj.fsf@mharnois.workgroup.net>
Michael Harnois <mharnois@sbt.net> writes:
> With the latest cvs tree of egcs, libc-980125, and linux-2.1.81, libio
> compilation in egcs is failing for me at
>
> test -z "" || \
> /usr/src/egcs/gcc/xgcc -B/usr/src/egcs/gcc/ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO builtinbuf.cc -o pic/builtinbuf.o
> /usr/src/egcs/gcc/xgcc -B/usr/src/egcs/gcc/ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO builtinbuf.cc
> In file included from libio.h:30,
> from streambuf.h:36,
> from builtinbuf.h:32,
> from builtinbuf.cc:29:
> _G_config.h:43: syntax error before `;'
> make: *** [builtinbuf.o] Error 1
>
> Line 43 in _G_config.h is
>
> typedef __sigset_t _G_sigset_t;
>
> and I can't find any other reference to _G_sigset_t anywhere else in
> egcs, or for that matter anywhere else on my harddrive.
>
> egcs was configured with --host=i586-pc-linux-gnu --with-gnu-ld
> --with-gnu-as --enable-haifa --enable-threads --prefix=/usr, a
> combination that usually works for me.
>
> No doubt this is somehow due to my stupidity, but if someone could
> figure out just how, I would be grateful.
I just did a cvs update and recompiled and got the same error. I am
using fewer options than you are for configure:
cd build &&
../configure --prefix=/usr/local/egcs &&
make CFLAGS= bootstrap
I'm on a redhat 5.0 intel system.
Joe Buehler