bugGNU GRUB - Bugs: bug #45310, Building with...

 
 

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

bug #45310: Building with "915resolution.c" from grub-extras fails.

Submitted by:  John Lane <johnlane>
Submitted on:  Fri 12 Jun 2015 04:44:03 PM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: John Lane
Open/Closed: ClosedRelease: 
Release: Git masterReproducibility: Every Time
Planned Release: None

Mon 30 Nov 2015 10:29:20 PM UTC, comment #2:

Still fails to compile for i386-pc, with this message:

Building for x86_64-efi works fine. I figure GRUB_DIVISION_IN_SOFTWARE should be enabled for i386 too.

<qwertial>
Fri 12 Jun 2015 05:28:12 PM UTC, comment #1:

grub does not use libgcc anymore, so those are missing. Someone needs to get rid of floating point arithmetic here

vbl = y + (y+1)/(20000.0/(11*freq) - 1) + 1.5;
vfreq = vbl * freq;
hbl = 16 * (int)(x * (30.0 - 300000.0 / vfreq) /
(70.0 + 300000.0 / vfreq) / 16.0 + 0.5);

Andrei Borzenkov <arvidjaar>
Project Member
Fri 12 Jun 2015 04:44:03 PM UTC, original submission:

Building with "915resolution.c" from grub-extras fails with the output shown below:

__adddf3 in 915resolution is not defined
__divdf3 in 915resolution is not defined
__fixdfsi in 915resolution is not defined
__floatsidf in 915resolution is not defined
__muldf3 in 915resolution is not defined
__subdf3 in 915resolution is not defined

The error does not happen prior to commit 3661261f that added the "-msoft-float" complier option.

The error does not occur if 915resolution is not included in the build.

Noticed while building grub-git on Arch Linux which includes this extra.

John Lane <johnlane>

 

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 qwertial (Posted a comment)
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by johnlane (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Jul 2015 11:27:33 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1