From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] gcc/config/riscv: define _REENTRANT for RISC-V when -pthread is passed
Date: Sat, 24 Nov 2018 11:51:40 +0100 [thread overview]
Message-ID: <20181124115140.4d74678f@windsurf> (raw)
In-Reply-To: <20181122133112.26701-1-mark.corbin@embecosm.com>
Hello,
On Thu, 22 Nov 2018 13:31:12 +0000, Mark Corbin wrote:
> The detection of pthread support fails on RISC-V unless _REENTRANT
> is defined. Added the CPP_SPEC definition from gcc 8.1.0 to correct
> this.
>
> Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
> ---
> ...TRANT-for-RISC-V-when-pthread-is-pas.patch | 30 +++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 package/gcc/7.3.0/1001-gcc-define-_REENTRANT-for-RISC-V-when-pthread-is-pas.patch
Applied to master, thanks. I have also reverted all the
package-specific fixes we had to add _REENTRANT to fix this RISC-V
issue.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2018-11-24 10:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-22 13:31 [Buildroot] [PATCH 1/1] gcc/config/riscv: define _REENTRANT for RISC-V when -pthread is passed Mark Corbin
2018-11-24 10:51 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181124115140.4d74678f@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.