This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/46717] New: Compiler segfault in profile-use mode


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

           Summary: Compiler segfault in profile-use mode
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: maeyanie@deathwyrm.com


I ran into this segfault while compiling the latest git snapshot of Luxrender
(http://www.luxrender.net/) with GCC 4.6 with profiling. Without profiling it
works fine.


Exact version of GCC:
gcc version 4.6.0 20101127 (experimental) (GCC) 

System type:
Fedora 14, x86_64, Core 2 Duo

Configured with:
../gcc-4.6-20101127/configure --prefix=/opt/gcc-4.6 --enable-bootstrap
--enable-shared --enable-threads=posix --enable-checking=release
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--enable-languages=c,c++,lto --enable-plugin --disable-dssi --with-ppl
--with-cloog --with-arch=core2 --with-arch_32=core2 --build=x86_64-redhat-linux

Built with:
make profiledbootstrap

Complete command line:
/opt/gcc-4.6/bin/g++   -DBOOST_NO_INTRINSIC_INT64_T -DLUX_USE_CONFIG_H
-DQT_GUI_LIB -DQT_CORE_LIB -O3 -march=core2 -mmmx -msse -msse2 -msse3 -mssse3
-msse4.1 -mfpmath=sse -fprofile-use -fprofile-dir=/tmp -Wcoverage-mismatch
-fprofile-correction -save-temps  -isystem /data2/build/lux/core/external
-isystem /usr/include/OpenEXR -isystem /data2/build/luxrays/include
-I/data2/build/lux/core -I/data2/build/lux/core/queryable
-I/data2/build/lux/core/reflection -I/data2/build/lux/core/reflection/bxdf
-I/data2/build/lux/core/reflection/fresnel
-I/data2/build/lux/core/reflection/microfacetdistribution
-I/data2/build/lux/spds -I/data2/build/lux/lights/sphericalfunction
-I/data2/build/lux -I/data2/build/lux/build -isystem /usr/include/python2.7
-I/usr/include/QtGui -I/usr/include/QtCore   -o CMakeFiles/lux.dir/core/film.o
-c /data2/build/lux/core/film.cpp

Compiler output:
/data2/build/lux/core/film.cpp: In member function âvoid
boost::iostreams::detail::chain_base<Self, Ch, Tr, Alloc,
Mode>::push_impl(const T&, std::streamsize, std::streamsize) [with T =
boost::iostreams::detail::mode_adapter<boost::iostreams::input,
std::basic_iostream<char> >, Self =
boost::iostreams::chain<boost::iostreams::input, char, std::char_traits<char>,
std::allocator<char> >, Ch = char, Tr = std::char_traits<char>, Alloc =
std::allocator<char>, Mode = boost::iostreams::input, std::streamsize = long
int]â:
/data2/build/lux/core/film.cpp:1928:1: 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]