Subject: GCC (amd64-specific?) bug.
To: None <port-amd64@netbsd.org>
From: Richard Rauch <rkr@olib.org>
List: port-amd64
Date: 04/10/2005 02:11:28
I've built and installed NetBSD/amd64 -current (3.99.3; should be up-to-date
userland and kernel as of a few days ago) and freshly installed on a disk
that previously had NetBSD/i386 on it. (So there should be nothing "old"
or "obsolete" lying about; (^&.)
One of several packages that i wanted to build for the new installation
was povray, from pkgsrc. Attempting to do so fails with this error:
/~~~ error from build
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../source -I../../unix -I../../libraries/zlib -I../../libraries/png -I/usr/X11R6/include -I/usr/pkg/include -I/usr/include -pipe -Wno-multichar -s -O3 -march=i686 -minline-all-stringops -O2 -I/usr/pkg/include -I/usr/include -c -o povms.o `test -f 'povms.cpp' || echo './'`povms.cpp
povms.cpp: In function `int POVMSUtil_TempAlloc(void**, int)':
povms.cpp:3830: error: unrecognizable insn:
(insn:HI 82 81 64 2 0x202369300 (set (reg:SI 58)
(plus:SI (mult:SI (reg:SI 58)
(const_int 2 [0x2]))
(const_int -2 [0xfffffffffffffffe]))) -1 (insn_list 81 (nil))
(nil))
povms.cpp:3830: internal compiler error: in extract_insn, at recog.c:2175
\___ error from build
Attempting to resume the build seems to consistantly reproduce this error.
Should I send a toolchain PR? Or post to -current? (Can someone else
confirm?)
Other than "try to build povray", I have no way to reproduce this error at
this time. The povray version is 3.6.1, PKGREVISION 1.
--
"I probably don't know what I'm talking about." http://www.olib.org/~rkr/