Subject: Re: Building NetBSD on macppc.
To: Bartek Krawczyk <bkrawczyk@op.pl>
From: dixie <dixieml@imap.cc>
List: port-macppc
Date: 06/12/2005 11:26:33
Bartek Krawczyk wrote:

>Has anyone managed to do that? I was trying to build -current for the
>past week (kernel crashed into ddb) and this week I've been trying to
>compile netbsd-2-0 and netbsd-2-0-2-RELEASE and I got Segmentation Fault
>when building userland.
>This is my checkout command: cvs checkout -rnetbsd-2-0-2-RELEASE -P src
>I had tried to do the same with -rnetbsd-2-0 but it also ended with a
>segfault:
>
>#   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.
>(...)
>
>I'm pretty sure my RAM is fine because I had had Gentoo before I
>installed Debian, so I did a lot of compiling - no problems there.
>I've tried to build the userland two more times today and now instead of
>getting segfaults it crashes with this error:
>
>  
>
Sometimes I get the same error building third part software but it was 
told to me that's a compiler problem and that re-starting the build 
process whitout cleaning "solves" the problem. (usually it works but I 
don't have any clue about it)

>Any ideas? Did anyone build any release of NetBSD on macppc and which
>exactly?
>
>  
>
I've built -current 3.99.5 kernel and userland last week, all went fine.

best regards