[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210129211102.GT4020736@tucnak>
Date: Fri, 29 Jan 2021 22:11:02 +0100
From: Jakub Jelinek <jakub@...hat.com>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Nick Clifton <nickc@...hat.com>,
Sedat Dilek <sedat.dilek@...il.com>,
Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <natechancellor@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Clang-Built-Linux ML <clang-built-linux@...glegroups.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
linux-arch <linux-arch@...r.kernel.org>,
Fangrui Song <maskray@...gle.com>,
Caroline Tice <cmtice@...gle.com>, Yonghong Song <yhs@...com>,
Jiri Olsa <jolsa@...nel.org>,
Andrii Nakryiko <andrii@...nel.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Arvind Sankar <nivedita@...m.mit.edu>
Subject: Re: [PATCH v6 2/2] Kbuild: implement support for DWARF v5
On Fri, Jan 29, 2021 at 01:05:56PM -0800, Nick Desaulniers wrote:
> > Wasn't that fixed in GAS?
> > https://sourceware.org/bugzilla/show_bug.cgi?id=27195
>
> $ make LLVM=1 -j72 defconfig
> $ ./scripts/config -e DEBUG_INFO -e DEBUG_INFO_DWARF5
> $ make LLVM=1 -j72
> ...
> /tmp/init-d50d89.s: Assembler messages:
> /tmp/init-d50d89.s:10: Error: file number less than one
> /tmp/init-d50d89.s:11: Error: junk at end of line, first unrecognized
> character is `m'
>
> which is https://sourceware.org/bugzilla/show_bug.cgi?id=25611.
>
> $ as --version | head -n1
> GNU assembler (GNU Binutils for Debian) 2.35.1
>
> Maybe GAS should not need to be told -gdwarf-5 to parse these? Then
> we would not need to pass -Wa,-gdwarf-5 via clang with
> -no-integrated-as.
That is what sw#27195 is about, just try current binutils 2.35, 2.36 or
trunk branches.
Jakub
Powered by blists - more mailing lists