public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/66521] New: xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc
@ 2015-06-12 13:42 egall at gwmail dot gwu.edu
  2015-06-12 13:45 ` [Bug bootstrap/66521] " egall at gwmail dot gwu.edu
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: egall at gwmail dot gwu.edu @ 2015-06-12 13:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66521
           Summary: xgcc: cc1plus segfaults when compiling
                    libstdc++-v3/src/c++11/ostream-inst.cc
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: egall at gwmail dot gwu.edu
  Target Milestone: ---
              Host: x86_64-apple-darwin10.8.0
            Target: x86_64-apple-darwin10.8.0
             Build: x86_64-apple-darwin10.8.0

Created attachment 35770
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35770&action=edit
crash reporter log that resulted

Here's my version info:
$ /Users/ericgallager/gcc-git/my_oddly_named_builddir/./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/Users/ericgallager/gcc-git/my_oddly_named_builddir/./gcc/xgcc
Target: x86_64-apple-darwin10.8.0
Thread model: posix
gcc version 6.0.0 20150604 (experimental) (GCC)

The "Configured with" line is too long, due to all the times it says
"reconfigured", so I'll just put the most recent one:

../configure --enable-libada --enable-libssp --enable-bootstrap --enable-lto
--enable-stage1-languages=all --enable-objc-gc --enable-vtable-verify
--enable-maintainer-mode --disable-werror --enable-host-shared
--enable-languages=c,c++,java,jit,lto,objc,obj-c++ --enable-stage1-checking=all
--enable-libstdcxx-time -C --enable-multilib --enable-multiarch
--enable-__cxa_atexit --enable-tls --with-system-libunwind --enable-secureplt
--enable-frame-pointer --enable-version-specific-runtime-libs --enable-plugin
--enable-cxx --enable-assert --enable-fat --enable-portable-binary
--enable-browser-plugin --enable-gconf-peer --enable-libgcj-debug
--enable-gc-debug --enable-interpreter --enable-aot-compile-rpm
--enable-java-home --with-x --enable-collections --enable-gstreamer-peer
--enable-xmlj --enable-qt-peer --enable-gmp --enable-debug
--enable-local-sockets --enable-concept-checks --without-isl
AUTOCONF=autoconf264 AUTOHEADER=autoheader264 AUTOM4TE=autom4te264
AUTORECONF=autoreconf264 AUTOSCAN=autoscan264 AUTOUPDATE=autoupdate264
IFNAMES=ifnames264

Command line and output:

/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile
/Users/ericgallager/gcc-git/my_oddly_named_builddir/./gcc/xgcc -shared-libgcc
-B/Users/ericgallager/gcc-git/my_oddly_named_builddir/./gcc -nostdinc++
-L/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/src
-L/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/src/.libs
-L/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/libsupc++/.libs
-B/usr/local/x86_64-apple-darwin10.8.0/bin/
-B/usr/local/x86_64-apple-darwin10.8.0/lib/ -isystem
/usr/local/x86_64-apple-darwin10.8.0/include -isystem
/usr/local/x86_64-apple-darwin10.8.0/sys-include   
-I/Users/ericgallager/gcc-git/libstdc++-v3/../libgcc
-I/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/include/x86_64-apple-darwin10.8.0
-I/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/include
-I/Users/ericgallager/gcc-git/libstdc++-v3/libsupc++  -std=gnu++11 -prefer-pic
-D_GLIBCXX_SHARED -fno-implicit-templates -fvtable-verify=std
-Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once 
-fvisibility-inlines-hidden -ffunction-sections -fdata-sections 
-frandom-seed=ostream-inst.lo -g -O2  -c -o ostream-inst.lo
../../../../../libstdc++-v3/src/c++11/ostream-inst.cc
libtool: compile: 
/Users/ericgallager/gcc-git/my_oddly_named_builddir/./gcc/xgcc -shared-libgcc
-B/Users/ericgallager/gcc-git/my_oddly_named_builddir/./gcc -nostdinc++
-L/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/src
-L/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/src/.libs
-L/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/libsupc++/.libs
-B/usr/local/x86_64-apple-darwin10.8.0/bin/
-B/usr/local/x86_64-apple-darwin10.8.0/lib/ -isystem
/usr/local/x86_64-apple-darwin10.8.0/include -isystem
/usr/local/x86_64-apple-darwin10.8.0/sys-include
-I/Users/ericgallager/gcc-git/libstdc++-v3/../libgcc
-I/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/include/x86_64-apple-darwin10.8.0
-I/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/include
-I/Users/ericgallager/gcc-git/libstdc++-v3/libsupc++ -std=gnu++11
-D_GLIBCXX_SHARED -fno-implicit-templates -fvtable-verify=std
-Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -Wall -Wextra
-Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once
-fvisibility-inlines-hidden -ffunction-sections -fdata-sections
-frandom-seed=ostream-inst.lo -g -O2 -c
../../../../../libstdc++-v3/src/c++11/ostream-inst.cc  -fno-common -DPIC
-D_GLIBCXX_SHARED -o ostream-inst.o
xgcc: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[6]: *** [ostream-inst.lo] Error 1
make[6]: Leaving directory
`/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/src/c++11'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/Users/ericgallager/gcc-git/my_oddly_named_builddir/x86_64-apple-darwin10.8.0/libstdc++-v3'
make[2]: *** [all-stage1-target-libstdc++-v3] Error 2
make[2]: Leaving directory
`/Users/ericgallager/gcc-git/my_oddly_named_builddir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/Users/ericgallager/gcc-git/my_oddly_named_builddir'
make: *** [all] Error 2

The attached crash report has the backtrace, which makes it look like it's an
issue with the vtable verification code...


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-08-30 18:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12 13:42 [Bug bootstrap/66521] New: xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc egall at gwmail dot gwu.edu
2015-06-12 13:45 ` [Bug bootstrap/66521] " egall at gwmail dot gwu.edu
2015-07-05  4:04 ` egall at gwmail dot gwu.edu
2015-07-06 16:02 ` ctice at gcc dot gnu.org
2015-07-28 17:01 ` ctice at gcc dot gnu.org
2015-07-30 12:08 ` redi at gcc dot gnu.org
2015-07-30 12:11 ` redi at gcc dot gnu.org
2015-07-30 14:10 ` egall at gwmail dot gwu.edu
2015-07-31 15:25 ` egall at gwmail dot gwu.edu
2015-08-05 18:41 ` egall at gwmail dot gwu.edu
2015-08-05 18:44 ` egall at gwmail dot gwu.edu
2015-08-07 23:18 ` cmtice at google dot com
2015-08-12 15:40 ` ctice at gcc dot gnu.org
2015-08-30 18:21 ` egall at gwmail dot gwu.edu
2015-08-30 18:38 ` egall at gwmail dot gwu.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).