This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap failure on alloca-less hosts
- To: Robert Lipe <robertlipe at usa dot net>
- Subject: Re: bootstrap failure on alloca-less hosts
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Tue, 8 Feb 2000 23:18:01 -0800
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <20000209004204.M20800@rjlhome.sco.com>
On Wed, Feb 09, 2000 at 12:42:04AM -0600, Robert Lipe wrote:
> This native compiler has no intrinsic alloca. (Actually, it does but
> autoconf doesn't know how to find it so most users won't bother to tell
> it.)
>
> Removing the alloca construct and replacing it with
> ../libiberty/libiberty.a allows this hurdle to be crossed, but I have
> a feeling this is wrong for some cross case or something.
gen-protos doesn't need either obstack.o or alloca.o. In fact, I
don't think it needs the HOST_LIBS at all. Try taking $(HOST_LIBS)
off the link line and $(HOST_LIBDEPS) off the dependency line.
If that doesn't work, stick a copy of xmalloc next to the copy of
xrealloc at the bottom of gen-protos.c.
zw