Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595286 - sys-boot/grub-2.02_beta3-r1 does not compile with clang 3.9
Summary: sys-boot/grub-2.02_beta3-r1 does not compile with clang 3.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL: http://git.savannah.gnu.org/cgit/grub...
Whiteboard:
Keywords:
Depends on: 608254
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2016-09-27 15:07 UTC by Aleksander
Modified: 2017-06-17 22:28 UTC (History)
3 users (show)

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


Attachments
emerge --info (info,15.87 KB, text/plain)
2016-09-27 15:08 UTC, Aleksander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksander 2016-09-27 15:07:31 UTC
sys-boot/grub-2.02_beta2-r9 builds fine.
sys-boot/grub-2.02_beta3-r1 fails with:
clang -cc1as: fatal error: error in backend: invalid .org offset '440' (at offset '441')            
Makefile:28308: recipe for target 'boot/i386/pc/boot_image-boot.o' failed                           
make[3]: *** [boot/i386/pc/boot_image-boot.o] Error 1

Complete build log attached.
Comment 1 Aleksander 2016-09-27 15:08:23 UTC
Created attachment 448128 [details]
emerge --info
Comment 2 Mike Gilbert gentoo-dev 2016-09-27 15:12:44 UTC
Report this upstream please.

https://www.gnu.org/software/grub/grub-bugs.html
Comment 3 Aleksander 2016-09-27 15:15:38 UTC
Ok. Just in case, complte build log https://paste.pound-python.org/show/rvn467mzsWx32LY2C0jK/
Comment 4 Aleksander 2016-09-27 15:27:48 UTC
https://savannah.gnu.org/bugs/index.php?49200 report to upstream
Comment 5 Aleksander 2016-09-29 00:59:34 UTC
Fixed in grub master branch.

More details in:
https://llvm.org/bugs/show_bug.cgi?id=22662
https://lists.gnu.org/archive/html/grub-devel/2015-02/msg00099.html