Unable to bootstrap gcc snapshot of 20001211 on Dynix/ptx
Robert Lipe
robertlipe@usa.net
Fri Dec 15 15:09:00 GMT 2000
Janis Johnson wrote:
> Lipe said. I can bootstrap the snapshot C compiler, but currently
> when I try the entire build it dies building libstdc++-v3. I've run
That's a depressingly common state.
> building C with the current snapshot, or share my information with
> Biswa if he's planning to create such a patch.
It'd be great for you two to cooperate on such a thing.
> > > --- ptx4.h.orig Fri Dec 15 16:56:46 2000
> > > +++ ptx4.h Fri Dec 15 16:57:32 2000
> > > @@ -27,6 +27,14 @@
> > > /* Define a symbol indicating that we are using svr4.h. */
> > > #define USING_SVR4_H
> > >
> > > +#ifndef NO_SYS_SIGLIST
> > > +#define NO_SYS_SIGLIST
> > > +#endif
> >
> > This shouldn't be necessary any more, as it's autoconf-detected now.
>
> I also needed to make this change; any hints on how to find out why
> autoconf isn't setting it up correctly?
On 2.95.2, you probably do have to do this. Look to see why configure
is seeing HAVE_SYS_SIGLIST in config.cache (esp in libibiberty) and yet
you're not getting a useful one.
What probably should be happening is that libiberty should see that you
DON'T have one (it's a BSD-ism and not part of any pertinent standard, I
think) and then it should build one for you in strsignal.o.
> > > +#ifdef HAVE_BCOPY
> > > +#undef HAVE_BCOPY
> > > +#endif
> > Why is this necessary?
>
> I didn't do this, and had no problems. There was a reference to old mail
> that said that bcopy() for DYNIX/ptx didn't handle overlapping memory,
Was this observed to be necessary, or was it just a wive't tale from that
message?
> Biswa mentioned recently that ASM_SPEC includes the option -no_0f_fix,
> which causes problems with the GNU assembler. That option is necessary
> when using the DYNIX/ptx assembler. Robert Lipe said that there's a way
> to specify the option only if the GNU assembler is not being used.
Have configure use a different .s file if it sees --with-gas that sets a
#define that you can then test inside ptx.h. Search for "USE_GAS" for
prior art.
RJL
More information about the Gcc
mailing list