From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3C663858022; Fri, 23 Oct 2020 13:16:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3C663858022 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/97541] Ada failed to bootstrap: Error: file table slot 1 is already occupied by a different file Date: Fri, 23 Oct 2020 13:16:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2020 13:16:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97541 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC|jakub at redhat dot com |mark at gcc dot gnu= .org --- Comment #4 from Jakub Jelinek --- # 82 "s-atocou.adb" 1 isn't a .file assignment though. As I said earlier, if we don't want to revert the r11-3693 change and be ab= le to specify -gdwarf-5 etc. to gas even when compiling files that contain explicit .debug_info from the compiler, then we need gas to act as if all t= hat option affects is the version of the .debug_line emitted for explicit .file*/.loc* directives if present and nothing else (whenever the assembly contains manual .file*/.loc* directives or .debug_{info,line,...} sections). So, basically, gas can start preparing for generation of its own .debug_* sections but sho= uld roll all that back when it sees .file/.loc directives or user .debug_{info,line} sections (perhaps some others). Or, the other option is not to pass -gdwarf-5 to gas, but pass -gdwarf-line-version=3D5 or whatever other new option, which would only cha= nge the decision on if gas emits .debug_line section because of .file*/.loc* directives (and .debug_line is not present), what version of that to use.=