[Bug target/84475] pthread doesn't define _REENTRANT in preprocessor on riscv-linux

2020-03-28 Thread redi at gcc dot gnu.org
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

2018-03-11 Thread aurelien at aurel32 dot net
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

2018-02-20 Thread joseph at codesourcery dot com
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

2018-02-20 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475

Andreas Schwab  changed:

   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

2018-02-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475

--- Comment #1 from Jonathan Wakely  ---
Does it need to define it?