unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] build-many-glibcs.py: Add some s390x glibc variants.
@ 2020-08-05 14:45 Stefan Liebler via Libc-alpha
  2020-08-05 15:39 ` Florian Weimer via Libc-alpha
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Liebler via Libc-alpha @ 2020-08-05 14:45 UTC (permalink / raw)
  To: libc-alpha; +Cc: Stefan Liebler

There is a s390x configure check which checks the architecture level set.

This ALS influences e.g. which ifunc variants are needed or which one is
the default variant or if the symbol will be an ifunc-symbol at all.

The ALS also enables to use the gcc builtins for e.g. the round function
in libm and others.

Therefore this patch adds some glibc variants which are using different
architecture level sets for s390x.
---
 scripts/build-many-glibcs.py | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index efd9a9e6dc..5362c7250b 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -365,7 +365,15 @@ class Context(object):
         self.add_config(arch='s390x',
                         os_name='linux-gnu',
                         glibcs=[{},
-                                {'arch': 's390', 'ccopts': '-m31'}])
+                                {'arch': 's390', 'ccopts': '-m31'}],
+                        extra_glibcs=[{'variant': 'z10',
+                                       'ccopts': '-march=z10'},
+                                      {'variant': 'zEC12',
+                                       'ccopts': '-march=zEC12'},
+                                      {'variant': 'z13',
+                                       'ccopts': '-march=z13'},
+                                      {'variant': 'z15',
+                                       'ccopts': '-march=z15'}])
         self.add_config(arch='sh3',
                         os_name='linux-gnu')
         self.add_config(arch='sh3eb',
-- 
2.25.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-08-12 14:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 14:45 [PATCH] build-many-glibcs.py: Add some s390x glibc variants Stefan Liebler via Libc-alpha
2020-08-05 15:39 ` Florian Weimer via Libc-alpha
2020-08-05 17:53   ` Adhemerval Zanella via Libc-alpha
2020-08-06  7:51   ` Stefan Liebler via Libc-alpha
2020-08-06  8:34     ` Florian Weimer via Libc-alpha
2020-08-10 15:34       ` Stefan Liebler via Libc-alpha
2020-08-10 17:23         ` Joseph Myers
2020-08-12 14:22           ` Stefan Liebler via Libc-alpha

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).