Hi all, There is an agenda for tomorrow's meeting. If you have topics to discuss or share, please let me know and I can add them to the agenda. Agenda: - Bump GCC default ISA spec and got bug report[1] for that. - RISC-V subextension related implement progress - Scalar Crypto develop plan - Zmmul spec has forzen and toolchain implement of it - Zcea 'tablejump' instruction implement [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104219 Wei Wu - PLCT Lab is inviting you to a scheduled Zoom meeting. Topic: RISC-V GNU Toolchain Biweekly Sync-up Join Zoom Meeting https://zoom.com.cn/j/89393600951?pwd=ZFpWMkZ6Tm1TbUFXT1hZZjZZMHhRQT09 Meeting ID: 893 9360 0951 Passcode: 899662 BEIJING, China 11:00p Thu, Jan 27 2022 12:00a Fri, Jan 27 2022 PST/PDT, Pacific Standard Time (US) 7:00a Thu, Jan 27 2022 8:00a Thu, Jan 27 2022 PHILADELPHIA, United States, Pennsylvania 10:00a Thu, Jan 27 2022 11:00a Thu, Jan 27 2022
Hi all,
I won't be able to attend, as the IOMMU TG is convening in the same
timeslot tomorrow.
However, please be advised that (to my knowledge and after checking with
Stephano) the Zcea is on-hold and not frozen.
Thanks,
Philipp.
On Wed, 26 Jan 2022 at 14:05, <jiawei@iscas.ac.cn> wrote:
> Hi all,
>
> There is an agenda for tomorrow's meeting. If you have topics to
> discuss or share, please let me know and I can add them to the agenda.
>
> Agenda:
>
>
> - Bump GCC default ISA spec and got bug report[1] for that.
>
>
> - RISC-V subextension related implement progress
>
> - Scalar Crypto develop plan
>
> - Zmmul spec has forzen and toolchain implement of it
>
> - Zcea 'tablejump' instruction implement
>
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104219
>
> Wei Wu - PLCT Lab is inviting you to a scheduled Zoom meeting.
>
> Topic: RISC-V GNU Toolchain Biweekly Sync-up
>
> Join Zoom Meeting
> https://zoom.com.cn/j/89393600951?pwd=ZFpWMkZ6Tm1TbUFXT1hZZjZZMHhRQT09
>
> Meeting ID: 893 9360 0951
> Passcode: 899662
>
> BEIJING, China
> 11:00p Thu, Jan 27 2022
>
> 12:00a Fri, Jan 27 2022
>
> PST/PDT, Pacific Standard Time (US)
> 7:00a Thu, Jan 27 2022
> 8:00a Thu, Jan 27 2022
>
> PHILADELPHIA, United States, Pennsylvania
> 10:00a Thu, Jan 27 2022
> 11:00a Thu, Jan 27 2022
>
>
On 1/26/22 14:04, jiawei@iscas.ac.cn wrote:
> Hi all,
>
> There is an agenda for tomorrow's meeting. If you have topics to
> discuss or share, please let me know and I can add them to the agenda.
>
> Agenda:
>
>
>
>
>
> - Bump GCC default ISA spec and got bug report[1] for that.
Tried to join the meeting, but it ended early apparently.
Using in Debian and Ubuntu binutils 2.38, I see then with GCC 11.2 warnings for
every link:
/usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA
version 2.0 for 'i' extension, the output version is 2.1
/usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA
version 2.0 for 'a' extension, the output version is 2.1
/usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA
version 2.0 for 'f' extension, the output version is 2.2
/usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA
version 2.0 for 'd' extension, the output version is 2.2
Are there any plans to backport the support for ISA 2.1/2.2 to GCC 11? Or do we
need to configure binutils to use 2.0 until the compiler is changed to GCC 12?
There's also no documentation about that change, at least in binutils. Should
that be mentioned in the release notes?
Thanks, Matthias
> -----原始邮件----- > 发件人: "Matthias Klose" <doko@ubuntu.com> > 发送时间: 2022-01-28 00:18:47 (星期五) > 收件人: jiawei@iscas.ac.cn, gcc@gcc.gnu.org, binutils@sourceware.org, gdb@sourceware.org, libc-alpha@sourceware.org > 抄送: cmuellner@ventanamicro.com, sinan@isrc.iscas.ac.cn, philipp.tomsich@vrull.eu, nelson.chu@sifive.com, wuwei2016@iscas.ac.cn, kito.cheng@sifive.com, yulong@nj.iscas.ac.cn, shihua@iscas.ac.cn > 主题: Re: [RISCV] RISC-V GNU Toolchain Biweekly Sync-up call (Jan 27, 2022) > > On 1/26/22 14:04, jiawei@iscas.ac.cn wrote: > > Hi all, > > > > There is an agenda for tomorrow's meeting. If you have topics to > > discuss or share, please let me know and I can add them to the agenda. > > > > Agenda: > > > > > > > > > > > > - Bump GCC default ISA spec and got bug report[1] for that. > > Tried to join the meeting, but it ended early apparently. > > Using in Debian and Ubuntu binutils 2.38, I see then with GCC 11.2 warnings for > every link: > > /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA > version 2.0 for 'i' extension, the output version is 2.1 > /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA > version 2.0 for 'a' extension, the output version is 2.1 > /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA > version 2.0 for 'f' extension, the output version is 2.2 > /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: mis-matched ISA > version 2.0 for 'd' extension, the output version is 2.2 > > Are there any plans to backport the support for ISA 2.1/2.2 to GCC 11? Or do we > need to configure binutils to use 2.0 until the compiler is changed to GCC 12? > > There's also no documentation about that change, at least in binutils. Should > that be mentioned in the release notes? > > 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 </doko@ubuntu.com>
On Thu, Jan 27, 2022 at 6:21 PM Matthias Klose <doko@ubuntu.com> wrote: > On 1/26/22 14:04, jiawei@iscas.ac.cn wrote: > > Hi all, > > > > There is an agenda for tomorrow's meeting. If you have topics to > > discuss or share, please let me know and I can add them to the agenda. > > > > Agenda: > > > > > > > > > > > > - Bump GCC default ISA spec and got bug report[1] for that. > > Tried to join the meeting, but it ended early apparently. > > Using in Debian and Ubuntu binutils 2.38, I see then with GCC 11.2 > warnings for > every link: > > /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: > mis-matched ISA > version 2.0 for 'i' extension, the output version is 2.1 > /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: > mis-matched ISA > version 2.0 for 'a' extension, the output version is 2.1 > /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: > mis-matched ISA > version 2.0 for 'f' extension, the output version is 2.2 > /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: > mis-matched ISA > version 2.0 for 'd' extension, the output version is 2.2 > > Are there any plans to backport the support for ISA 2.1/2.2 to GCC 11? Or > do we > need to configure binutils to use 2.0 until the compiler is changed to GCC > 12? > There are a few packages that will be broken (because they set -march assuming the old standard). Things like kernel (patch proposed), opensbi (patch proposed), u-boot, grub and similar. Kudos to Aurelien Jarno for sending these patches already. The warnings can be ignored here IIRC. The patch was proposed back in December: [PATCH 1/2] RISC-V: Don't report mismatch warnings when versions are larger than 1.0. https://sourceware.org/pipermail/binutils/2021-December/119060.html But it wasn't committed yet. The patch was part of the series to change default ISA to 20191213. IIUC all combinations: - GCC 12 + binutils 2.38 - GCC 11 + binutils 2.37 - GCC 12 + binutils 2.37 are valid, but you might want to use --with-isa-spec=2.2 for now until some of the packages are patched. Cheers, david > > There's also no documentation about that change, at least in binutils. > Should > that be mentioned in the release notes? > > Thanks, Matthias >
On 1/28/22 11:06, David Abdurachmanov wrote: > On Thu, Jan 27, 2022 at 6:21 PM Matthias Klose <doko@ubuntu.com> wrote: > >> On 1/26/22 14:04, jiawei@iscas.ac.cn wrote: >>> Hi all, >>> >>> There is an agenda for tomorrow's meeting. If you have topics to >>> discuss or share, please let me know and I can add them to the agenda. >>> >>> Agenda: >>> >>> >>> >>> >>> >>> - Bump GCC default ISA spec and got bug report[1] for that. >> >> Tried to join the meeting, but it ended early apparently. >> >> Using in Debian and Ubuntu binutils 2.38, I see then with GCC 11.2 >> warnings for >> every link: >> >> /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: >> mis-matched ISA >> version 2.0 for 'i' extension, the output version is 2.1 >> /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: >> mis-matched ISA >> version 2.0 for 'a' extension, the output version is 2.1 >> /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: >> mis-matched ISA >> version 2.0 for 'f' extension, the output version is 2.2 >> /usr/bin/ld: warning: /usr/lib/gcc/riscv64-linux-gnu/10/crtn.o: >> mis-matched ISA >> version 2.0 for 'd' extension, the output version is 2.2 >> >> Are there any plans to backport the support for ISA 2.1/2.2 to GCC 11? Or >> do we >> need to configure binutils to use 2.0 until the compiler is changed to GCC >> 12? >> > > There are a few packages that will be broken (because they set -march > assuming the old standard). Things like kernel (patch proposed), opensbi > (patch proposed), u-boot, grub and similar. Kudos to Aurelien Jarno for > sending these patches already. seems to be a bit more ... we are seeing a lot of build failures building parts of the KDE stack. https://launchpadlibrarian.net/582482377/buildlog_ubuntu-jammy-riscv64.ktexteditor_5.90.0-0ubuntu2_BUILDING.txt.gz while you see only warnings, the linker errors out. Also GCC 11 fails to build with binutils 2.38: libtool: link: `sstream-inst.lo' is not a valid libtool object make[8]: *** [Makefile:633: libc++11convenience.la] Error 1 Is there a plan, or procedure to follow doing this ISA change for a set of packages, e.g. building packages in a particular order? > The warnings can be ignored here IIRC. The patch was proposed back in > December: > [PATCH 1/2] RISC-V: Don't report mismatch warnings when versions are larger > than 1.0. > https://sourceware.org/pipermail/binutils/2021-December/119060.html > > But it wasn't committed yet. The patch was part of the series to change > default ISA to 20191213. > > IIUC all combinations: > - GCC 12 + binutils 2.38 > - GCC 11 + binutils 2.37 > - GCC 12 + binutils 2.37 > are valid, but you might want to use --with-isa-spec=2.2 for now until some > of the packages are patched. so this leaves "GCC 11 + binutils 2.38" as invalid. binutils 2.38 will be released before GCC 12, that is what people will be using. IMO the binutils 2.38 release should default to the old ISA. Matthias
Hi all, There is an agenda for tomorrow's meeting. If you have topics to discuss or share, please let me know and I can add them to the agenda. Agenda: - Intrinsics common availability and naming rules discuss - RISC-V subextension related implement progress - Scalar Crypto extension supports status - Zmmul extension supports status - Zc*[1] extension supports status - CMO extension supports on gcc part - Open topics Wei Wu - PLCT Lab is inviting you to a scheduled Zoom meeting. Topic: RISC-V GNU Toolchain Biweekly Sync-up Join Zoom Meeting https://zoom.com.cn/j/89393600951?pwd=ZFpWMkZ6Tm1TbUFXT1hZZjZZMHhRQT09 Meeting ID: 893 9360 0951 Passcode: 899662 BEIJING, China 11:00p Thu, Feb 24 2022 12:00a Fri, Feb 24 2022 PST/PDT, Pacific Standard Time (US) 7:00a Thu, Feb 24 2022 8:00a Thu, Feb 24 2022 PHILADELPHIA, United States, Pennsylvania 10:00a Thu, Feb 24 2022 11:00a Thu, Feb 24 2022
[-- Attachment #1: Type: text/plain, Size: 1353 bytes --] Hi all, Here is the agenda for tomorrow's meeting. If you have topics to discuss or share, please let me know and I can add them to the agenda. Agenda: - RVV gcc implement [1] discuss. - XiangShan micro-architecture [2] support on gcc. - RISC-V subextension related implement progress - Zc* extension supports status - CMO extension supports status - Open topics [1] https://github.com/riscv-collab/riscv-gcc/pull/334 [2] https://github.com/plctlab/riscv-gcc/pull/1 Wei Wu - PLCT Lab is inviting you to a scheduled Zoom meeting. Topic: RISC-V GNU Toolchain Biweekly Sync-up Time: Mar 10, 2022 11:00 PM Singapore Every 2 weeks on Thu, until Jun 30, 2022, 9 occurrence(s) Please download and import the following iCalendar (.ics) files to your calendar system. Weekly: https://zoom.us/meeting/tZ0ufuqurjsjH9XTthkNg3MffX-QsRBuVBET/ics?icsToken=98tyKuGhrTIpHNSVuRyGRpx5A4r4b-7ziGJEgvplqAvtCA5UMS7wMNoPA6FNMs3m Join Zoom Meeting https://zoom.us/j/89393600951?pwd=ZFpWMkZ6Tm1TbUFXT1hZZjZZMHhRQT09 Meeting ID: 893 9360 0951 Passcode: 899662 BEIJING, China 11:00p Thu, Mar 10 2022 12:00a Fri, Mar 10 2022 PST/PDT, Pacific Standard Time (US) 7:00a Thu, Mar 10 2022 8:00a Thu, Mar 10 2022 PHILADELPHIA, United States, Pennsylvania 10:00a Thu, Mar 10 2022 11:00a Thu, Mar 10 2022 [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: meeting-89393600951.ics --] [-- Type: text/calendar; name=meeting-89393600951.ics, Size: 1690 bytes --] BEGIN:VCALENDAR PRODID:-//zoom.us//iCalendar Event//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH CLASS:PUBLIC BEGIN:VTIMEZONE TZID:Asia/Singapore LAST-MODIFIED:20201011T015911Z TZURL:http://tzurl.org/zoneinfo-outlook/Asia/Singapore X-LIC-LOCATION:Asia/Singapore BEGIN:STANDARD TZNAME:+08 TZOFFSETFROM:+0800 TZOFFSETTO:+0800 DTSTART:19700101T000000 END:STANDARD END:VTIMEZONE BEGIN:VEVENT DTSTAMP:20220309T112636Z DTSTART;TZID=Asia/Singapore:20220310T230000 DTEND;TZID=Asia/Singapore:20220311T000000 SUMMARY:RISC-V GNU Toolchain Biweekly Sync-up RRULE:FREQ=WEEKLY;WKST=SU;UNTIL=20220630T160000;INTERVAL=2;BYDAY=TH UID:ZOOM89393600951 TZID:Asia/Singapore DESCRIPTION:Wei Wu - PLCT Lab is inviting you to a scheduled Zoom meeting .\n\nJoin Zoom Meeting\nhttps://us02web.zoom.us/j/89393600951?pwd=ZFpWMk Z6Tm1TbUFXT1hZZjZZMHhRQT09\n\nMeeting ID: 893 9360 0951\nPasscode: 89966 2\nOne tap mobile\n+6531651065\,\,89393600951#\,\,\,\,*899662# Singapore \n+6531587288\,\,89393600951#\,\,\,\,*899662# Singapore\n\nDial by your location\n +65 3165 1065 Singapore\n +65 3158 7288 Singapo re\n +1 669 900 9128 US (San Jose)\n +1 346 248 7799 US (H ouston)\n +1 253 215 8782 US (Tacoma)\n +1 312 626 6799 US (Chicago)\n +1 646 558 8656 US (New York)\n +1 301 715 85 92 US (Washington DC)\nMeeting ID: 893 9360 0951\nPasscode: 899662\nFind your local number: https://us02web.zoom.us/u/kk9cyIPNJ\n\n LOCATION:https://us02web.zoom.us/j/89393600951?pwd=ZFpWMkZ6Tm1TbUFXT1hZZj ZZMHhRQT09 BEGIN:VALARM TRIGGER:-PT10M ACTION:DISPLAY DESCRIPTION:Reminder END:VALARM END:VEVENT END:VCALENDAR