Project

General

Profile

Actions

Bug #90

open

GRUB fails to build under Debian testing

Added by Nathaniel Roach almost 8 years ago. Updated over 7 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
build system
Target version:
-
Start date:
01/25/2017
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

Debain did something funny with the toolchain a while back, but apparently coreboot had worked around it. I rebuilt crossgcc with -b last night and that didn't solve the issue.

config.status: creating grub-reboot
Making all in grub-core
/usr/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status

If I tweak payloads/external/GRUB2/Makefile such that line 43 has CFLAGS="-O2 -fno-pie" TARGET_CFLAGS="-Os -no-pie" it builds but then SeaBIOS won't run the grub payload:

Booting from CBFS...
Run img/grub
Segment 464c457f 16777216@0xff9291b8 -> 8519680@0x02000300
No support for compression type 10101
enter handle_18:
NULL
Booting from Hard Disk...


Files

dotconfig (21.8 KB) dotconfig SGS IT, 03/10/2017 04:39 PM
Actions

Also available in: Atom PDF