gcc and FreeBSD 5.0

Miika Komu mkomu at niksula.hut.fi
Tue Apr 1 04:59:48 PST 2003

Has anyone had similar trouble?

# cvsup RELENG_5_0
# cd /usr/ports
# make buildworld
c++  -O -pipe -mcpu=pentiumpro -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
-I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc  -fno-implicit-templates
-ffunction-sections -fdata-sections -Wno-deprecated -c
/usr/src/contrib/libstdc++/src/ext-inst.cc -o ext-inst.o
In file included from /usr/obj/usr/src/i386/usr/include/g++/ios:48,
                 from /usr/obj/usr/src/i386/usr/include/g++/ostream:45,
                 from /usr/obj/usr/src/i386/usr/include/g++/iostream:45,
                 from /usr/obj/usr/src/i386/usr/include/g++/ext/rope:60,
                 from /usr/src/contrib/libstdc++/src/ext-inst.cc:34:
/usr/obj/usr/src/i386/usr/include/g++/bits/localefwd.h: In member function
   `void std::locale::_Impl::_M_remove_reference()':
/usr/obj/usr/src/i386/usr/include/g++/bits/localefwd.h:352: Internal
   error in store_bindings, at cp/decl.c:2439
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
*** Error code 1

Stop in /usr/src/gnu/lib/libstdc++.
*** Error code 1

Stop in /usr/src/gnu/lib.
*** Error code 1

# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.1 [FreeBSD] 20021119 (release)

I'm using a fresh version of FreeBSD 5.0 (not an upgrade) on i386
platform. The "buildkernel" compiles just fine.

Should I file a bug report (gcc/FreeBSD)or am I just hallucinating? I
tried to find a similar error from newsgroups and mailing list archives
but I seem to be the only one experiencing this kind of trouble.

Someone said that FreeBSD current might be more stable than 5.0 at the
moment... should I try current? If I try current now, is it safe to
downgrade from current to 5.x later?

Miika Komu              miika at iki.fi          http://www.iki.fi/miika/

More information about the freebsd-questions mailing list