public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Peter Bergner <bergner@linux.ibm.com>
To: Ian Lance Taylor <iant@golang.org>
Cc: "Paul E. Murphy" <murphyp@linux.ibm.com>,
	gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH 1/2] go: update usage of TARGET_AIX to TARGET_AIX_OS
Date: Fri, 30 Jun 2023 12:28:10 -0500	[thread overview]
Message-ID: <b07201db-9e71-22dc-5f77-ce0fea7b867a@linux.ibm.com> (raw)
In-Reply-To: <CAKOQZ8xjqcUyDX3pfr1pcG2eURMikYXhZQs1G9CnysuupSjm=w@mail.gmail.com>

On 6/22/23 10:30 PM, Ian Lance Taylor wrote:
> On Thu, Jun 22, 2023, 4: 47 PM Peter Bergner <bergner@ linux. ibm. com> wrote: On 6/22/23 6: 37 PM, Peter Bergner via Gcc-patches wrote: > On 6/16/23 
>     >> On Fri, Jun 16, 2023 at 9:00 AM Paul E. Murphy via Gcc-patches
>     >> <gcc-patches@gcc.gnu.org <mailto:gcc-patches@gcc.gnu.org>> wrote:
>     >>>
>     >>> TARGET_AIX is defined to a non-zero value on linux and maybe other
>     >>> powerpc64le targets.  This leads to unexpected behavior such as
>     >>> dropping the .go_export section when linking a shared library
>     >>> on linux/powerpc64le.
>     >>>
>     >>> Instead, use TARGET_AIX_OS to toggle AIX specific behavior.
>     >>>
>     >>> Fixes golang/go#60798.
>     >>>
>     >>> gcc/go/ChangeLog:
>     >>>
>     >>>         * go-backend.cc [TARGET_AIX]: Rename and update usage to
>     >>>         TARGET_AIX_OS.
>     >>>         * go-lang.cc: Likewise.
>     >>
>     >> This is OK.
>     >>
>     >> Thanks.
>     >>
>     >> Ian
>     >
>     > I pushed this to trunk for Paul.
> 
>     I see this is broken on the release branches too.  Are backports ok
>     after some burn-in on trunk?
> 
> Yes.  Thanks.

Ok, I backported the Go fix to GCC 13, 12, 11 and 10 (before the 10.5 freeze).
I also backported to the rust change to GCC 13, which was the first release
with rust.   Thanks.

Peter


      reply	other threads:[~2023-06-30 17:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-16 16:00 Paul E. Murphy
2023-06-16 16:00 ` [PATCH 2/2] rust: " Paul E. Murphy
2023-06-19  8:39   ` Thomas Schwinge
2023-06-21 16:20     ` Paul E Murphy
2023-06-22 23:38       ` Peter Bergner
2023-06-16 17:01 ` [PATCH 1/2] go: " Ian Lance Taylor
2023-06-22 23:37   ` Peter Bergner
2023-06-22 23:46     ` Peter Bergner
2023-06-23  3:30       ` Ian Lance Taylor
2023-06-30 17:28         ` Peter Bergner [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=b07201db-9e71-22dc-5f77-ce0fea7b867a@linux.ibm.com \
    --to=bergner@linux.ibm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=iant@golang.org \
    --cc=murphyp@linux.ibm.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).