This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove 32 bit sparc v8 support



On 11/11/2019 15:24, Joseph Myers wrote:
> On Mon, 11 Nov 2019, Adhemerval Zanella wrote:
> 
>>  sysdeps/sparc/sparc32/divrem.m4               | 234 -------
>>  sysdeps/sparc/sparc32/rem.S                   | 365 +---------
>>  sysdeps/sparc/sparc32/sdiv.S                  | 363 +---------
>>  sysdeps/sparc/sparc32/udiv.S                  | 343 +--------
>>  sysdeps/sparc/sparc32/urem.S                  | 345 +--------
> 
> Since you're replacing these files generated from divrem.m4 with 
> non-generated files moved from the v9 directory, the code in 
> build-many-glibcs.py to touch them on checkout should also be removed, as 
> there is no longer any constraint on how their timestamps are ordered with 
> respect to other files in the source tree.
> 

Something like:

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index f174094ff3..cd9ac08f52 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -358,7 +358,7 @@ class Context(object):
         self.add_config(arch='sparc64',
                         os_name='linux-gnu',
                         glibcs=[{},
-                                {'arch': 'sparcv9',
+                                {'arch': 'sparc',
                                  'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
                         extra_glibcs=[{'variant': 'disable-multi-arch',
                                        'cfg': ['--disable-multi-arch']},
@@ -847,11 +847,7 @@ class Context(object):
         # be touched because nothing in a build depends on the files
         # in question.
         for f in ('sysdeps/gnu/errlist.c',
-                  'sysdeps/mach/hurd/bits/errno.h',
-                  'sysdeps/sparc/sparc32/rem.S',
-                  'sysdeps/sparc/sparc32/sdiv.S',
-                  'sysdeps/sparc/sparc32/udiv.S',
-                  'sysdeps/sparc/sparc32/urem.S'):
+                  'sysdeps/mach/hurd/bits/errno.h'):
             to_touch = os.path.join(srcdir, f)
             subprocess.run(['touch', '-c', to_touch], check=True)
         for dirpath, dirnames, filenames in os.walk(srcdir):

?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]