Project

General

Profile

Actions

Bug #134

closed

Clang complains about unknown arguments and unsupported flags

Added by Paul Menzel over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
build system
Target version:
-
Start date:
08/15/2017
Due date:
% Done:

0%

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

Description

Commit 7c8d331f (Fine-tune compiler flags) breaks the Clang build in an early stage.

clang-4.0: error: unknown argument: '-fconserve-stack'
clang-4.0: error: optimization flag '-fno-delete-null-pointer-checks' is not supported [-Werror,-Wignored-optimization-argument]

Reverting the commit fixes the warning.

Actions #1

Updated by Paul Menzel over 7 years ago

The URL of the change is https://review.coreboot.org/20883/.

Actions #2

Updated by Stefan Reinauer over 7 years ago

  • Assignee set to Stefan Reinauer
Actions #3

Updated by Paul Menzel over 7 years ago

  • Status changed from New to Closed

Fixed by commit 1db500c1 (Fix build with CLANG, avoid GCC only CFLAGS) [1].

[1] https://review.coreboot.org/21202

Actions

Also available in: Atom PDF