From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6A0673987C02; Fri, 23 Oct 2020 11:40:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A0673987C02 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/97541] New: Ada failed to bootstrap: Error: file table slot 1 is already occupied by a different file Date: Fri, 23 Oct 2020 11:40:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: hjl.tools at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: 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 11:40:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97541 Bug ID: 97541 Summary: Ada failed to bootstrap: Error: file table slot 1 is already occupied by a different file Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386,x86-64 With --gdwarf-4 assembler on Linux/x86-64, I got $ /export/users/hjl/build/gnu/tools-build/gcc/build-x86_64-linux/./gcc/xgcc -B/export/users/hjl/build/gnu/tools-build/gcc/build-x86_64-linux/./gcc/ -B/usr/gcc-11.0.0-x86-64/x86_64-pc-linux-gnu/bin/ -B/usr/gcc-11.0.0-x86-64/x86_64-pc-linux-gnu/lib/ -isystem /usr/gcc-11.0.0-x86-64/x86_64-pc-linux-gnu/include -isystem /usr/gcc-11.0.0-x86-64/x86_64-pc-linux-gnu/sys-include -fchecking=3D1 -c = -g -O2 -m32 -W -Wall -gnatpg -nostdinc -m32 a-stzunb.adb -c /tmp/cc6QPugj.s: Assembler messages: /tmp/cc6QPugj.s:42: Error: file table slot 1 is already occupied by a diffe= rent file (/tmp/cc6QPugj.s vs a-stzunb.adb) Ada generates: .file "a-stzunb.adb" .text .Ltext0: .align 2 .p2align 4 .globl ada__strings__wide_wide_unbounded___size__2 .type ada__strings__wide_wide_unbounded___size__2, @function ada__strings__wide_wide_unbounded___size__2: .LFB5: .cfi_startproc movl $64, %eax xorl %edx, %edx ret .cfi_endproc .LFE5: .size ada__strings__wide_wide_unbounded___size__2, .-ada__strings__wid e_wide_unbounded___size__2 .align 2 .p2align 4 .globl=20 ada__strings__wide_wide_unbounded__unbounded_wide_wide_stringDA_ _2 .type=20=20 ada__strings__wide_wide_unbounded__unbounded_wide_wide_stringDA_ _2, @function ada__strings__wide_wide_unbounded__unbounded_wide_wide_stringDA__2: .LFB12: .cfi_startproc movl 4(%esp), %eax movl 4(%eax), %eax #APP # 82 "s-atocou.adb" 1 <<<<<<<< File 1 lock incl 4(%eax) # 0 "" 2 #NO_APP ret .cfi_endproc .LFE12: .size=20=20 ada__strings__wide_wide_unbounded__unbounded_wide_wide_stringDA_ _2, .-ada__strings__wide_wide_unbounded__unbounded_wide_wide_stringDA__2 .align 2 .p2align 4 .globl ada__strings__wide_wide_unbounded__adjust__2 .type ada__strings__wide_wide_unbounded__adjust__2, @function ada__strings__wide_wide_unbounded__adjust__2: .LVL0: .LFB47: .file 1 "a-stzunb.adb" <<<< File 1 again .loc 1 478 4 view -0 .cfi_startproc .LBB706: .LBB707: .LBB708: .file 2 "s-atocou.adb"=