public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: Bo YU <tsu.yubo@gmail.com>, gcc-patches@gcc.gnu.org
Cc: palmer@rivosinc.com, kito.cheng@sifive.com, jiawei@iscas.ac.cn
Subject: Re: [PATCH 13-backport] riscv/linux: Don't add -latomic with -pthread
Date: Fri, 19 May 2023 11:22:58 -0600	[thread overview]
Message-ID: <947768c9-b58d-7063-186d-a5eb992d6509@gmail.com> (raw)
In-Reply-To: <20230517092238.imdawv4fkhu466bf@debian>



On 5/17/23 03:22, Bo YU wrote:
> Hi,
> 
> I just want to backport the commit to gcc-13 branch:
> 
> commit 203f3060dd363361b172f7295f42bb6bf5ac0b3b
> Author: Andreas Schwab <schwab@suse.de>
> Date:   Sat Apr 23 15:48:42 2022 +0200
> 
>      riscv/linux: Don't add -latomic with -pthread
> 
>      Now that we have support for inline subword atomic operations, it 
> is no
>      longer necessary to link against libatomic.  This also fixes testsuite
>      failures because the framework does not properly set up the linker 
> flags
>      for finding libatomic.
>      The use of atomic operations is also independent of the use of 
> libpthread.
> 
>      gcc/
>              * config/riscv/linux.h (LIB_SPEC): Don't redefine.
> 
> The discussion is here:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338#c20
THanks.  I've backported this to gcc-13.
jeff

      reply	other threads:[~2023-05-19 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-17  9:22 Bo YU
2023-05-19 17:22 ` Jeff Law [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=947768c9-b58d-7063-186d-a5eb992d6509@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jiawei@iscas.ac.cn \
    --cc=kito.cheng@sifive.com \
    --cc=palmer@rivosinc.com \
    --cc=tsu.yubo@gmail.com \
    /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 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).