I cannot build current trunk again after a "make clean":
./configure && make -j 12 && make clean && ./configure && make
On a fresh checkout from svn gives:
g++ -std=c++11 -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic-family -I. -I./c-family -I./../include -I./../sdbinutils/include -I./../libcpp/include -I./../libcody -I./../libdecnumber -I./../libdecnumber/bid -I../libdecnumber -I./../libbacktrace -o c-family/c-common.o -MT c-family/c-common.o -MMD -MP -MF c-family/.deps/c-common.TPo c-family/c-common.cc
In file included from c-family/c-common.cc:24:
./coretypes.h:458:10: fatal error: insn-modes.h: Datei oder Verzeichnis nicht gefunden
458 | #include "insn-modes.h"
| ^~~~~~~~~~~~~~
compilation terminated.
Using "make distclean" instead of "make clean" doesn't seem to help either.
This is the list of files left behind by "make clean; make distclean" (the ones with marked by '?'). More importantly: The files marked '!' are from subversion, but got deleted since the checkout:
Last edit: Philipp Klaus Krause 2022-09-06
You should not need to rerun ./configure after make clean. Does it also fail if you leave that out?
./configure && make && make clean && makeIt also failed without the ./configure. I just discovered the bug when using ./configure (I did the make clean; ./configure since I had made changes to the system that I wanted configure to pick up).
P.S.: I'm about to test the fix by @felixs
My bad. This is fixed in [r13694].
Related
Commit: [r13694]
Last edit: Maarten Brock 2022-09-07
Still fails for me.
There are still 2 files in svn that make clean deletes:
And that makes compilation fail: