Project

General

Profile

Actions

Feature #142

open

Detect differrent GCC versions

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

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/29/2017
Due date:
% Done:

0%

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

Description

In Debian the package gcc-7-aarch64-linux-gnu ships the binaries below.

/usr/bin/aarch64-linux-gnu-gcc-7
/usr/bin/aarch64-linux-gnu-gcc-ar-7
/usr/bin/aarch64-linux-gnu-gcc-nm-7
/usr/bin/aarch64-linux-gnu-gcc-ranlib-7
/usr/bin/aarch64-linux-gnu-gcov-7
/usr/bin/aarch64-linux-gnu-gcov-dump-7
/usr/bin/aarch64-linux-gnu-gcov-tool-7

Unfortunately, these are not detected, probably due to the -7 at the end. Creating symbolic links works around the issue.

$ ln -s /usr/bin/aarch64-linux-gnu-gcc-nm{-7,}
$ ln -s /usr/bin/aarch64-linux-gnu-gcc-ar{-7,}
$ ln -s /usr/bin/aarch64-linux-gnu-gcc{-7,}
$ ln -s /usr/bin/aarch64-linux-gnu-cpp{-7,}

It’d be great, if coreboot’s build system detected such binaries.

Actions #1

Updated by Martin Roth over 6 years ago

coreboot supports its own toolchain. External toolchains are totally un-reproducible as we have no idea what toolchain is being used. If someone wants to do this I won't object, but I think it's a very low priority.

Actions

Also available in: Atom PDF