public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Use --enable-obsolete in build-many-glibcs.py for nios2-linux-gnu
@ 2024-04-19 16:51 Joseph Myers
  2024-04-19 16:59 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph Myers @ 2024-04-19 16:51 UTC (permalink / raw)
  To: libc-alpha

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


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

* Re: Use --enable-obsolete in build-many-glibcs.py for nios2-linux-gnu
  2024-04-19 16:51 Use --enable-obsolete in build-many-glibcs.py for nios2-linux-gnu Joseph Myers
@ 2024-04-19 16:59 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 2024-04-19 16:59 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

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.

-- 
H.J.

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

end of thread, other threads:[~2024-04-19 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 16:51 Use --enable-obsolete in build-many-glibcs.py for nios2-linux-gnu Joseph Myers
2024-04-19 16:59 ` H.J. Lu

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