clone 438066 -1 reassign -1 g++-4.1 severity -1 normal retitle -1 g++-4.1 [alpha]: segfault in constructor with -Os thanks
On Thu, Aug 16, 2007 at 04:02:06PM +0200, Vedran Furač wrote: > > The backtrace for this crash is as follows: > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 2199043992432 (LWP 15804)] > > 0x00000200002d9d64 in std::_List_node_base::hook () > > from /usr/lib/libstdc++.so.6 > > (gdb) bt > > #0 0x00000200002d9d64 in std::_List_node_base::hook () > > from /usr/lib/libstdc++.so.6 > > #1 0x0000000120007148 in LexGen (this=0x11f8a66f0, > > core_class=<value optimized out>, subclass=0x11f8a7b53 "ConfIO") > > at lexgen.cpp:51 > > #2 0x0000000120001fc0 in main (argc=<value optimized out>, > > argv=<value optimized out>) at lexcode.cpp:61 > > (gdb) > > I currently have no idea what the cause of this failure would be; it could > > very well be an alpha-specific toolchain issue. > Maybe optimization level? I changed it from -O2 to -Os in this release. > As I'm not a DD I can't trigger a new build attempt on alpha and I'm not > sure what is the standard procedure in this case. Yes, the package builds fine with -O2 and gives this segfault with -Os. So please revert this use of -Os, which is not the correct build option to use here according to policy. Cloning a copy of this bug to g++-4.1, since it does appear to be a bug in g++-4.1 to generate broken code in the -Os case. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/