public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: David Edelsohn <dje@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-6860] aix: AIX is not GLIBC.
Date: Tue, 25 Jan 2022 15:30:09 +0000 (GMT)	[thread overview]
Message-ID: <20220125153009.661333857C7E@sourceware.org> (raw)

https://gcc.gnu.org/g:9099e0bc6667ba319f4b794a5a98a364e7f9aef9

commit r12-6860-g9099e0bc6667ba319f4b794a5a98a364e7f9aef9
Author: David Edelsohn <dje.gcc@gmail.com>
Date:   Tue Jan 25 10:18:28 2022 -0500

    aix: AIX is not GLIBC.
    
    A recent patch added tests for OPTION_GLIBC that is defined in
    linux.h and linux64.h.  This broke bootstrap for non-Linux rs6000
    configurations.  This patch defines OPTION_GLIBC as 0.
    
            * config/rs6000/aix.h (OPTION_GLIBC): Define as 0.

Diff:
---
 gcc/config/rs6000/aix.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h
index ad3238bf09a..eb7a0c09f72 100644
--- a/gcc/config/rs6000/aix.h
+++ b/gcc/config/rs6000/aix.h
@@ -23,6 +23,7 @@
 #define DEFAULT_ABI ABI_AIX
 #undef  TARGET_AIX
 #define TARGET_AIX 1
+#define OPTION_GLIBC 0
 
 /* Linux64.h wants to redefine TARGET_AIX based on -m64, but it can't be used
    in the #if conditional in options-default.h, so provide another macro.  */


                 reply	other threads:[~2022-01-25 15:30 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=20220125153009.661333857C7E@sourceware.org \
    --to=dje@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: 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).