From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C94013858D37; Wed, 28 Jun 2023 19:37:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C94013858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687981046; bh=XT9fYEbyUYWwLWZ1CHEzj1hwoul4fkNQ/3gdr402WNM=; h=From:To:Subject:Date:From; b=lVxvst+3iDBidYTxONXy1auM/ULlGEpmoZP4cG9OmxK9CQnz+Bx6es0JP5wAnp0FP x4js02mkGWdZ5QF9BSg0iXFNLy3EtWnJADqLQNIe9ZkC4dT2ihBnpLj62UnsuBScHp uSn+hqDLZG94P4ULQup6fZl9xq+j9OGxwpx6yRX4= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/110467] New: Bootstrap with Ada enabled fails with --enable-host-pie Date: Wed, 28 Jun 2023 19:37:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org 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 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110467 Bug ID: 110467 Summary: Bootstrap with Ada enabled fails with --enable-host-pie Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- Since r14-2132: commit 4a48a38fa99f067b8f3a3d1a5dc7a1e602db351f Author: Eric Botcazou Date: Wed Jun 21 18:19:36 2023 +0200 ada: Fix build of GNAT tools gcc configured with e.g. .../gcc/configure --enable-languages=3Dall --prefix=3D`pwd` --enable-checki= ng=3Dyes --with-gnu-ld --with-gnu-as --disable-libsanitizer --disable-bootstrap --enable-host-pie fails: /usr/bin/ld: b_gnatl.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: gnatlink.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: a-except.o: relocation R_X86_64_32S against `.rodata' can not = be used when making a PIE object; recompile with -fPIE /usr/bin/ld: ali.o: relocation R_X86_64_32 against `.rodata.str1.8' can not= be used when making a PIE object; recompile with -fPIE /usr/bin/ld: butil.o: relocation R_X86_64_32S against `.rodata' can not be = used when making a PIE object; recompile with -fPIE /usr/bin/ld: casing.o: relocation R_X86_64_32S against symbol `csets__identifier_char' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: csets.o: relocation R_X86_64_32S against `.rodata' can not be = used when making a PIE object; recompile with -fPIE /usr/bin/ld: debug.o: relocation R_X86_64_32S against `.rodata' can not be = used when making a PIE object; recompile with -fPIE /usr/bin/ld: fmap.o: relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: fname.o: relocation R_X86_64_32 against `.rodata' can not be u= sed when making a PIE object; recompile with -fPIE /usr/bin/ld: gnatvsn.o: relocation R_X86_64_32S against symbol `gnat_version_string' can not be used when making a PIE object; recompile w= ith -fPIE /usr/bin/ld: hostparm.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: i-c.o: relocation R_X86_64_32 against `.rodata.str1.1' can not= be used when making a PIE object; recompile with -fPIE /usr/bin/ld: i-cstrin.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: namet.o: relocation R_X86_64_32S against `.rodata' can not be = used when making a PIE object; recompile with -fPIE /usr/bin/ld: opt.o: relocation R_X86_64_32S against `.rodata' can not be us= ed when making a PIE object; recompile with -fPIE /usr/bin/ld: osint.o: relocation R_X86_64_32 against `.rodata' can not be u= sed when making a PIE object; recompile with -fPIE /usr/bin/ld: output.o: relocation R_X86_64_32 against `.rodata.str1.1' can = not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: s-exctab.o: relocation R_X86_64_32S against symbol `system__exception_table__htable' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: s-secsta.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: snames.o: relocation R_X86_64_32 against `.rodata.str1.8' can = not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: stylesw.o: relocation R_X86_64_32 against `.rodata.str1.1' can= not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: switch.o: relocation R_X86_64_32 against `.rodata' can not be = used when making a PIE object; recompile with -fPIE /usr/bin/ld: targparm.o: relocation R_X86_64_32S against symbol `namet__global_name_buffer' can not be used when making a PIE object; recom= pile with -fPIE /usr/bin/ld: types.o: relocation R_X86_64_32 against `.rodata.str1.1' can n= ot be used when making a PIE object; recompile with -fPIE /usr/bin/ld: validsw.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: widechar.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE=