Subject: Re: "virtual memory exausted" building netbsd-1-6 for sparc on alpha
To: Martin Husemann <martin@duskware.de>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: tech-toolchain
Date: 11/08/2003 19:46:07
On 2003.11.08 02:20 Martin Husemann wrote:

> > Out of my experience it is allways a bad idea building across the
> > LP32 - LP64 boundary. This triggers all sorts of funky compiler bugs
> > in GCC. GCC 2.95 and GCC 3.3.
> This is not my experience for gcc 3.3.x. It seems to handle all
> combinations pretty well now.
Source cvs updated 2003/11/03.
$ uname -rsm        NetBSD 1.6 alpha
$ hppa--netbsd-gcc --version
hppa--netbsd-gcc (GCC) 3.3.2 (NetBSD nb1 20031026)

/usr/src/src-current/tooldir/bin/hppa--netbsd-gcc      -ffreestanding  
-mpa-risc-1-1 -msoft-float -mdisable-fpregs -mno-space-regs 
-mfast-indirect-calls -mportable-runtime -Werror -Wall -Wno-main 
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
-Wstrict-prototypes -Wno-sign-compare  -Dhppa -Dhp700 -I.  
-I/usr/src/src-current/src/sys/arch -I/usr/src/src-current/src/sys 
-nostdinc -DFPEMUL -DLKM -DGSCVERBOSE -DMAXUSERS=32 -D_KERNEL 
-D_KERNEL_OPT   -c /usr/src/src-current/src/sys/netinet6/nd6.c
/usr/src/src-current/src/sys/netinet6/nd6.c: In function `nd6_setmtu0':
/usr/src/src-current/src/sys/netinet6/nd6.c:230: error: unrecognizable 
insn:
(insn 34 33 35 6 0x1609297b8 (set (reg:DI 97)
         (plus:DI (reg:DI 103)
             (const_int -5056 [0xffffffffffffec40]))) -1 (nil)
     (expr_list:REG_DEAD (reg:DI 103)
         (nil)))
/usr/src/src-current/src/sys/netinet6/nd6.c:230: internal compiler 
error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
-- 



tschüß,
           Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz