mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
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
This commit is contained in:
parent
b86cb494f9
commit
3bffe5aa2d
@ -436,18 +436,20 @@ class Context(object):
|
|||||||
gcc_cfg=['--without-fp'])
|
gcc_cfg=['--without-fp'])
|
||||||
self.add_config(arch='sparc64',
|
self.add_config(arch='sparc64',
|
||||||
os_name='linux-gnu',
|
os_name='linux-gnu',
|
||||||
glibcs=[{},
|
glibcs=[{'cfg' : ['--disable-default-pie']},
|
||||||
{'arch': 'sparcv9',
|
{'cfg' : ['--disable-default-pie'],
|
||||||
|
'arch': 'sparcv9',
|
||||||
'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
|
'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
|
||||||
extra_glibcs=[{'variant': 'leon3',
|
extra_glibcs=[{'variant': 'leon3',
|
||||||
|
'cfg' : ['--disable-default-pie'],
|
||||||
'arch' : 'sparcv8',
|
'arch' : 'sparcv8',
|
||||||
'ccopts' : '-m32 -mlong-double-128 -mcpu=leon3'},
|
'ccopts' : '-m32 -mlong-double-128 -mcpu=leon3'},
|
||||||
{'variant': 'disable-multi-arch',
|
{'variant': 'disable-multi-arch',
|
||||||
'cfg': ['--disable-multi-arch']},
|
'cfg': ['--disable-multi-arch', '--disable-default-pie']},
|
||||||
{'variant': 'disable-multi-arch',
|
{'variant': 'disable-multi-arch',
|
||||||
'arch': 'sparcv9',
|
'arch': 'sparcv9',
|
||||||
'ccopts': '-m32 -mlong-double-128 -mcpu=v9',
|
'ccopts': '-m32 -mlong-double-128 -mcpu=v9',
|
||||||
'cfg': ['--disable-multi-arch']}])
|
'cfg': ['--disable-multi-arch', '--disable-default-pie']}])
|
||||||
self.add_config(arch='x86_64',
|
self.add_config(arch='x86_64',
|
||||||
os_name='linux-gnu',
|
os_name='linux-gnu',
|
||||||
gcc_cfg=['--with-multilib-list=m64,m32,mx32'],
|
gcc_cfg=['--with-multilib-list=m64,m32,mx32'],
|
||||||
|
Loading…
Reference in New Issue
Block a user