Error in Berkeley DB-4.4.20

Dan Nicholson dbn.lists at
Tue Aug 1 16:06:33 PDT 2006

On 8/1/06, Ruben D. Valverde M. <ruben at> wrote:
> Hi Dan
> That's the problem
> configure:5387: checking whether C++ supports the ISO C++ standard
> includes
> configure:5417: g++ -c -O  -D_GNU_SOURCE -D_REENTRANT >&5
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algo
> .h: In function '_RandomAccessIterator std::find(_RandomAccessIterator,
> _RandomA
> ccessIterator, const _Tp&, std::random_access_iterator_tag)':
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/stl_algo
> .h:241: internal compiler error: Segmentation fault

Hi, Ruben. Please don't top-post the replies. See here for an explanation.

Back to your problem. Did you run the gcc testsuite when you built it?
If so, did the g++ tests pass? The summary gave me this:

                === g++ tests ===

Running target unix
XPASS: g++.old-deja/g++.other/init5.C execution test

                === g++ Summary ===

# of expected passes            11463
# of unexpected successes       1
# of expected failures          69
# of unsupported tests          56
/sources/gcc-build/gcc/testsuite/../g++  version 4.0.3

If you don't have any other information about g++, I would suggest
going back and rebuilding gcc in Ch. 6.12 and running the testsuite.
Segmentation faults are not a good thing.

By the way, what kind of system are you building on? Processor? Host system?


More information about the lfs-support mailing list