bootstrap failure on alloca-less hosts
Zack Weinberg
zack@wolery.cumb.org
Tue Feb 8 23:18:00 GMT 2000
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
More information about the Gcc-bugs
mailing list