/var/tmp/portage/sys-boot/grub-2.05_alpha20200228/work/grub-2.05_alpha20200228/grub-core/net/net.c:1744:3: error: illegal storage class on function auto int search_through (grub_size_t num_tries, grub_size_t slice_size); ^ /var/tmp/portage/sys-boot/grub-2.05_alpha20200228/work/grub-2.05_alpha20200228/grub-core/net/net.c:1746:3: error: function definition is not allowed here { ^ 2 errors generated.
Created attachment 616764 [details] build.log Removed multiple lines from the middle to match the file size limit
Thank you for the report. Please paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks. Please reopen this ticket (Status:unconfirmed) afterwards.
Created attachment 616910 [details] Compressed build log
It looks like you are building with clang. Can you reproduce it with gcc?
Worked with gcc, thanks.