-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binutils with GDB option crashes on bfd/doc #1422
Comments
I've seen the |
Ah thanks. That helped me solve the issue. What seems to have happened is the following. I used an existing toolchain build with crosstool-ng 1.22.0 to build the new toolchain with crosstool-ng 1.24.0. BASEDIR/libexec/gcc has cc1, while BASEDIR/x86_64-asustor-linux-gnu/libexec doesn't What solved it for me is :
ln -s x86_64-asustor-linux-gnu-gdb gdb Seems somehow binutils GDB doesn't pick vendor tupled GCC's. |
So are we calling this closed with changes to the build environment? |
Issue submission guidelines
See detaled guidelines. In short:
1.24.0
Linux 4.14.x
.config
(unless the issue is not related to any configuration)STABLE-binutillibs.txt
build.log
(unless crosstool-NG fails before the build starts)build.STABLE-binutillibs.zip
While building GCC-4.9.4 with LIBC-2.23 / max ABI 2.22 and Binutils 2.27 the process crashes while reporting it's unable to find cc1. I've seen the same error before in other configuration settings and other binutils versions though, so doubt if it's specific to the versions selected. Unticking the GDB option with the exact same configuration makes crosstool-ng complete without issues.
[ALL ] Making info in doc
[ALL ] make[3]: Entering directory
/volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/build/build-binutils-for-target/bfd/doc' [ALL ] gcc -o chw$$ -I.. -I/volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/.. -I/volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/../../include -I/volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/../../intl -I../../intl /volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/chew.c; /volume2/toolchain-ng/x86_64-asustor-linux-gnu/sysroot/bin//bash /volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/../../move-if-change chw$$ chew; touch chew.stamp [ALL ] gcc: error trying to exec 'cc1': execvp: No such file or directory [ALL ] creating bfdver.texi [ALL ] mv: cannot stat 'chw479': No such file or directory [ALL ] ./chew -f /volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/doc.str < /volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/../aoutx.h >aoutx.tmp [ALL ] ./chew -f /volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/doc.str < /volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/../archive.c >archive.tmp [ALL ] ./chew -f /volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/doc.str < /volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/src/binutils/bfd/doc/../archures.c >archures.tmp [ALL ] /volume2/toolchain-ng/x86_64-asustor-linux-gnu/sysroot/bin//bash: ./chew: No such file or directory [ERROR] make[3]: *** [aoutx.stamp] Error 127 [ERROR] make[3]: *** Waiting for unfinished jobs.... [ALL ] /volume2/toolchain-ng/x86_64-asustor-linux-gnu/sysroot/bin//bash: ./chew: No such file or directory [ERROR] make[3]: *** [archive.stamp] Error 127 [ALL ] /volume2/toolchain-ng/x86_64-asustor-linux-gnu/sysroot/bin//bash: ./chew: No such file or directory [ERROR] make[3]: *** [archures.stamp] Error 127 [ALL ] make[3]: Leaving directory
/volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/build/build-binutils-for-target/bfd/doc'[ERROR] make[2]: *** [info-recursive] Error 1
[ERROR] make[2]: *** Waiting for unfinished jobs....
[ALL ] mv -f targmatch.new targmatch.h
[ALL ] make[2]: Leaving directory
/volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/build/build-binutils-for-target/bfd' [ERROR] make[1]: *** [all-bfd] Error 2 [ALL ] make[1]: Leaving directory
/volume2/crosstool-ng-1.24.0/bin/.build/x86_64-asustor-linux-gnu/build/build-binutils-for-target'Still troubleshooting and will apend with comments while I go along with trial-and-error troubleshooting, but if the issue rings a bell, feedback on what I could try as a solution is much appreciated.
The text was updated successfully, but these errors were encountered: