public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Iain Sandoe <iain@sandoe.co.uk>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Cc: David Edelsohn <dje.gcc@gmail.com>
Subject: Re: [PATCH] Disable -fsplit-stack support on non-glibc targets
Date: Fri, 28 Jan 2022 19:25:11 +0000	[thread overview]
Message-ID: <5948124D-914D-4E2A-9E29-0BEED3703FE4@sandoe.co.uk> (raw)
In-Reply-To: <CAGWvnykefRCy=c6aa6cwaS9f6FF+kh_5U3A4sVVFDe6U2ojkGA@mail.gmail.com>



> On 25 Jan 2022, at 15:27, David Edelsohn <dje.gcc@gmail.com> wrote:
> 
> This patch broke bootstrap on AIX.  It may have broken Darwin. 

As you anticipated, it did : fixed as below (tested on powerpc-darwin9,
pushed to master).

thanks
Iain

[pushed] Darwin, PPC: Fix bootstrap after GLIBC version changes.

A recent patch added tests for OPTION_GLIBC that is defined in
linux.h and linux64.h.  This broke bootstrap for powerpc Darwin.
Fixed by adding a definition to 0 for OPTION_GLIBC.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

gcc/ChangeLog:

	* config/rs6000/darwin.h (OPTION_GLIBC): Define to 0.
---
 gcc/config/rs6000/darwin.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index b5cef42610f..210c60694cd 100644
--- a/gcc/config/rs6000/darwin.h
+++ b/gcc/config/rs6000/darwin.h
@@ -34,6 +34,8 @@
 #endif
 #endif
 
+#define OPTION_GLIBC 0
+
 /* The object file format is Mach-O.  */
 
 #define TARGET_OBJECT_FORMAT OBJECT_MACHO
-- 
2.24.1




  reply	other threads:[~2022-01-28 19:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 15:27 David Edelsohn
2022-01-28 19:25 ` Iain Sandoe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-18 10:43 soeren
2021-12-18 10:54 ` Andrew Pinski
2021-12-18 11:13   ` Sören Tempel
2021-12-18 11:22     ` Andrew Pinski
2022-01-22  9:32 ` Martin Liška
2022-01-22  9:35   ` Jakub Jelinek
2022-01-22 12:16   ` Jakub Jelinek
2022-01-22 18:03     ` Jakub Jelinek
2022-01-23  9:06       ` Uros Bizjak
2022-01-23 10:06         ` Jakub Jelinek
2022-01-24  9:33       ` Jakub Jelinek
2022-01-24 10:09         ` Richard Biener

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=5948124D-914D-4E2A-9E29-0BEED3703FE4@sandoe.co.uk \
    --to=iain@sandoe.co.uk \
    --cc=dje.gcc@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    /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).