Message ID | 20240118160228.741832-2-adhemerval.zanella@linaro.org |
---|---|
State | Accepted |
Commit | 3bffe5aa2dad3492fd68230ed28387cf9d453cea |
Headers | show |
Series | Multiple sparc fixes | expand |
Am Donnerstag, 18. Januar 2024, 17:02:25 CET schrieb Adhemerval Zanella: > 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 > --- WFM, but how about making this switch then default later at least in the release branch? (i.e. what use is configuring something that doesnt work)
On 18/01/24 17:57, Andreas K. Huettel wrote: > Am Donnerstag, 18. Januar 2024, 17:02:25 CET schrieb Adhemerval Zanella: >> 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 >> --- > > WFM, but how about making this switch then default later > at least in the release branch? > > (i.e. what use is configuring something that doesnt work) > Hum, are you suggesting to disable --enable-default-pie for sparc? If so, this is on my plan, I think there is other architectures that might be affected by it. I spend some time trying to fix BZ#29575, but I got lost on the internal machinery and flags required. Besides this, I would also like to install the other sparc patches. They fixes some regression that I have been seeing over the releases.
> > Am Donnerstag, 18. Januar 2024, 17:02:25 CET schrieb Adhemerval Zanella: > >> 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 > >> --- > > > > WFM, but how about making this switch then default later > > at least in the release branch? > > > > (i.e. what use is configuring something that doesnt work) > > Hum, are you suggesting to disable --enable-default-pie for sparc? If so, > this is on my plan, I think there is other architectures that might be > affected by it. Yes, that's what I meant. > I spend some time trying to fix BZ#29575, but I got lost > on the internal machinery and flags required. > > Besides this, I would also like to install the other sparc patches. > They fixes some regression that I have been seeing over the releases. Makes sense. Best -A
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'],