[Bug c++/61652] Option --enable-libstdcxx-debug doesn't build debug version of libsupc++.so

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 25 18:28:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61652

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-03-25
                 CC|jwakely.gcc at gmail dot com       |
            Summary|Option                      |Option
                   |--enable-libstdcxx-debug    |--enable-libstdcxx-debug
                   |doesn't pass debug compile  |doesn't build debug version
                   |options to libstdc++.so     |of libsupc++.so
     Ever confirmed|0                           |1

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The option works perfectly, you should be able to look in
$target/libstdc++-v3/config.log and see something like this:

  configure:17333: Debug build flags set to -g3 -O2

The problem is that libsupc++ is only build once, there's no separate
debug/libsupc++.so, and dyncast.o is part of libsupc++.



More information about the Gcc-bugs mailing list