public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org
Subject: [PATCH 1/4] Use --disable-default-pie for sparc in build-many-glibcs.py
Date: Thu, 18 Jan 2024 13:02:25 -0300	[thread overview]
Message-ID: <20240118160228.741832-2-adhemerval.zanella@linaro.org> (raw)
In-Reply-To: <20240118160228.741832-1-adhemerval.zanella@linaro.org>

The staticcally built binaries fails without this option [1].

Checked on sparc64-linux-gnu and sparcv9-linux-gnu.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=29575
---
 scripts/build-many-glibcs.py | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 9cdf3e682f..1967615df7 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -436,18 +436,20 @@ class Context(object):
                         gcc_cfg=['--without-fp'])
         self.add_config(arch='sparc64',
                         os_name='linux-gnu',
-                        glibcs=[{},
-                                {'arch': 'sparcv9',
+                        glibcs=[{'cfg' : ['--disable-default-pie']},
+                                {'cfg' : ['--disable-default-pie'],
+                                 'arch': 'sparcv9',
                                  'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
                         extra_glibcs=[{'variant': 'leon3',
+                                       'cfg' : ['--disable-default-pie'],
                                        'arch' : 'sparcv8',
                                        'ccopts' : '-m32 -mlong-double-128 -mcpu=leon3'},
                                       {'variant': 'disable-multi-arch',
-                                       'cfg': ['--disable-multi-arch']},
+                                       'cfg': ['--disable-multi-arch', '--disable-default-pie']},
                                       {'variant': 'disable-multi-arch',
                                        'arch': 'sparcv9',
                                        'ccopts': '-m32 -mlong-double-128 -mcpu=v9',
-                                       'cfg': ['--disable-multi-arch']}])
+                                       'cfg': ['--disable-multi-arch', '--disable-default-pie']}])
         self.add_config(arch='x86_64',
                         os_name='linux-gnu',
                         gcc_cfg=['--with-multilib-list=m64,m32,mx32'],
-- 
2.34.1


  reply	other threads:[~2024-01-18 16:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-18 16:02 [PATCH 0/4] Multiple sparc fixes Adhemerval Zanella
2024-01-18 16:02 ` Adhemerval Zanella [this message]
2024-01-18 20:57   ` [PATCH 1/4] Use --disable-default-pie for sparc in build-many-glibcs.py Andreas K. Huettel
2024-01-19 14:01     ` Adhemerval Zanella Netto
2024-01-19 19:43       ` Andreas K. Huettel
2024-01-18 16:02 ` [PATCH 2/4] sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574) Adhemerval Zanella
2024-01-22 13:14   ` Andreas Schwab
2024-01-22 13:27     ` Adhemerval Zanella Netto
2024-01-22 13:56       ` Andreas Schwab
2024-01-18 16:02 ` [PATCH 3/4] sparc64: Remove unwind information from signal return stubs [BZ#31244] Adhemerval Zanella
2024-01-18 16:02 ` [PATCH 4/4] sparc: Fix sparc64 memmove length comparison (BZ 31266) Adhemerval Zanella

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=20240118160228.741832-2-adhemerval.zanella@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@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).