Feature #142

Detect differrent GCC versions

Added by Paul Menzel almost 2 years ago. Updated almost 2 years ago.

Status:NewStart date:09/29/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

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.

History

#1 Updated by Martin Roth almost 2 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.

Also available in: Atom PDF