Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2003 15:59:28 +0300 (EEST)
From:      Miika Komu <mkomu@niksula.hut.fi>
To:        freebsd-questions@freebsd.org
Subject:   gcc and FreeBSD 5.0
Message-ID:  <Pine.GSO.4.44.0304011545190.307-100000@kekkonen.cs.hut.fi>

next in thread | raw e-mail | index | archive | help
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++
-I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++
-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/ropeimpl.h:49,
                 from
/usr/obj/usr/src/i386/usr/include/g++/ext/stl_rope.h:2497,
                 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
compiler
   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@iki.fi          http://www.iki.fi/miika/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0304011545190.307-100000>