public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Use --disable-default-pie for sparc in build-many-glibcs.py
@ 2024-01-22 13:01 Adhemerval Zanella
0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2024-01-22 13:01 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3bffe5aa2dad3492fd68230ed28387cf9d453cea
commit 3bffe5aa2dad3492fd68230ed28387cf9d453cea
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Jan 17 09:24:55 2024 -0300
Use --disable-default-pie for sparc in build-many-glibcs.py
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
Diff:
---
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 d08afc4074..d142684fdf 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'],
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-22 13:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-22 13:01 [glibc] Use --disable-default-pie for sparc in build-many-glibcs.py Adhemerval Zanella
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).