VAX Ultrix bootstrap failure: Cannot allocate 4072 bytes

John David Anglin dave@hiauly1.hia.nrc.ca
Thu May 18 11:19:00 GMT 2000


> stage1/xgcc -Bstage1/ -B/usr/local/vax-dec-ultrix4.3/bin/ -c  -DIN_GCC    -W -Wall -Wtraditional -pedantic -Wwrite-strings -g -O2 -W -Wall  -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/config -I../../gcc/../include ../../gcc/stmt.c
> 
> Cannot allocate 4072 bytes

Here is a patch to libiberty/xmalloc.c for review and installation.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


2000-05-18  J. David Anglin  <dave@hiauly1.hia.nrc.ca>

	* xmalloc.c: Include config.h for HAVE_SBRK definition.

--- libiberty/xmalloc.c.orig	Sat Oct  2 21:55:59 1999
+++ libiberty/xmalloc.c	Thu May 18 13:18:17 2000
@@ -17,6 +17,9 @@
 not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 #include "ansidecl.h"
 #include "libiberty.h"
 


More information about the Gcc-bugs mailing list