public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/94372] New: pthread doesn't define _REENTRANT in preprocessor on OpenRISC
@ 2020-03-27 21:21 bernd.kuhls@t-online.de
  2020-03-28 16:20 ` [Bug target/94372] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bernd.kuhls@t-online.de @ 2020-03-27 21:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372

            Bug ID: 94372
           Summary: pthread doesn't define _REENTRANT in preprocessor on
                    OpenRISC
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bernd.kuhls@t-online.de
  Target Milestone: ---

Created attachment 48138
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48138&action=edit
Patch

OpenRISC doesn't have _REENTRANT defined when -pthread is appended.

Some software, like libmicrohttpd, check in their configure script if
_REENTRANT is correctly defined as seen on buildroot autobuilders:
http://autobuild.buildroot.net/results/ceb802eea0fee5812efd717ae4cdbd9673d9507e/libmicrohttpd-0.9.70/config.log

This bug is similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84475

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

end of thread, other threads:[~2022-02-02 11:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-27 21:21 [Bug target/94372] New: pthread doesn't define _REENTRANT in preprocessor on OpenRISC bernd.kuhls@t-online.de
2020-03-28 16:20 ` [Bug target/94372] " redi at gcc dot gnu.org
2022-01-31 13:52 ` shorne at gcc dot gnu.org
2022-02-02 11:03 ` cvs-commit at gcc dot gnu.org
2022-02-02 11:15 ` shorne at gcc dot gnu.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).