[Bug c++/38002] New: gcc crash using -fvisibility-ms-compat

bodzio131 at op dot pl gcc-bugzilla@gcc.gnu.org
Mon Nov 3 14:58:00 GMT 2008


gcc version 4.3.2 (GCC)
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.3.2/configure --prefix=/usr/local/gcc-4.3.2
--enable-languages=c,c++ --with-gmp=/home/builder/4gcc43
--with-mpfr=/home/builder/4gcc43 --with-as=/usr/local/gcc-4.3.2/bin/as
--with-gnu-as --with-ld=/usr/local/gcc-4.3.2/bin/ld --with-gnu-ld
Thread model: posix

system: Linux, Debian, 2.6.25

third party libraries: boost 1.33.1

command line: gcc error.cpp -I. -shared -o error.so -fvisibility-ms-compat
-lstdc++ -I$BOOST_INCLUDE_DIR -save-temps 

gcc output:

/usr/local/gcc-4.3.2/boost_1_33_1/include/boost/lexical_cast.hpp: In
instantiation of 'Target boost::lexical_cast(const Source&) [with Target =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Source
= int*]':
error.cpp:6:   instantiated from here
/usr/local/gcc-4.3.2/boost_1_33_1/include/boost/lexical_cast.hpp:223: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

How to attach *.ii file???


-- 
           Summary: gcc crash using -fvisibility-ms-compat
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bodzio131 at op dot pl


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38002



More information about the Gcc-bugs mailing list