[Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0
[Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475 Aurelien Jarno changed: What|Removed |Added CC||aurelien at aurel32 dot net --- Comment #4 from Aurelien Jarno --- (In reply to Jonathan Wakely from comment #1) > Does it need to define it? Some software, like libmicrohttpd, check in there configure script if _REENTRANT is correctly defined. This might be wrong, but I guess riscv-linux should just behave like other platforms. Could someone with commit rights please backport this to the gcc 7 branch?
[Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475 --- Comment #3 from joseph at codesourcery dot com --- Note that _REENTRANT is a no-op with glibc 2.25 or later unless you specifically select an old standard version (in which case it's an alias for _POSIX_C_SOURCE=199506L).
[Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475 Andreas Schwabchanged: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Andreas Schwab --- Fix in r257621.
[Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475 --- Comment #1 from Jonathan Wakely --- Does it need to define it?