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.
This commit is contained in:
Szabolcs Nagy 2022-04-25 10:52:12 +01:00
parent 084ac620b1
commit 570f6858b7

View File

@ -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',