Use --enable-obsolete in build-many-glibcs.py for nios2-linux-gnu
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Testing passed
|
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
warning
|
Patch is already merged
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
warning
|
Patch is already merged
|
Commit Message
Until GCC removes Nios II support (at which point we should do so as
well), this is now needed for GCC 14 / mainline to build for
nios2-linux-gnu target.
Tested with build-many-glibcs.py (GCC mainline) for nios2-linux-gnu.
Comments
On Fri, Apr 19, 2024 at 9:52 AM Joseph Myers <josmyers@redhat.com> wrote:
>
> Until GCC removes Nios II support (at which point we should do so as
> well), this is now needed for GCC 14 / mainline to build for
> nios2-linux-gnu target.
>
> Tested with build-many-glibcs.py (GCC mainline) for nios2-linux-gnu.
>
> diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
> index ecc743e672..35dac538e5 100755
> --- a/scripts/build-many-glibcs.py
> +++ b/scripts/build-many-glibcs.py
> @@ -358,7 +358,8 @@ class Context(object):
> {'variant': 'n64',
> 'ccopts': '-mabi=64'}])
> self.add_config(arch='nios2',
> - os_name='linux-gnu')
> + os_name='linux-gnu',
> + gcc_cfg=['--enable-obsolete'])
> self.add_config(arch='or1k',
> os_name='linux-gnu',
> variant='soft',
>
> --
> Joseph S. Myers
> josmyers@redhat.com
>
LGTM.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Thanks.
@@ -358,7 +358,8 @@ class Context(object):
{'variant': 'n64',
'ccopts': '-mabi=64'}])
self.add_config(arch='nios2',
- os_name='linux-gnu')
+ os_name='linux-gnu',
+ gcc_cfg=['--enable-obsolete'])
self.add_config(arch='or1k',
os_name='linux-gnu',
variant='soft',