public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
@ 2020-10-15 20:07 hjl.tools at gmail dot com
2020-10-15 20:32 ` [Bug bootstrap/97451] " hjl.tools at gmail dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-15 20:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
Bug ID: 97451
Summary: [11 Regression] r11-3959 failed
--with-build-config=bootstrap-cet
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
On Linux/x86-64 with binutils 20201014 master branch, r11-3959 failed to
bootstrap when configured with
--enable-cet --with-demangler-in-ld --prefix=/usr/gcc-11.0.0-cet-x32
--with-local-prefix=/usr/local --enable-gnu-indirect-function
--enable-clocale=gnu --with-system-zlib --with-target-system-zlib
--with-fpmath=sse --with-multilib-list=m32,m64,mx32 --enable-linker-build-id
--enable-gnu-unique-object --with-build-config=bootstrap-cet
--with-multilib-list=m64,mx32,m32
--enable-languages=c,c++,fortran,lto,objc,obj-c++,go
Bootstrap comparison failure!
libiberty/lbasename.o differs
x86_64-pc-linux-gnu/32/libstdc++-v3/libsupc++/eh_globals.o differs
x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/eh_globals.o differs
x86_64-pc-linux-gnu/x32/libstdc++-v3/libsupc++/eh_globals.o differs
make[4]: *** [Makefile:23878: compare] Error 1
[hjl@gnu-skx-1 build-x86_64-linux]$ cmp --ignore-initial=16
stage2-libiberty/lbasename.o stage3-libiberty/lbasename.o
stage2-libiberty/lbasename.o stage3-libiberty/lbasename.o differ: byte 965,
line 2
[hjl@gnu-skx-1 build-x86_64-linux]$ readelf -w stage2-libiberty/lbasename.o
...
The Directory Table (offset 0x1c):
1 /tmp
2 /export/gnu/import/git/sources/gcc/libiberty
3 /export/gnu/import/git/sources/gcc/libiberty/../include
The File Name Table (offset 0x87):
Entry Dir Time Size Name
1 2 0 0 lbasename.c
2 3 0 0 safe-ctype.h
3 1 0 0 cccS9GKD.s
This seems to come from assembly file.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
@ 2020-10-15 20:32 ` hjl.tools at gmail dot com
2020-10-15 21:04 ` hjl.tools at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-15 20:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
The problem is triggered by missing config/bootstrap-debug.mk. But
cccS9GKD.s is is odd.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
2020-10-15 20:32 ` [Bug bootstrap/97451] " hjl.tools at gmail dot com
@ 2020-10-15 21:04 ` hjl.tools at gmail dot com
2020-10-16 6:16 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-15 21:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=26740
CC| |jakub at redhat dot com
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
This is triggered by r11-3693:
commit 6923255e35a3d54f2083ad0f67edebb3f1b86506
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Oct 7 10:55:35 2020 +0200
debug: Pass --gdwarf-N to assembler if fixed gas is detected during
configure
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
2020-10-15 20:32 ` [Bug bootstrap/97451] " hjl.tools at gmail dot com
2020-10-15 21:04 ` hjl.tools at gmail dot com
@ 2020-10-16 6:16 ` rguenth at gcc dot gnu.org
2020-10-16 10:24 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-16 6:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Target Milestone|--- |11.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
` (2 preceding siblings ...)
2020-10-16 6:16 ` rguenth at gcc dot gnu.org
@ 2020-10-16 10:24 ` jakub at gcc dot gnu.org
2020-10-16 12:18 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-10-16 10:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
*** Bug 97355 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
` (3 preceding siblings ...)
2020-10-16 10:24 ` jakub at gcc dot gnu.org
@ 2020-10-16 12:18 ` rguenth at gcc dot gnu.org
2020-10-16 16:33 ` hjl.tools at gmail dot com
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-10-16 12:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
` (4 preceding siblings ...)
2020-10-16 12:18 ` rguenth at gcc dot gnu.org
@ 2020-10-16 16:33 ` hjl.tools at gmail dot com
2020-10-16 17:59 ` hjl.tools at gmail dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-16 16:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2020-10-16
Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com
Ever confirmed|0 |1
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 49389
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49389&action=edit
A patch
I am testing this patch.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
` (5 preceding siblings ...)
2020-10-16 16:33 ` hjl.tools at gmail dot com
@ 2020-10-16 17:59 ` hjl.tools at gmail dot com
2020-10-24 16:51 ` cvs-commit at gcc dot gnu.org
2020-10-24 17:26 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-16 17:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #4)
> Created attachment 49389 [details]
> A patch
>
> I am testing this patch.
It works:
https://gcc.gnu.org/pipermail/gcc-patches/2020-October/556394.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
` (6 preceding siblings ...)
2020-10-16 17:59 ` hjl.tools at gmail dot com
@ 2020-10-24 16:51 ` cvs-commit at gcc dot gnu.org
2020-10-24 17:26 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-10-24 16:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:
https://gcc.gnu.org/g:1aeb7d7d67d167297ca2f4a97ef20f68e7546b4c
commit r11-4338-g1aeb7d7d67d167297ca2f4a97ef20f68e7546b4c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Oct 16 05:59:51 2020 -0700
Update check for working assembler --gdwarf-4 option
Rename HAVE_AS_WORKING_DWARF_4_FLAG to HAVE_AS_WORKING_DWARF_N_FLAG
Don't set HAVE_AS_WORKING_DWARF_N_FLAG if --gdwarf-5/--gdwarf-4 generate
an extra assembly input file in debug info from compiler generated
.debug_line or fail with the APP marker:
https://sourceware.org/bugzilla/show_bug.cgi?id=25878
https://sourceware.org/bugzilla/show_bug.cgi?id=26740
https://sourceware.org/bugzilla/show_bug.cgi?id=26778
Also replace success with dwarf4_success in the 32-bit --gdwarf-4 check.
PR bootstrap/97451
* configure.ac (HAVE_AS_WORKING_DWARF_4_FLAG): Renamed to ...
(HAVE_AS_WORKING_DWARF_N_FLAG): This. Don't define if there is
an extra assembly input file in debug info. Replace success
with dwarf4_success in the 32-bit --gdwarf-4 check.
* dwarf2out.c (asm_outputs_debug_line_str): Check
HAVE_AS_WORKING_DWARF_N_FLAG instead of
HAVE_AS_WORKING_DWARF_4_FLAG.
* gcc.c (ASM_DEBUG_SPEC): Likewise.
(ASM_DEBUG_OPTION_SPEC): Likewise.
* config.in: Regenerated.
* configure: Likewise.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/97451] [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
` (7 preceding siblings ...)
2020-10-24 16:51 ` cvs-commit at gcc dot gnu.org
@ 2020-10-24 17:26 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2020-10-24 17:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97451
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2020-10-24 17:26 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15 20:07 [Bug bootstrap/97451] New: [11 Regression] r11-3959 failed --with-build-config=bootstrap-cet hjl.tools at gmail dot com
2020-10-15 20:32 ` [Bug bootstrap/97451] " hjl.tools at gmail dot com
2020-10-15 21:04 ` hjl.tools at gmail dot com
2020-10-16 6:16 ` rguenth at gcc dot gnu.org
2020-10-16 10:24 ` jakub at gcc dot gnu.org
2020-10-16 12:18 ` rguenth at gcc dot gnu.org
2020-10-16 16:33 ` hjl.tools at gmail dot com
2020-10-16 17:59 ` hjl.tools at gmail dot com
2020-10-24 16:51 ` cvs-commit at gcc dot gnu.org
2020-10-24 17:26 ` hjl.tools at gmail dot com
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).