public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-6925] Darwin, PPC: Fix bootstrap after GLIBC version changes. Date: Fri, 28 Jan 2022 19:22:13 +0000 (GMT) [thread overview] Message-ID: <20220128192213.3DCA8385840C@sourceware.org> (raw) https://gcc.gnu.org/g:3a5fdf986dc6ebb6e244087b462132590ad0a184 commit r12-6925-g3a5fdf986dc6ebb6e244087b462132590ad0a184 Author: Iain Sandoe <iain@sandoe.co.uk> Date: Fri Jan 28 19:17:16 2022 +0000 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. Diff: --- 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
reply other threads:[~2022-01-28 19:22 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220128192213.3DCA8385840C@sourceware.org \ --to=iains@gcc.gnu.org \ --cc=gcc-cvs@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: linkBe 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).