[Bug other/106429] Building GCC is Inhibited on old Linux Distributions due to the use of "#!/bin/bash"

2022-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106429 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug other/106429] Building GCC is Inhibited on old Linux Distributions due to the use of "#!/bin/bash"

2022-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106429 --- Comment #2 from Andrew Pinski --- GCC 11.2.0 had the same as what I found on the trunk `git grep "/bin/bash" releases/gcc-11.2.0`): releases/gcc-11.2.0:contrib/bench-stringop:#!/bin/bash releases/gcc-11.2.0:contrib/compare-all-tests:#! /bin/

[Bug other/106429] Building GCC is Inhibited on old Linux Distributions due to the use of "#!/bin/bash"

2022-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106429 --- Comment #3 from Andrew Pinski --- Also almost all of the GCC build scripts depend on just POSIX sh rather than bash. It might be the case you need to set CONFIG_SHELL instead as defined as part of the autoconf .

[Bug other/106429] Building GCC is Inhibited on old Linux Distributions due to the use of "#!/bin/bash"

2022-07-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106429 --- Comment #4 from Jonathan Wakely --- (In reply to Martin Vahi from comment #0) > To build a newer version of GCC, some > newer version of Bash is at least sometimes required, because Why? Your "depencency graph" doesn't actually explain any

[Bug other/106429] Building GCC is Inhibited on old Linux Distributions due to the use of "#!/bin/bash"

2022-07-29 Thread martin.vahi at softf1 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106429 --- Comment #5 from Martin Vahi --- Created attachment 53385 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53385&action=edit Console Output of the Bash Version Related GCC Build Failure ... gmake[1]: Entering directory '/opt/andm

[Bug other/106429] Building GCC is Inhibited on old Linux Distributions due to the use of "#!/bin/bash"

2022-07-29 Thread martin.vahi at softf1 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106429 --- Comment #6 from Martin Vahi --- Created attachment 53386 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53386&action=edit List of changes that allow temporary use of an alternative Bash binary. Too old Bash version: GNU bash, ve

[Bug other/106429] Building GCC is Inhibited on old Linux Distributions due to the use of "#!/bin/bash"

2022-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106429 --- Comment #7 from Andrew Pinski --- (In reply to Martin Vahi from comment #5) > Created attachment 53385 [details] This is a failure while "make clean". And your patch does not even touch anything related to libgcc and "make clean". So this

[Bug other/106429] Building GCC is Inhibited on old Linux Distributions due to the use of "#!/bin/bash"

2022-07-29 Thread martin.vahi at softf1 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106429 --- Comment #8 from Martin Vahi --- Thank You for the answers/replies. As of 2022_07_30 I am not familiar with the GCC source code, nor do I know the GCC build system, but as someone, who can do configure-make-make_install, I have the following