Actions
Feature #142
openDetect differrent GCC versions
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.
Updated by Martin Roth over 7 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