[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #17 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2e43880dbd4cb9722ae99708c01c399f985dc7c3 commit r11-6765-g2e43880dbd4cb9722ae99708c01c399f985dc7c3 Author: Jakub Jelinek Date: M

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #16 from Jakub Jelinek --- And the temporary workaround could be --- libstdc++-v3/src/c++11/Makefile.am.jj 2021-01-04 10:26:02.067970728 +0100 +++ libstdc++-v3/src/c++11/Makefile.am 2021-01-17 17:20:58.580262364 +0100 @@ -141,1

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #15 from Jakub Jelinek --- Comment on attachment 49986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49986 A patch If that works, that would be great. I can't easily test it right away, but perhaps you could. Just compile some

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #14 from H.J. Lu --- Created attachment 49986 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49986&action=edit A patch How about this assembler patch?

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #13 from Jakub Jelinek --- But then it will warn and not do what it was expected to do. Anyway, I've rebuilt cc1plus (on a box without new binutils) with hacking up auto-host.h so that it normally emits .file 0 "..." directive, and w

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #12 from Mark Wielaard --- On the binutils gas side it could be as simple as turning the error into a warning: diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index a428370ecca..a216bfd6b28 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #11 from Mark Wielaard --- Aha, now I see in libstdc++-v3/src/c++11/Makefile.am: if ENABLE_DUAL_ABI # Rewrite the type info for __ios_failure. rewrite_ios_failure_typeinfo = sed -e '/^_*_ZTISt13__ios_failure:/,/_ZTVN10__cxxabiv120__s

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #10 from H.J. Lu --- (In reply to Jakub Jelinek from comment #9) > Bootstrap is fine if one uses older binutils. > The thing is that cxx11-ios_failure* is built by hand first with -g -O2 -S, > then the assembly is modified by a script

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #9 from Jakub Jelinek --- Bootstrap is fine if one uses older binutils. The thing is that cxx11-ios_failure* is built by hand first with -g -O2 -S, then the assembly is modified by a script and then it is assembled, and as older assem

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #8 from Mark Wielaard --- I am not sure where the -g -O2 -g0 comes from. I must have missed this in my testing. The issue is the .file 0 directive, which is special to gas (only valid with -gdwarf-5). It is generated by dwarf2out_fi

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #7 from Jakub Jelinek --- I'd be for automatic bumping to dwarf5 level if .file 0 is seen, but remember that it happened and issue an error if .debug_info with version older than 5 is seen in the file.

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #6 from Jakub Jelinek --- The assembler has all the information in the assembly, .debug_info section contains version etc.

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 --- Comment #5 from Jakub Jelinek --- Ah, no, the *.s file is generated with -g, but the assembler isn't able to cope with it. I'd say that the assembler shouldn't require any directive or flag but just assemble it. Anything else seems to be an a

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 H.J. Lu changed: What|Removed |Added Target Milestone|--- |11.0 --- Comment #3 from H.J. Lu --- The asse

[Bug debug/98708] [11 Regression] cxx11-ios_failure-lt.s:36733: Error: file number less than one by r11-6755

2021-01-16 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98708 H.J. Lu changed: What|Removed |Added Summary|[11 Regression] |[11 Regression] |cxx11-ios_f