https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116730
--- Comment #16 from Hime Haieto <himehaieto at gmail dot com> --- (In reply to Andreas Schwab from comment #15) > Does it help to change the symlink creation rules in > libstdc++-v3/src/libbacktrace/Makefile.am to use $(top_srcdir)/.. instead of > ../../..? I think that should prevent VAPTH from interfering. > > %.c: $(top_srcdir)/../libbacktrace/%.c > $(LN_S) $< $@ > > cp-demangle.c: $(top_srcdir)/../libiberty/cp-demangle.c > $(LN_S) $< $@ You would not want to be using that preset here...I think you were looking for $(top_builddir) and then adjusting to not have any "../" in the path at all, i.e.: %.c: $(top_builddir)/libbacktrace/%.c However, this was not actually what was at the heart of the problem anyway. But you know, what...I'm just going to try and see what happens when I simply delete that entire part outright...see you back with the results of that in about a year (trying not to overload an old system I'm currently using for the build).