Subject: toolchain/35148: gcc: internal compiler error in mjpegtools-1.8.0nb5
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Thomas Klausner <wiz@NetBSD.org>
List: netbsd-bugs
Date: 11/28/2006 17:15:01
>Number:         35148
>Category:       toolchain
>Synopsis:       gcc: internal compiler error in mjpegtools-1.8.0nb5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 28 17:15:00 +0000 2006
>Originator:     Thomas Klausner
>Release:        NetBSD 4.99.4
>Organization:
>Environment:
	
	
System: NetBSD hiro 4.99.4 NetBSD 4.99.4 (HIRO64) #2: Fri Nov 17 22:04:57 CET 2006 wiz@hiro:/disk/wd1a/archive/cvs/src/sys/arch/amd64/compile/obj.amd64/HIRO64 amd64
Architecture: x86_64
Machine: amd64
>Description:
Compiling mjpegtools-1.8.0nb5 from pkgsrc causes an internal compiler error:
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/pkg/include -I../utils  -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include -DNDEBUG -finline-functions -fno-PIC -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include  -pthread   -MT newdenoise.o -MD -MP -MF ".deps/newdenoise.Tpo" -c -o newdenoise.o newdenoise.cc; \
        then mv -f ".deps/newdenoise.Tpo" ".deps/newdenoise.Po"; else rm -f ".deps/newdenoise.Tpo"; exit 1; fi
MotionSearcher.hh: In instantiation of 'MotionSearcher<unsigned char, 1, int, short int, int, 4, 2, short unsigned int, Pixel<unsigned char, 1, int>, ReferencePixel<short unsigned int, unsigned char, 1, Pixel<unsigned char, 1, int> >, ReferenceFrame<ReferencePixel<short unsigned int, unsigned char, 1, Pixel<unsigned char, 1, int> >, short int, int> >::MatchThrottleFloodFillControl':
MotionSearcher.hh:507:   instantiated from 'MotionSearcher<unsigned char, 1, int, short int, int, 4, 2, short unsigned int, Pixel<unsigned char, 1, int>, ReferencePixel<short unsigned int, unsigned char, 1, Pixel<unsigned char, 1, int> >, ReferenceFrame<ReferencePixel<short unsigned int, unsigned char, 1, Pixel<unsigned char, 1, int> >, short int, int> >'
newdenoise.cc:32:   instantiated from here
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.

gcc --version:
gcc (GCC) 4.1.2 20061021 prerelease (NetBSD nb1 20061021)
>How-To-Repeat:
Get an amd64.
cd /usr/pkgsrc/multimedia/mjpegtools
make
>Fix:
No clue.

>Unformatted: