[Bug target/98152] [11 regression] /usr/bin/env: 'python': No such file or directory
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 8 07:52:38 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98152
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kito Cheng <kito@gcc.gnu.org>:
https://gcc.gnu.org/g:4aaf33718f09daf1cd2864b3db07faa2e44642ff
commit r11-5835-g4aaf33718f09daf1cd2864b3db07faa2e44642ff
Author: Kito Cheng <kito.cheng@sifive.com>
Date: Sun Dec 6 11:39:22 2020 +0800
PR target/98152: Checking python is available before using
We'll try to canonicalize the arch string for --with-arch,
and the script is written in python, however it will turns out
GCC require python to build for RISC-V port, it's not expect as
the GCC requirement.
So this patch is made this as optional, detect python and only use it
when it available, it won't break any functionality with out doing
canonicalization, just might build one more redundant multi-lib.
gcc/ChangeLog:
PR target/98152
* config.gcc (riscv*-*-*): Checking python, python3 or python2
is available, and skip doing with_arch canonicalize if no python
available.
More information about the Gcc-bugs
mailing list