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

Submitted by:  Alexander <spider_ch>
Submitted on:  Tue 27 Sep 2016 03:26:53 PM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Git masterReproducibility: 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>
Project 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Sep 2016 05:35:55 PM UTCarvidjaarStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Releaseother=>Git master
      Planned ReleaseNone=>2.02

    Back to the top


    Powered by Savane 3.1-cleanup1