This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the EGCS project.
Re: Trying to build egcs-1.1.2 on dynix/sequent platform...
- To: gcc@gcc.gnu.org
- Subject: Re: Trying to build egcs-1.1.2 on dynix/sequent platform...
- From: Mark Crosland <mjc@c1000907-b.sttls1.wa.home.com>
- Date: Wed, 4 Aug 1999 19:41:07 -0700 (PDT)
I added "#define NO_SYS_SIGLIST 1" to auto-host.h and things went much
further. stage1 completed, and then late(?) in the stage2 build, after it
re-configures a bunch of stuff, it tries to build libio again and things
get a little squirly. The compiler can't seem to resolve functions that
are being used in the class that they are defined in. e.g.,
class A {
int B();
int C() { B(); }
};
will result in the compiler stopping with an error in function C(),
claiming that class A does not contain a function called B(). I tried some
serious flailing at the code, just to see if this was a small hicup
(replacing the offending calls with the (small) functions they call),
but the next file died the same death.
The following is the last bit of the make output, maybe someone will say,
"oh yeah, i remember this..." (or maybe not :)
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/ioftell.c -o pic/ioftell.o
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/ioftell.c
test x"no" != xyes ||\
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/iovsscanf.c -o pic/iovsscanf.o
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/iovsscanf.c
test x"no" != xyes ||\
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/iovsprintf.c -o pic/iovsprintf.o
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/iovsprintf.c
test x"no" != xyes ||\
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/ioprims.c -o pic/ioprims.o
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/ioprims.c
test x"no" != xyes ||\
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/iostrerror.c -o pic/iostrerror.o
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/iostrerror.c
test x"no" != xyes ||\
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/cleanup.c -o pic/cleanup.o
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/cleanup.c
test x"no" != xyes ||\
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/stdfiles.c -o pic/stdfiles.o
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -O -I. -I../../../libio ../../../libio/stdfiles.c
rm -rf libio.a
ar cr libio.a filedoalloc.o floatconv.o genops.o fileops.o iovfprintf.o iovfscanf.o ioignore.o iopadn.o iofgetpos.o iofread.o iofscanf.o iofsetpos.o iogetdelim.o iogetline.o ioprintf.o ioseekoff.o ioseekpos.o outfloat.o strops.o iofclose.o iopopen.o ioungetc.o peekc.o iogetc.o ioputc.o iofeof.o ioferror.o iofdopen.o iofflush.o iofgets.o iofopen.o iofprintf.o iofputs.o iofwrite.o iogets.o ioperror.o ioputs.o ioscanf.o iosetbuffer.o iosetvbuf.o iosprintf.o iosscanf.o ioftell.o iovsscanf.o iovsprintf.o ioprims.o iostrerror.o cleanup.o stdfiles.o
true libio.a
test x"no" != xyes || \
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -g -O2 -fno-implicit-templates -I. -I../../../libio -nostdinc++ ../../../libio/builtinbuf.cc -o pic/builtinbuf.o
/users/markc/sw/gcc/gcc-2.95/objdir/gcc/xgcc -B/users/markc/sw/gcc/gcc-2.95/objdir/gcc/ -B/users/markc/sw/gcc/i386-sequent-sysv4/bin/ -c -g -O2 -fno-implicit-templates -I. -I../../../libio -nostdinc++ ../../../libio/builtinbuf.cc
In file included from ../../../libio/builtinbuf.h:32,
from ../../../libio/builtinbuf.cc:29:
../../../libio/streambuf.h: In method `void ios::clear(int = 0)':
../../../libio/streambuf.h:212: `class ios' has no member named `_throw_failure'
../../../libio/streambuf.h: In method `void ios::set(int)':
../../../libio/streambuf.h:214: `class ios' has no member named `_throw_failure'
../../../libio/streambuf.h: In method `void ios::setstate(int)':
../../../libio/streambuf.h:216: `class ios' has no member named `_throw_failure'
../../../libio/streambuf.h: In method `ios::operator void *() const':
../../../libio/streambuf.h:222: `class ios' has no member named `fail'
../../../libio/streambuf.h: In method `int ios::operator !() const':
../../../libio/streambuf.h:223: `class ios' has no member named `fail'
../../../libio/streambuf.h: In method `void ios::exceptions(int)':
../../../libio/streambuf.h:227: `class ios' has no member named `_throw_failure'
../../../libio/streambuf.h: In method `class streambuf * ios::rdbuf(streambuf *)':
../../../libio/streambuf.h:231: `class ios' has no member named `clear'
make[2]: *** [builtinbuf.o] Error 1
make[2]: Leaving directory `/users/markc/sw/gcc/gcc-2.95/objdir/i386-sequent-sysv4/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/users/markc/sw/gcc/gcc-2.95/objdir'
make: *** [bootstrap-lean] Error 2
Clues?
Thanks,
Mark Crosland
On Wed, 4 Aug 1999, Jeffrey A Law wrote:
> In message <Pine.LNX.4.10.9908041011460.21613-100000@c1000907-b.sttls1.wa.hom
> e.com>you write:
> >
> > Hello, I am trying to build egcs-1.1.2 on a dynix/sequent platform.
> > uname -a
> > DYNIX/ptx engdevq1 4.0 V4.4.2 i386
> Nobody's had success with a dynix/sequent system that I'm aware of. You'll
> have to do some debugging/fixing yourself. We would greatly appreciate it
> if you could forward any fixes to the gcc-patches list.
>
> Apparently dynix's handling of sys_siglist is different from most other
> systems, which may require you to define SYS_SIGLIST_DECLARED or NO_SYS_SIGLIST
> to change the compiler's strategy for handling the signal list variable.
>
>
> jeff
>