public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/96378] New: ICE: Solaris/SPARCv9 bootstrap stage2 segfault compiling stdc++.h.gch/O2ggnu++0x.gch
@ 2020-07-29 16:23 nicholas.h.briggs at gmail dot com
  2020-09-18  8:50 ` [Bug bootstrap/96378] " ebotcazou at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: nicholas.h.briggs at gmail dot com @ 2020-07-29 16:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96378
           Summary: ICE: Solaris/SPARCv9 bootstrap stage2 segfault
                    compiling stdc++.h.gch/O2ggnu++0x.gch
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nicholas.h.briggs at gmail dot com
  Target Milestone: ---

Created attachment 48952
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48952&action=edit
Failing preprocessed source

Configured as:

~/gcc-10.2-objdir$ ../gcc/configure prefix=/opt/gcc-10.2 --disable-werror
--disable-checking CC=gcc CXX=g++ --disable-multilib
--build=sparcv9-sun-solaris2.11 --with-gnu-as --with-as=/opt/binutils/bin/as
--without-gnu-ld --with-ld=/usr/bin/ld --enable-languages=c,c++,lto

$ gcc --version
gcc (GCC) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ /opt/binutils/bin/as --version
GNU assembler (GNU Binutils) 2.35
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc-sun-solaris2.11'.
$ /usr/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.3159

Bootstrap fails at

/export/home/briggs/gcc-10.2-objdir/./gcc/xgcc -shared-libgcc
-B/export/home/briggs/gcc-10.2-objdir/./gcc -nostdinc++
-L/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/src
-L/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/src/.libs
-L/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/libsupc++/.libs
-B/opt/gcc-10.2/sparcv9-sun-solaris2.11/bin/
-B/opt/gcc-10.2/sparcv9-sun-solaris2.11/lib/ -isystem
/opt/gcc-10.2/sparcv9-sun-solaris2.11/include -isystem
/opt/gcc-10.2/sparcv9-sun-solaris2.11/sys-include   -fno-checking -x c++-header
-nostdinc++ -g -O2 
-I/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/sparcv9-sun-solaris2.11
-I/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include
-I/export/home/briggs/gcc/libstdc++-v3/libsupc++  -O2 -g -std=gnu++0x
/export/home/briggs/gcc/libstdc++-v3/include/precompiled/stdc++.h \
-o sparcv9-sun-solaris2.11/bits/stdc++.h.gch/O2ggnu++0x.gch

with

In file included from
/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/bits/localefwd.h:40,
                 from
/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/ios:41,
                 from
/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/istream:38,
                 from
/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/sstream:38,
                 from
/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/complex:45,
                 from
/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/ccomplex:39,
                 from
/export/home/briggs/gcc/libstdc++-v3/include/precompiled/stdc++.h:54:
/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/sparcv9-sun-solaris2.11/bits/c++locale.h:
In function ‘int std::__convert_from_v(int* const&, char*, int, const char*,
...)’:
/export/home/briggs/gcc-10.2-objdir/sparcv9-sun-solaris2.11/libstdc++-v3/include/sparcv9-sun-solaris2.11/bits/c++locale.h:60:47:
internal compiler error: Segmentation Fault
   60 |     char* __old = std::setlocale(LC_NUMERIC, 0);
      |                                               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
gmake[5]: *** [Makefile:1825:
sparcv9-sun-solaris2.11/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1
gmake[4]: *** [Makefile:563: all-recursive] Error 1
gmake[3]: *** [Makefile:488: all] Error 2
gmake[2]: *** [Makefile:20026: all-stage2-target-libstdc++-v3] Error 2
gmake[1]: *** [Makefile:27159: stage2-bubble] Error 2
gmake: *** [Makefile:27403: bootstrap] Error 2

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

end of thread, other threads:[~2020-12-19  8:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29 16:23 [Bug bootstrap/96378] New: ICE: Solaris/SPARCv9 bootstrap stage2 segfault compiling stdc++.h.gch/O2ggnu++0x.gch nicholas.h.briggs at gmail dot com
2020-09-18  8:50 ` [Bug bootstrap/96378] " ebotcazou at gcc dot gnu.org
2020-09-18 16:05 ` nicholas.h.briggs at gmail dot com
2020-12-18  3:07 ` nicholas.h.briggs at gmail dot com
2020-12-18  8:11 ` ebotcazou at gcc dot gnu.org
2020-12-19  2:30 ` nicholas.h.briggs at gmail dot com
2020-12-19  8:02 ` [Bug bootstrap/96378] segfault during bootstrap with --disable-checking ebotcazou at gcc dot gnu.org

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).