This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bootstrap failure on alloca-less hosts


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]