public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/27555] New: Static tests fail with --enable-stack-protector=all
@ 2021-03-10 10:04 siddhesh at sourceware dot org
  2021-03-15 16:37 ` [Bug dynamic-link/27555] " siddhesh at sourceware dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: siddhesh at sourceware dot org @ 2021-03-10 10:04 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27555
           Summary: Static tests fail with --enable-stack-protector=all
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: siddhesh at sourceware dot org
  Target Milestone: ---

The following tests fail when glibc is build with --enable-stack-protector=all:

elf/tst-ifunc-isa-1-static
elf/tst-ifunc-isa-2-static

This is distinct from bug 25680 since it also involves a fix to
__x86_get_cpuid_feature_leaf build options.

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

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

* [Bug dynamic-link/27555] Static tests fail with --enable-stack-protector=all
  2021-03-10 10:04 [Bug dynamic-link/27555] New: Static tests fail with --enable-stack-protector=all siddhesh at sourceware dot org
@ 2021-03-15 16:37 ` siddhesh at sourceware dot org
  2021-03-15 16:37 ` siddhesh at sourceware dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: siddhesh at sourceware dot org @ 2021-03-15 16:37 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
Fix is in mainline.

commit 941ea10f8099cb4fcc98c65249fc17a63fcff6a4
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date:   Mon Mar 15 20:24:45 2021 +0530

    Build get-cpuid-feature-leaf.c without stack-protector [BZ #27555]

    __x86_get_cpuid_feature_leaf is called during early startup, before
    the stack check guard is initialized and is hence not safe to build
    with stack-protector.

    Additionally, IFUNC resolvers for static tst-ifunc-isa tests get
    called too early for stack protector to be useful, so fix them to
    disable stack protector for the resolver functions.

    This fixes all failures seen with --enable-stack-protector=all
    configuration.

    Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

I've also created bug 27582 because it is possible (but just a bit more work to
vwrite and verify than I can put in at the moment) to make this test non-flaky
with stack-protector-all.

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

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

* [Bug dynamic-link/27555] Static tests fail with --enable-stack-protector=all
  2021-03-10 10:04 [Bug dynamic-link/27555] New: Static tests fail with --enable-stack-protector=all siddhesh at sourceware dot org
  2021-03-15 16:37 ` [Bug dynamic-link/27555] " siddhesh at sourceware dot org
@ 2021-03-15 16:37 ` siddhesh at sourceware dot org
  2024-06-12 23:22 ` sam at gentoo dot org
  2024-06-12 23:22 ` sam at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: siddhesh at sourceware dot org @ 2021-03-15 16:37 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.34

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

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

* [Bug dynamic-link/27555] Static tests fail with --enable-stack-protector=all
  2021-03-10 10:04 [Bug dynamic-link/27555] New: Static tests fail with --enable-stack-protector=all siddhesh at sourceware dot org
  2021-03-15 16:37 ` [Bug dynamic-link/27555] " siddhesh at sourceware dot org
  2021-03-15 16:37 ` siddhesh at sourceware dot org
@ 2024-06-12 23:22 ` sam at gentoo dot org
  2024-06-12 23:22 ` sam at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: sam at gentoo dot org @ 2024-06-12 23:22 UTC (permalink / raw)
  To: glibc-bugs

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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=27582

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

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

* [Bug dynamic-link/27555] Static tests fail with --enable-stack-protector=all
  2021-03-10 10:04 [Bug dynamic-link/27555] New: Static tests fail with --enable-stack-protector=all siddhesh at sourceware dot org
                   ` (2 preceding siblings ...)
  2024-06-12 23:22 ` sam at gentoo dot org
@ 2024-06-12 23:22 ` sam at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: sam at gentoo dot org @ 2024-06-12 23:22 UTC (permalink / raw)
  To: glibc-bugs

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

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

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

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

end of thread, other threads:[~2024-06-12 23:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 10:04 [Bug dynamic-link/27555] New: Static tests fail with --enable-stack-protector=all siddhesh at sourceware dot org
2021-03-15 16:37 ` [Bug dynamic-link/27555] " siddhesh at sourceware dot org
2021-03-15 16:37 ` siddhesh at sourceware dot org
2024-06-12 23:22 ` sam at gentoo dot org
2024-06-12 23:22 ` sam at gentoo dot 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).