-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
Error with --verbose mode: gcc: fatal error: cannot execute 'cc1': execvp: No such file or directory #445
Comments
Thanks for this @marxin ! This kind of weird behavior I associate to mis-compilations (when you do compile against a library, but when you run it picks up another one). Is it possible you have multiple libC libraries? Or headers of the libC? What is the |
No, I have a standard openSUSE Tumbleweed without any extra libC libraries.
|
Thanks @marxin , can you show the output for |
Sure
|
What I have found interesting, that your As we have seen earlier from your Can you create me a reproducable test? (I am just guessing otherwise. I could not reproduce it on my machines, nor on the CI build.) |
You can reproduce it with the following Dockerfile: FROM opensuse/tumbleweed
RUN zypper -n install gcc-c++ git mpfr-devel gmp-devel mpc-devel flex bison make Bear
RUN git clone --depth=1 git://gcc.gnu.org/git/gcc.git
WORKDIR gcc
RUN mkdir objdir
WORKDIR objdir
RUN ../configure --disable-bootstrap --disable-multilib
RUN bear --verbose -- make -j16
RUN wc -l compile_commands.json
I see:
|
I am facing the same issue on ubuntu 22.04. Is this fixed . Please let me know what to do |
It's a follow-up of #439, now with the patch from #439 (applied on the latest release) I see:
Note it does not happen without the
--verbose
option.The text was updated successfully, but these errors were encountered: