[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#373849: gcc 4.0.4 internal error with -O2 on etch/sparc



Package: gcc/g++
Version: 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)

This is updated etch on SPARC.  While trying to build xapian 0.9.6
(http://www.xapian.org), I get the following internal gcc error:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I../include
-I../include -Wall -W -Wredundant-decls -Wundef -Wpointer-arith
-Wcast-qual -Wcast-align -Wno-multichar -Wno-long-long
-fno-gnu-keywords -g -O2 -MT andmaybepostlist.lo -MD -MP -MF
.deps/andmaybepostlist.Tpo -c andmaybepostlist.cc  -fPIC -DPIC -o
.libs/andmaybepostlist.o
andmaybepostlist.cc: In member function 'virtual PostList*
AndMaybePostList::next(Xapian::weight)':
andmaybepostlist.cc:68: internal compiler error: in invert_exp_1, at jump.c:1719
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
make[2]: *** [andmaybepostlist.lo] Error 1
make[2]: Leaving directory `/usr/local/xapian-core-0.9.6/matcher'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/xapian-core-0.9.6'
make: *** [all] Error 2

building the object with -O1 fixes the problem.

Thanks,

Alex



Reply to: