bugGNU GRUB - Bugs: bug #49200, Grub 2.02_beta3-r1 compile fails...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49200: Grub 2.02_beta3-r1 compile fails with clang 3.9

Submitter:  Alexander <spider_ch>
Submitted:  Tue 27 Sep 2016 03:26:53 PM UTC
   
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  2.02

Wed 28 Sep 2016 05:35:55 PM UTC, comment #4: 

Fixed in a0bf403f66dbaca4edd8e667bfc397dd91c8d71c; please reopen if needed.

Thank you for report!

Andrei Borzenkov <arvidjaar>
Group Member
Wed 28 Sep 2016 02:51:27 PM UTC, comment #3: 

Ah sorry, forget to mention i'm using 64bit system.

Alexander <spider_ch>
Wed 28 Sep 2016 01:55:46 PM UTC, comment #2: 

Well, as i said:
I'm trying build Grub 2.02_beta3(https://packages.gentoo.org/packages/sys-boot/grub) with clang/LLVM 3.9 and it fails.
Grub 2.02_beta2 builds fine with clang 3.9.

Distro: Gentoo Linux
Grub version: 2.02_beta3-r1
LLVM version: 3.9.0
CLANG version: 3.9.0
Glibc version: 2.22-r4

Complete build log:  https://paste.pound-python.org/show/rvn467mzsWx32LY2C0jK/

CFLAGS="-march=native -mtune=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"

Alexander <spider_ch>
Wed 28 Sep 2016 09:44:29 AM UTC, comment #1: 

I cannot reproduce it using upstream 2.02~beta3 tarball and clang/LLVM 3.8.1. Please be more specific what you are using.

Andrei Borzenkov <arvidjaar>
Group Member
Tue 27 Sep 2016 03:26:53 PM UTC, original submission:  

Hello, i'm using Gentoo Linux. And i got a problem with updating Grub.

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: https://paste.pound-python.org/show/rvn467mzsWx32LY2C0jK/

Alexander <spider_ch>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arvidjaar (Posted a comment)
  • -email is unavailable- added by spider_ch (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-28 arvidjaar StatusNone Fixed
        Open/ClosedOpen Closed
        Releaseother Git master
        Planned ReleaseNone 2.02

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code