[Bug target/98152] [11 regression] /usr/bin/env: 'python': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98152 Kito Cheng changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #5 from Kito Cheng --- I just made python as optional, the functional is not changed, just could be build one more redundant multi-lib.
[Bug target/98152] [11 regression] /usr/bin/env: 'python': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98152 --- Comment #4 from CVS Commits --- The master branch has been updated by Kito Cheng : https://gcc.gnu.org/g:4aaf33718f09daf1cd2864b3db07faa2e44642ff commit r11-5835-g4aaf33718f09daf1cd2864b3db07faa2e44642ff Author: Kito Cheng 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.
[Bug target/98152] [11 regression] /usr/bin/env: 'python': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98152 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #3 from Richard Biener --- btw, if you require python install.texi should list it as prerequesite (on riscv). Note I strongly encourage to replace with sth else.
[Bug target/98152] [11 regression] /usr/bin/env: 'python': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98152 Kito Cheng changed: What|Removed |Added Status|NEW |ASSIGNED CC||kito at gcc dot gnu.org --- Comment #2 from Kito Cheng --- The script has test with python2 and python3, but seems like require python as essential for building RISC-V is inappropriate, I'll send patch later to made this become optional.
[Bug target/98152] [11 regression] /usr/bin/env: 'python': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98152 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-12-05 CC||marxin at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Martin Liška --- The problem is that Python should not be needed during the build process of GCC. Some time ago, I wanted to generate options-related files with Python. But the decision was made that it's quite a big dependency.
[Bug target/98152] [11 regression] /usr/bin/env: 'python': No such file or directory
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98152 Andreas Schwab changed: What|Removed |Added Target Milestone|--- |11.0 Keywords||build