[Bug libc/29141] _FORTIFY_SOURCE=3 fail for gcc 12/glibc 2.35

2022-05-16 Thread siddhesh at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29141 Siddhesh Poyarekar changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug libc/29141] _FORTIFY_SOURCE=3 fail for gcc 12/glibc 2.35

2022-05-12 Thread siddhesh at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29141 --- Comment #6 from Siddhesh Poyarekar --- (In reply to Petr Ovtchenkov from comment #5) > Hmm. c8ee1c8 not correspond to diff you show above. Ah, sorry no, they're two different things that I formatted very badly making it seem like it's one

[Bug libc/29141] _FORTIFY_SOURCE=3 fail for gcc 12/glibc 2.35

2022-05-12 Thread siddhesh at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29141 Siddhesh Poyarekar changed: What|Removed |Added Version|unspecified |2.36 Product|elfutils

[Bug general/29141] _FORTIFY_SOURCE=3 fail for gcc 12/glibc 2.35

2022-05-11 Thread siddhesh at sourceware dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=29141 --- Comment #2 from Siddhesh Poyarekar --- I can see that it happens with the latest glibc snapshot in rawhide too. For some reason the fortified function doesn't get simplified (i.e. choose between __pread_alias and __pread_chk at compile ti