Project

General

Profile

Actions

Bug #3

closed
PG PG

The build system isn't helpful when util/xcompile/xcompile fails because of missing dependencies.

Bug #3: The build system isn't helpful when util/xcompile/xcompile fails because of missing dependencies.

Added by Patrick Georgi over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
build system
Target version:
-
Start date:
11/18/2015
Due date:
11/20/2015
% Done:

100%

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

Description

When trying to build coreboot without iasl installed, util/xcompile/xcompile die()s with an error and an empty .xcompile file, but the build system doesn't catch that.

This leads to unintuitive error messages such as "toolchain.inc:147: *** building bootblock without the required toolchain. Stop."

Instead, the build system should abort while pushing xcompile's complaint into the user's face.

PG Updated by Patrick Georgi over 10 years ago Actions #1

http://review.coreboot.org/12473 makes issues more obvious

SR Updated by Stefan Reinauer over 10 years ago Actions #3

  • Category set to build system
  • Assignee set to Patrick Georgi

PG Updated by Patrick Georgi over 10 years ago Actions #4

  • Due date set to 11/20/2015
  • Status changed from New to Closed
  • % Done changed from 0 to 100

An incomplete .xcompile is now removed with a request to redo the build. If a dependency is missing, the build will still fail, but since the xcompile utility is definitely called, it's error messages should be apparent.

Actions

Also available in: PDF Atom