[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdW-_oowzrzpoeU-=mD1t8P_65cBr4meY-BToYbkyQMXtg@mail.gmail.com>
Date: Thu, 3 Oct 2024 09:57:30 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Andreas Schwab <schwab@...ux-m68k.org>
Cc: Tony Ambardar <tony.ambardar@...il.com>, Daniel Borkmann <daniel@...earbox.net>,
Miguel Ojeda <ojeda@...nel.org>, Jiri Olsa <jolsa@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>, Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] compiler-gcc.h: Disable __retain on gcc-11
Hi Andreas,
On Wed, Oct 2, 2024 at 7:00 PM Andreas Schwab <schwab@...ux-m68k.org> wrote:
> On Okt 02 2024, Geert Uytterhoeven wrote:
>
> > + * Optional: only supported since gcc >= 11 (partial), clang >= 13
>
> This is misleading. gcc fully supports it since 11 as long as binutils
> supports SHF_GNU_RETAIN.
It fails for me with arm-linux-gnueabihf-gcc-11 (gcc version 11.4.0
(Ubuntu 11.4.0-1ubuntu1~22.04)).
$ arm-linux-gnueabihf-as -v
GNU assembler version 2.38 (arm-linux-gnueabihf) using BFD version
(GNU Binutils for Ubuntu) 2.38
In response to v1, you replied:
| That ultimately depends on binutils support for SHF_GNU_RETAIN (2.36+).
So binutils 2.38-4ubuntu2.6 is sufficiently new, but it doesn't work?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists