Subject: toolchain/35082: Internal compiler error while building "mjpegtools" package
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <tron@zhadum.org.uk>
List: netbsd-bugs
Date: 11/20/2006 09:00:01
>Number:         35082
>Category:       toolchain
>Synopsis:       Internal compiler error while building "mjpegtools" package
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 20 09:00:01 +0000 2006
>Originator:     tron@zhadum.org.uk
>Release:        NetBSD 4.99.4 2006-11-19 current sources
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD lyssa.zhadum.org.uk 4.99.4 NetBSD 4.99.4 (LYSSA) #0: Sun Nov 19 17:13:58 GMT 2006 tron@lyssa.zhadum.org.uk:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
GCC 4.1.2 crashes while building the "mjpegtools" package:

MotionSearcher.hh:2444: internal compiler error: in tsubst, at cp/pt.c:7220
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
gmake[2]: *** [newdenoise.o] Error 1
gmake[2]: Leaving directory `/src/NetBSD-current/pkgsrc/multimedia/mjpegtools/work.lyssa/mjpegtools-1.8.0/y4mdenoise'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/src/NetBSD-current/pkgsrc/multimedia/mjpegtools/work.lyssa/mjpegtools-1.8.0'
gmake: *** [all] Error 2
*** Error code 2

I'm using the compiler distributed with NetBSD-current:

tron@lyssa:~>gcc --version
gcc (GCC) 4.1.2 20061021 prerelease (NetBSD nb1 20061021)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Disabling optimization doesn't help.

>How-To-Repeat:
cd pkgsrc/multimedia/mjpegtools
make

>Fix:
Not known.