public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug string/30621] New: compilers pretending to be gcc may break due to __builtin___stpncpy_chk
@ 2023-07-07 18:21 siddhesh at sourceware dot org
2023-07-07 18:22 ` [Bug string/30621] " siddhesh at sourceware dot org
0 siblings, 1 reply; 2+ messages in thread
From: siddhesh at sourceware dot org @ 2023-07-07 18:21 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30621
Bug ID: 30621
Summary: compilers pretending to be gcc may break due to
__builtin___stpncpy_chk
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: string
Assignee: unassigned at sourceware dot org
Reporter: siddhesh at sourceware dot org
Target Milestone: ---
The nvidia cuda compiler appears to[1] pretend to be gcc (or maybe clang) to
try and enable some features, but ends up enabling __builtin___stpncpy_chk even
when it doesn't implement that. Fix up the macro checks in string_fortified.h
to handle this.
[1]
https://stackoverflow.com/questions/76531467/nvcc-cuda8-gcc-5-3-no-longer-compiles-with-o1-on-ubuntu-22-04
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug string/30621] compilers pretending to be gcc may break due to __builtin___stpncpy_chk
2023-07-07 18:21 [Bug string/30621] New: compilers pretending to be gcc may break due to __builtin___stpncpy_chk siddhesh at sourceware dot org
@ 2023-07-07 18:22 ` siddhesh at sourceware dot org
0 siblings, 0 replies; 2+ messages in thread
From: siddhesh at sourceware dot org @ 2023-07-07 18:22 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30621
Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |siddhesh at sourceware dot org
CC| |fernando.hueso at uv dot es
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-07 18:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-07 18:21 [Bug string/30621] New: compilers pretending to be gcc may break due to __builtin___stpncpy_chk siddhesh at sourceware dot org
2023-07-07 18:22 ` [Bug string/30621] " siddhesh at sourceware 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).