public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libc/27068] New: Static binaries SIGILL when BTI is enabled on aarch64 @ 2020-12-14 8:26 guillaume.gardet at arm dot com 2020-12-14 12:53 ` [Bug libc/27068] " adhemerval.zanella at linaro dot org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: guillaume.gardet at arm dot com @ 2020-12-14 8:26 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=27068 Bug ID: 27068 Summary: Static binaries SIGILL when BTI is enabled on aarch64 Product: glibc Version: 2.32 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: guillaume.gardet at arm dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Created attachment 13050 --> https://sourceware.org/bugzilla/attachment.cgi?id=13050&action=edit add_bti_landing_pad.patch While testing BTI on openSUSE Tumbleweed on aarch64, it showed a SIGILL error while running ldconfig, which is statically compiled. To workaround/fix the problem, I applied the attached patch which add a BTI landing pad for static binaries, with PIC enabled. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/27068] Static binaries SIGILL when BTI is enabled on aarch64 2020-12-14 8:26 [Bug libc/27068] New: Static binaries SIGILL when BTI is enabled on aarch64 guillaume.gardet at arm dot com @ 2020-12-14 12:53 ` adhemerval.zanella at linaro dot org 2020-12-14 15:32 ` nsz at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: adhemerval.zanella at linaro dot org @ 2020-12-14 12:53 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=27068 Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at linaro dot o | |rg --- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> --- Could you send a patch for this issue on libc-alpha? I think it should be a release blocker for 2.33. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/27068] Static binaries SIGILL when BTI is enabled on aarch64 2020-12-14 8:26 [Bug libc/27068] New: Static binaries SIGILL when BTI is enabled on aarch64 guillaume.gardet at arm dot com 2020-12-14 12:53 ` [Bug libc/27068] " adhemerval.zanella at linaro dot org @ 2020-12-14 15:32 ` nsz at gcc dot gnu.org 2020-12-15 9:47 ` [Bug libc/27068] Static PIE " nsz at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: nsz at gcc dot gnu.org @ 2020-12-14 15:32 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=27068 Szabolcs Nagy <nsz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at sourceware dot org |nsz at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2020-12-14 Ever confirmed|0 |1 CC| |nsz at gcc dot gnu.org --- Comment #2 from Szabolcs Nagy <nsz at gcc dot gnu.org> --- yeah it seems the -static-pie case was not tested and was broken, i'll take this. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/27068] Static PIE binaries SIGILL when BTI is enabled on aarch64 2020-12-14 8:26 [Bug libc/27068] New: Static binaries SIGILL when BTI is enabled on aarch64 guillaume.gardet at arm dot com 2020-12-14 12:53 ` [Bug libc/27068] " adhemerval.zanella at linaro dot org 2020-12-14 15:32 ` nsz at gcc dot gnu.org @ 2020-12-15 9:47 ` nsz at gcc dot gnu.org 2020-12-15 14:30 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: nsz at gcc dot gnu.org @ 2020-12-15 9:47 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=27068 Szabolcs Nagy <nsz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Static binaries SIGILL when |Static PIE binaries SIGILL |BTI is enabled on aarch64 |when BTI is enabled on | |aarch64 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/27068] Static PIE binaries SIGILL when BTI is enabled on aarch64 2020-12-14 8:26 [Bug libc/27068] New: Static binaries SIGILL when BTI is enabled on aarch64 guillaume.gardet at arm dot com ` (2 preceding siblings ...) 2020-12-15 9:47 ` [Bug libc/27068] Static PIE " nsz at gcc dot gnu.org @ 2020-12-15 14:30 ` cvs-commit at gcc dot gnu.org 2021-01-21 16:04 ` cvs-commit at gcc dot gnu.org 2021-03-29 8:55 ` nsz at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2020-12-15 14:30 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=27068 --- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Szabolcs Nagy <nsz@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d4136903a29baabeec8987b53081def8b4a49826 commit d4136903a29baabeec8987b53081def8b4a49826 Author: Guillaume Gardet <guillaume.gardet@arm.com> Date: Mon Dec 14 15:38:22 2020 +0000 aarch64: fix static PIE start code for BTI [BZ #27068] A bti c was missing from rcrt1.o which made all -static-pie binaries fail at program startup on BTI enabled systems. Fixes bug 27068. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/27068] Static PIE binaries SIGILL when BTI is enabled on aarch64 2020-12-14 8:26 [Bug libc/27068] New: Static binaries SIGILL when BTI is enabled on aarch64 guillaume.gardet at arm dot com ` (3 preceding siblings ...) 2020-12-15 14:30 ` cvs-commit at gcc dot gnu.org @ 2021-01-21 16:04 ` cvs-commit at gcc dot gnu.org 2021-03-29 8:55 ` nsz at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2021-01-21 16:04 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=27068 --- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The release/2.32/master branch has been updated by Szabolcs Nagy <nsz@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d3cb8f6222a3cb955712b720d7c0c0dba37898f9 commit d3cb8f6222a3cb955712b720d7c0c0dba37898f9 Author: Guillaume Gardet <guillaume.gardet@arm.com> Date: Mon Dec 14 15:38:22 2020 +0000 aarch64: fix static PIE start code for BTI [BZ #27068] A bti c was missing from rcrt1.o which made all -static-pie binaries fail at program startup on BTI enabled systems. Fixes bug 27068. (cherry picked from commit d4136903a29baabeec8987b53081def8b4a49826) -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/27068] Static PIE binaries SIGILL when BTI is enabled on aarch64 2020-12-14 8:26 [Bug libc/27068] New: Static binaries SIGILL when BTI is enabled on aarch64 guillaume.gardet at arm dot com ` (4 preceding siblings ...) 2021-01-21 16:04 ` cvs-commit at gcc dot gnu.org @ 2021-03-29 8:55 ` nsz at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: nsz at gcc dot gnu.org @ 2021-03-29 8:55 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=27068 Szabolcs Nagy <nsz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |2.33 Host| |aarch64 Status|NEW |RESOLVED --- Comment #5 from Szabolcs Nagy <nsz at gcc dot gnu.org> --- fixed for 2.33 -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-03-29 8:55 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-12-14 8:26 [Bug libc/27068] New: Static binaries SIGILL when BTI is enabled on aarch64 guillaume.gardet at arm dot com 2020-12-14 12:53 ` [Bug libc/27068] " adhemerval.zanella at linaro dot org 2020-12-14 15:32 ` nsz at gcc dot gnu.org 2020-12-15 9:47 ` [Bug libc/27068] Static PIE " nsz at gcc dot gnu.org 2020-12-15 14:30 ` cvs-commit at gcc dot gnu.org 2021-01-21 16:04 ` cvs-commit at gcc dot gnu.org 2021-03-29 8:55 ` nsz at gcc dot gnu.org
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).