public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Szabolcs Nagy <nsz@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/arm/morello/main] aarch64: morello: add purecap support to build-many-glibcs.py
Date: Fri,  5 Aug 2022 19:30:21 +0000 (GMT)	[thread overview]
Message-ID: <20220805193021.0442D3857355@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=570f6858b7a0c809a2480fbbfcd9f667a0bffd74

commit 570f6858b7a0c809a2480fbbfcd9f667a0bffd74
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Mon Apr 25 10:52:12 2022 +0100

    aarch64: morello: add purecap support to build-many-glibcs.py
    
    aarch64-linux-gnu compiler is a lp64,purecap multilib gcc and
    supported glibc variants:
    
      aarch64-linux-gnu
      aarch64-linux-gnu-purecap
      aarch64-linux-gnu-purecap-nopie
    
    aarch64-linux-gnu_purecap compiler is a default purecap gcc, with
    supported glibc variants:
    
      aarch64-linux-gnu_purecap
      aarch64-linux-gnu_purecap-nopie
    
    purecap libgomp and libitm builds fail so disabled for now.

Diff:
---
 scripts/build-many-glibcs.py | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index da9b905900..79cdccb9dc 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -159,8 +159,24 @@ class Context(object):
         """Add all known glibc build configurations."""
         self.add_config(arch='aarch64',
                         os_name='linux-gnu',
+                        gcc_cfg=['--with-multilib-list=lp64,purecap',
+                                 '--disable-libgomp', '--disable-libitm'],
+                        glibcs=[{},
+                                {'variant': 'purecap',
+                                 'ccopts': '-mabi=purecap -march=morello+c64',
+                                 'cfg': ['--disable-werror']}],
                         extra_glibcs=[{'variant': 'disable-multi-arch',
-                                       'cfg': ['--disable-multi-arch']}])
+                                       'cfg': ['--disable-multi-arch']},
+                                      {'variant': 'purecap-nopie',
+                                       'ccopts': '-mabi=purecap -march=morello+c64',
+                                       'cfg': ['--disable-werror', '--disable-default-pie']}])
+        self.add_config(arch='aarch64',
+                        os_name='linux-gnu_purecap',
+                        gcc_cfg=['--with-abi=purecap', '--with-arch=morello+c64', '--disable-multilib',
+                                 '--disable-libgomp', '--disable-libitm'],
+                        glibcs=[{'cfg': ['--disable-werror']}],
+                        extra_glibcs=[{'variant': 'nopie',
+                                       'cfg': ['--disable-werror', '--disable-default-pie']}])
         self.add_config(arch='aarch64_be',
                         os_name='linux-gnu')
         self.add_config(arch='arc',


             reply	other threads:[~2022-08-05 19:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05 19:30 Szabolcs Nagy [this message]
2022-10-26 15:12 Szabolcs Nagy
2022-10-27 13:50 Szabolcs Nagy
2022-11-23 14:40 Szabolcs Nagy

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=20220805193021.0442D3857355@sourceware.org \
    --to=nsz@sourceware.org \
    --cc=glibc-cvs@sourceware.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).