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.

Submitter:  John Lane <johnlane>
Submitted:  Fri 12 Jun 2015 04:44:03 PM UTC
   
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  John Lane
Open/Closed:  Closed Release:  Git master
Release:  Reproducibility:  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:


__divdi3 in 915resolution is not defined


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>
Group 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>

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-21 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code