Re: Re: [RISCV] RISC-V GNU Toolchain Biweekly Sync-up call (Jan 27, 2022)

[email protected]
Newsgroups gmane.comp.gcc.devel,gmane.comp.lib.glibc.alpha,gmane.comp.gdb.devel,gmane.comp.gnu.binutils
Message-ID <[email protected]>


&gt; -----原始邮件-----
&gt; 发件人: "Matthias Klose" <[email protected]>
&gt; 发送时间: 2022-01-28 00:18:47 (星期五)
&gt; 收件人: [email protected], [email protected], [email protected], [email protected], [email protected]
&gt; 抄送: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
&gt; 主题: Re: [RISCV] RISC-V GNU Toolchain Biweekly Sync-up call (Jan 27, 2022)
&gt; 
&gt; On 1/26/22 14:04, [email protected] wrote:
&gt; &gt; Hi all,
&gt; &gt; 
&gt; &gt; There is an agenda for tomorrow's meeting. If you have topics to
&gt; &gt; discuss or share, please let me know and I can add them to the agenda.
&gt; &gt; 
&gt; &gt; Agenda:
&gt; &gt; 
&gt; &gt; 
&gt; &gt; 
&gt; &gt; 
&gt; &gt; 
&gt; &gt; - Bump GCC default ISA spec and got bug report[1] for that.
&gt; 
&gt; Tried to join the meeting, but it ended early apparently.
&gt; 
&gt; Using in Debian and Ubuntu binutils 2.38, I see then with GCC 11.2 warnings for
&gt; every link:
&gt; 
&gt; /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA
&gt; version 2.0 for 'i' extension, the output version is 2.1
&gt; /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA
&gt; version 2.0 for 'a' extension, the output version is 2.1
&gt; /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA
&gt; version 2.0 for 'f' extension, the output version is 2.2
&gt; /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA
&gt; version 2.0 for 'd' extension, the output version is 2.2
&gt; 
&gt; Are there any plans to backport the support for ISA 2.1/2.2 to GCC 11? Or do we
&gt; need to configure binutils to use 2.0 until the compiler is changed to GCC 12?
&gt; 
&gt; There's also no documentation about that change, at least in binutils. Should
&gt; that be mentioned in the release notes?
&gt; 
&gt; Thanks, Matthias

Hi Matthias,

  Here is a link that Kito Cheng explain this change:

  https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/aE1ZeHHCYf4

  I think you can use aditional option --with-isa-spec=2.2 to solve this problem

Good luck,
PLCT Jiawei

</[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.