From f6d18bea387676e774e18ce410ace8c33a5c3511 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 19 Apr 2024 17:03:56 +0000 Subject: [PATCH] Use --enable-obsolete in build-many-glibcs.py for nios2-linux-gnu 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. --- scripts/build-many-glibcs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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',