Bug#794406: g++: Non-deterministic "/usr/include/c++/5/bits/basic_string.h:121:53: internal compiler error: Segmentation fault" when compiling aptitude 0.7-1
Control: reassign -1 g++-5
Control: found -1 5.2.1-14
On 08/02/2015 08:08 PM, Axel Beckert wrote:
> Package: g++
> Version: 4:5.2.1-3
> Severity: minor
> Control: affects -1 src:aptitude
>
> Hi Matthias,
>
> I've just tried to build the upcoming aptitude 0.7-1 inside a pbuilder
> chroot.
>
> I've first recompiled the following source packages with gcc-5/5.2.1-14
> respectively g++-5/5.2.1-14 and against libstdc++6/5.2.1-14 and
> installed the (necessary) packages built that way:
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Please include the complete backtrace with any bug report.
> See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
> The bug is not reproducible, so it is likely a hardware or OS problem.
I haven't see this before; just pointing out that the build fails later in a
"consistent" way (https://launchpad.net/ubuntu/+source/aptitude):
In file included from ../../../../../src/generic/util/immset.h:31:0,
from ../../../../../src/generic/apt/matching/parse.cc:54:
../../../../../src/generic/util/compare3.h:294:62: error: template argument 1 is
invalid
class compare3_f<std::basic_string<charT, traits, Alloc> >
^
../../../../../src/generic/util/compare3.h:332:42: error: template argument 1 is
invalid
class compare3_f<std::list<T, Alloc> >
^
../../../../../src/generic/util/compare3.h:333:57: error: template argument 1 is
invalid
: public compare3_f_container<std::list<T, Alloc> >
^
make[6]: *** [parse.o] Error 1
make[6]: *** Waiting for unfinished jobs....
Makefile:405: recipe for target 'parse.o' failed
Reply to: