Subject: Re: Compiling netbsd-2-0-2-RELEASE and netbsd-2-0
To: Bartek Krawczyk <bkrawczyk@op.pl>
From: Liam J. Foy <liamfoy@sepulcrum.org>
List: netbsd-users
Date: 06/10/2005 15:09:52
On Fri(10)/Jun/05 - , Bartek Krawczyk wrote:
> I tried to compile netbsd-2-0-2-RELEASE from source and I get similar
> error like with netbsd-2-0:
> 
> #   compile  libgroff/fatal.o
> /usr/tools-current/bin/powerpc--netbsd-c++ -mcpu=7450 -mtune=7450
> -maltivec -mabi=altivec -O2 -pipe -DHAVE_CONFIG_H
> -I/usr/src/gnu/dist/groff/src/include
> -I/usr/src/gnu/usr.bin/groff/src/include -Werror -fno-rtti
> -fno-exceptions  -nostdinc++ -isystem-cxx
> /usr/NetBSD-current/usr/include/g++    -nostdinc -isystem
> /usr/NetBSD-current/usr/include -c
> /usr/src/gnu/dist/groff/src/libs/libgroff/fatal.cpp -o fatal.o.tmp
> /usr/src/gnu/dist/groff/src/libs/libgroff/fatal.cpp:28: internal
> compiler error: Segmentation
>    fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
> 
> *** Failed target:  fatal.o
> *** Failed command: /usr/tools-current/bin/powerpc--netbsd-c++
> -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -O2 -pipe -DHAVE_CONFIG_H
> -I/usr/src/gnu/dist/groff/src/include
> -I/usr/src/gnu/usr.bin/groff/src/include -Werror -fno-rtti
> -fno-exceptions -nostdinc++ -isystem-cxx
> /usr/NetBSD-current/usr/include/g++ -nostdinc -isystem
> /usr/NetBSD-current/usr/include -c
> /usr/src/gnu/dist/groff/src/libs/libgroff/fatal.cpp -o fatal.o.tmp
> *** Error code 1
> 
> Stop.
> 
> 
> Any suggestions? I tried to recompile tools but it hasn't brought any
> effect. Has anyone managed to build NetBSD (and which version) from
> source on macppc?
> -- 
> Bartek Krawczyk
> GG: 2094683
> JID: bkrawczyk@jabberpl.org

Looks like a memory problem to me. I had similar problems. My solution was to
replace the bad memory.
 
-- 
		- Liam J. Foy
		liamfoy@sepulcrum.org