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++/28567] New: [cygwin] ICE in eh_alloc.cc on 'make install'


Hi,
Building and installing gcc-4.1.1 on cygwin failed in the final make install
step. Here's my script:
../gcc-4.1.1/configure --with-gcc --with-gnu-ld --with-gnu-as --enable-threads
--disable-nls --enable-languages=c,c++ --disable-win32-registry
--disable-shared --disable-sjlj-exceptions --without-x --enable-interpreter
--enable-hash-synchronization --enable-libstdcxx-debug
make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads
-fno-omit-frame-pointer -O2" LDFLAGS=-s bootstrap 2>err.log

on make install, the ICE occurs here:
/home/Kevin/objs/./gcc/xgcc -shared-libgcc -B/home/Kevin/objs/./gcc -nostdinc++
-L/home/Kevin/objs/i686-pc-cygwin/libstdc++-v3/src
-L/home/Kevin/objs/i686-pc-cygwin/libstdc++-v3/src/.libs
-B/usr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem
/usr/local/i686-pc-cygwin/include -isystem
/usr/local/i686-pc-cygwin/sys-include
-I/home/Kevin/gcc-4.1.1/libstdc++-v3/../gcc
-I/home/Kevin/objs/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/home/Kevin/objs/i686-pc-cygwin/libstdc++-v3/include
-I/home/Kevin/gcc-4.1.1/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -c
../../../../gcc-4.1.1/libstdc++-v3/libsupc++/eh_alloc.cc -o eh_alloc.o
../../../../gcc-4.1.1/libstdc++-v3/libsupc++/eh_alloc.cc:1: warning:
-ffunction-sections may affect debugging on some targets
../../../../gcc-4.1.1/libstdc++-v3/libsupc++/eh_alloc.cc: In function 'void*
__cxxabiv1::__cxa_allocate_exception(size_t)':
../../../../gcc-4.1.1/libstdc++-v3/libsupc++/eh_alloc.cc:160: internal compiler
error: Segmentation fault

Additional notes:
Removing the -O2 option makes the ICE occur a bit later in eh_alloc.cc:183.


-- 
           Summary: [cygwin] ICE in eh_alloc.cc on 'make install'
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: baraclese at googlemail dot com
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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