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.ku...@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