[1/2] Remove 32 bit sparc v7 support
Commit Message
These changes have broken build-many-glibcs.py, fix committed:
Fix syntax error in build-many-glibcs.py.
The recent SPARC changes caused a syntax error:
'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
^
SyntaxError: invalid syntax
Fixed by this patch.
Comments
On Thu, 28 Nov 2019, Joseph Myers wrote:
> These changes have broken build-many-glibcs.py, fix committed:
>
> Fix syntax error in build-many-glibcs.py.
>
> The recent SPARC changes caused a syntax error:
>
> 'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
> ^
> SyntaxError: invalid syntax
>
> Fixed by this patch.
Also, while this fixes the syntax error, I don't think having the sparcv8
entry listed in glibcs is correct. That's for the glibcs built with the
compilers; unless the GCC configuration for sparc64 is building the
*three* multilibs listed there, the sparcv8 entry should be in
extra_glibcs not glibcs.
On 28/11/2019 14:33, Joseph Myers wrote:
> On Thu, 28 Nov 2019, Joseph Myers wrote:
>
>> These changes have broken build-many-glibcs.py, fix committed:
>>
>> Fix syntax error in build-many-glibcs.py.
>>
>> The recent SPARC changes caused a syntax error:
>>
>> 'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
>> ^
>> SyntaxError: invalid syntax
>>
>> Fixed by this patch.
>
> Also, while this fixes the syntax error, I don't think having the sparcv8
> entry listed in glibcs is correct. That's for the glibcs built with the
> compilers; unless the GCC configuration for sparc64 is building the
> *three* multilibs listed there, the sparcv8 entry should be in
> extra_glibcs not glibcs.
>
Alright, I will sort this out.
Also, the sparcv9-linux-gnu-disable-multi-arch configuration fails to
build because of the new configure tests ("configure: error: no support
for pre-v8 sparc"). I guess it needs to specify a CPU option explicitly
now.
@@ -359,7 +359,7 @@ class Context(object):
os_name='linux-gnu',
glibcs=[{},
{'arch': 'sparcv8',
- 'ccopts': '-m32 -mlong-double-128 -mcpu=leon3'}],
+ 'ccopts': '-m32 -mlong-double-128 -mcpu=leon3'},
{'arch': 'sparcv9',
'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}],
extra_glibcs=[{'variant': 'disable-multi-arch',