public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/97314] New: bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl
@ 2020-10-07  8:06 doko at debian dot org
  2020-10-07  8:46 ` [Bug bootstrap/97314] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: doko at debian dot org @ 2020-10-07  8:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97314
           Summary: bootstrap failure on i686-linux-gnu with
                    --enable-checking=yes,extra,rtl
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with the gcc-10 branch 20201003, while originally building that for
another architecture.  The build succeeds on another 32bit arch
(arm-linux-gnueabihf) and on 64bit archs, but fails on i686-linux-gnu.

The build is also configured with --enable-default-pie and other hardening
options turned on by default, built with make -j2.

virtual memory exhausted: Operation not permitted
make[5]: *** [Makefile:1117: insn-extract.o] Error 1
make[5]: *** Waiting for unfinished jobs....
rm gcc.pod gfortran.pod cpp.pod gccbrig.pod gccgo.pod gdc.pod
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build/gcc'
make[4]: *** [Makefile:4878: all-stage3-gcc] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[3]: *** [Makefile:27347: stage3-bubble] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [Makefile:27411: bootstrap] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'

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

* [Bug bootstrap/97314] bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl
  2020-10-07  8:06 [Bug bootstrap/97314] New: bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl doko at debian dot org
@ 2020-10-07  8:46 ` rguenth at gcc dot gnu.org
  2020-10-07  9:00 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-07  8:46 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
virtual memory exhausted: Operation not permitted

ISTR Jakub mentioned a similar issue?

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

* [Bug bootstrap/97314] bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl
  2020-10-07  8:06 [Bug bootstrap/97314] New: bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl doko at debian dot org
  2020-10-07  8:46 ` [Bug bootstrap/97314] " rguenth at gcc dot gnu.org
@ 2020-10-07  9:00 ` jakub at gcc dot gnu.org
  2020-11-17 15:14 ` rsandifo at gcc dot gnu.org
  2020-12-07  8:35 ` doko at debian dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-10-07  9:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yes, but for me it was resolved with
r11-3518-g37ffe56c01e4a9e80a3b3c4f5beb86d80a0663db.  If the (huge) switch is
optimized by switchconv, then DF doesn't run into the latent problematic case.
I'm not using --enable-default-pie though.

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

* [Bug bootstrap/97314] bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl
  2020-10-07  8:06 [Bug bootstrap/97314] New: bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl doko at debian dot org
  2020-10-07  8:46 ` [Bug bootstrap/97314] " rguenth at gcc dot gnu.org
  2020-10-07  9:00 ` jakub at gcc dot gnu.org
@ 2020-11-17 15:14 ` rsandifo at gcc dot gnu.org
  2020-12-07  8:35 ` doko at debian dot org
  3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2020-11-17 15:14 UTC (permalink / raw)
  To: gcc-bugs

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

rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at gcc dot gnu.org

--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
I see the same thing for arm-linux-gnueabihf on trunk, also on
insn-extract.o.  It's specific to RTL checking for me too.

I found it does work if I bootstrap with --enable-checking=yes,extra,
flip ENABLE_RTL_CHECKING to 1 in auto-host.h, and then recompile
insn-extract.c.  But it does take a large amount of VM:

phase parsing                      :  51.10 ( 27%)  43.64 ( 74%)  94.74 ( 38%) 
1334M ( 73%)

This used to work “a while ago” but I don't know when it stopped.

The file has 9975 lines, 435KiB, but that's a bairn compared to some
of the stuff we kick out.  Perhaps it's just the sheer number of
(nested) XEXP macro expansions?

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

* [Bug bootstrap/97314] bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl
  2020-10-07  8:06 [Bug bootstrap/97314] New: bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl doko at debian dot org
                   ` (2 preceding siblings ...)
  2020-11-17 15:14 ` rsandifo at gcc dot gnu.org
@ 2020-12-07  8:35 ` doko at debian dot org
  3 siblings, 0 replies; 5+ messages in thread
From: doko at debian dot org @ 2020-12-07  8:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Matthias Klose <doko at debian dot org> ---
8441545d4f2afb9e9342e0dac378eafd03f00462 now builds insn-extract.o without rtl
checking unconditionally.

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07  8:06 [Bug bootstrap/97314] New: bootstrap failure on i686-linux-gnu with --enable-checking=yes,extra,rtl doko at debian dot org
2020-10-07  8:46 ` [Bug bootstrap/97314] " rguenth at gcc dot gnu.org
2020-10-07  9:00 ` jakub at gcc dot gnu.org
2020-11-17 15:14 ` rsandifo at gcc dot gnu.org
2020-12-07  8:35 ` doko at debian dot 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).