Subject: port-evbmips/32980: Au1500 cannot build pkgsrc pkgtools/digest
To: None <port-evbmips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <gdamore@netbsd.org>
List: netbsd-bugs
Date: 03/03/2006 17:45:00
>Number:         32980
>Category:       port-evbmips
>Synopsis:       Au1500 cannot build pkgsrc pkgtools/digest
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-evbmips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 03 17:45:00 +0000 2006
>Originator:     Garrett D'Amore
>Release:        3.99.15
>Organization:
Tadpole Computer, Inc.
>Environment:
name -garrett@meteor{1}> uname -a
NetBSD meteor 3.99.15 NetBSD 3.99.15 (METEOR) #29: Thu Mar  2 14:40:16 PST 2006  garrett@zippy:/home/garrett/netbsd/src/sys/arch/evbmips/compile/obj/METEOR evbmips


>Description:
When trying to build pkgsrc/pkgtools/digest, cc1 typically segfaults trying to build SHA2.  It doesn't happen every time, and it does not seem to occur on the au1550, only on the au1500.  Several people have seen this problem.

Intersting information: this problem occurs with 3.0_STABLE.  It does *not* occur with some internal version of gcc at wasabi.  We do not know what changes wasabi made to make this work.

Cross-compiling for the au1500 (which is what most folks would probably do anyway, the au1500 is kinda slow relative to modern PCs) doesn't have this problem.

We've not seen any other specific problems that seem related, but it is hard to know.
>How-To-Repeat:
*on an au1500*:

cd pkgsrc/tools/digest
cp -pr files files.test
cd files.test
./configure && make


>Fix: