Subject: pkg/34886: devel/liboil causes gcc internal error (gcc 3.3.3)
To: None <,,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 10/23/2006 13:30:03
>Number:         34886
>Category:       pkg
>Synopsis:       devel/liboil causes gcc internal error (gcc 3.3.3)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 23 13:30:03 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (Usning NetBSD 3.0 (release) and pkgsrc current as of a few hours ago)
	Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
Architecture: i386
Machine: i386
	Attempting to build devel/liboil using pkg_comp with libkver
	(and NetBSD 3.0 release sets (and sources) installed) results
	in a gcc internal error, along with an instruction to send-pr...
	(i386 of cours - if that wasn't obvious from the data abovee).

	For me, configuring pkg_comp to build with libkver and NetBSD 3.0
	release sets, followed by
		pkg_comp build devel/liboil
	(with the most recent version of liboil, earlier ones worked fine
	with otherwise the same setup/compiler/...)

	Then I see...

 cc -DHAVE_CONFIG_H -I. -I../.. -msse -msse2 -Wall -D_BSD_SOURCE -D_GNU_SOURCE -O2 -MT libsse_la-composite_sse_2pix.lo -MD -MP -MF .deps/libsse_la-composite_sse_2pix.Tpo -c composite_sse_2pix.c  -fPIC -DPIC -o .libs/libsse_la-composite_sse_2pix.o
 composite_sse_2pix.c: In function `composite_in_argb_sse_2pix':
 composite_sse_2pix.c:162: internal compiler error: in push_reload, at reload.c:1315
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:> for instructions.
 *** Error code 1

	I don't currently have the preprocessed sources, but I guess I
	could arrange to get them if it isn't easier to just reconstruct
	the setup I'm using (whiever is going to debug it may need to
	do that, even if the sources are available).

	The gcc identifies itself (cc -v) as ...

jade# pkg_comp chroot cc -v
PKG_COMP ==> Mounting sandboxed filesystems
PKG_COMP ==> Entering sandbox `/local/pkg_comp/default'
Using built-in specs.
Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)

PKG_COMP ==> Unmounting sandboxed filesystems

	NFI - way beyond anywhere I ever go.