From 570f6858b7a0c809a2480fbbfcd9f667a0bffd74 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 25 Apr 2022 10:52:12 +0100 Subject: [PATCH] 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. --- scripts/build-many-glibcs.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index da9b905900..79cdccb9dc 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -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',