public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug string/26818] New: aarch64: string tests may run ifunc variants that are not safe
@ 2020-10-30 11:51 nsz at gcc dot gnu.org
  2021-01-25 16:16 ` [Bug string/26818] " cvs-commit at gcc dot gnu.org
  2021-01-25 17:22 ` nsz at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: nsz at gcc dot gnu.org @ 2020-10-30 11:51 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26818

            Bug ID: 26818
           Summary: aarch64: string tests may run ifunc variants that are
                    not safe
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: nsz at gcc dot gnu.org
  Target Milestone: ---

most aarch64 ifunc variants are set to "usable" in

sysdeps/aarch64/multiarch/ifunc-impl-list.c

but some are not BTI or MTE safe and may fail on a
new system with HWCAP2_BTI or HWCAP2_MTE set.

i believe this only affects glibc internal tests and
benchmarks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug string/26818] aarch64: string tests may run ifunc variants that are not safe
  2020-10-30 11:51 [Bug string/26818] New: aarch64: string tests may run ifunc variants that are not safe nsz at gcc dot gnu.org
@ 2021-01-25 16:16 ` cvs-commit at gcc dot gnu.org
  2021-01-25 17:22 ` nsz at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-01-25 16:16 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26818

--- Comment #1 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=04c6a8073d1c9d73c4a88b536aeb803b12fbffdc

commit 04c6a8073d1c9d73c4a88b536aeb803b12fbffdc
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Fri Jan 22 16:57:32 2021 +0000

    aarch64: Fix the list of tested IFUNC variants [BZ #26818]

    Some IFUNC variants are not compatible with BTI and MTE so don't
    set them as usable for testing and benchmarking on a BTI or MTE
    enabled system.

    As far as IFUNC selectors are concerned a system is BTI enabled if
    the cpu supports it and glibc was built with BTI branch protection.

    Most IFUNC variants are BTI compatible, but thunderx2 memcpy and
    memmove use a jump table with indirect jump, without a BTI j.

    Fixes bug 26818.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug string/26818] aarch64: string tests may run ifunc variants that are not safe
  2020-10-30 11:51 [Bug string/26818] New: aarch64: string tests may run ifunc variants that are not safe nsz at gcc dot gnu.org
  2021-01-25 16:16 ` [Bug string/26818] " cvs-commit at gcc dot gnu.org
@ 2021-01-25 17:22 ` nsz at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: nsz at gcc dot gnu.org @ 2021-01-25 17:22 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26818

Szabolcs Nagy <nsz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |2.33

--- Comment #2 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] 3+ messages in thread

end of thread, other threads:[~2021-01-25 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-30 11:51 [Bug string/26818] New: aarch64: string tests may run ifunc variants that are not safe nsz at gcc dot gnu.org
2021-01-25 16:16 ` [Bug string/26818] " cvs-commit at gcc dot gnu.org
2021-01-25 17:22 ` 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).