Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711294 - sys-boot/grub-2.05_alpha20200228: illegal storage class on function
Summary: sys-boot/grub-2.05_alpha20200228: illegal storage class on function
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-02 09:41 UTC by Rainer Hihn
Modified: 2020-03-02 21:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (sys-boot_grub-2.05_alpha20200228_20200302-085658.log,805.12 KB, text/x-log)
2020-03-02 09:45 UTC, Rainer Hihn
Details
Compressed build log (sys-boot:grub-2.05_alpha20200228:20200302-155746.log.xz,46.75 KB, application/x-xz)
2020-03-02 20:57 UTC, Rainer Hihn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hihn 2020-03-02 09:41:05 UTC
/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.
Comment 1 Rainer Hihn 2020-03-02 09:45:44 UTC
Created attachment 616764 [details]
build.log

Removed multiple lines from the middle to match the file size limit
Comment 2 Jonas Stein gentoo-dev 2020-03-02 20:51:47 UTC
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.
Comment 3 Rainer Hihn 2020-03-02 20:57:06 UTC
Created attachment 616910 [details]
Compressed build log
Comment 4 Mike Gilbert gentoo-dev 2020-03-02 20:58:29 UTC
It looks like you are building with clang. Can you reproduce it with gcc?
Comment 5 Rainer Hihn 2020-03-02 21:11:57 UTC
Worked with gcc, thanks.