This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

plugin.exp testsuite dependencies on prev- paths


I see all the plugin tests fail when trying to build the tests; this looks a bit
like PR41569, and the tests fail with

  make -k -C <build>/gcc check RUNTESTFLAGS="plugin.exp --debug"


In file included from <src>/gcc/testsuite/../../gcc/gcc-plugin.h:28:0,
   from <src>/gcc/testsuite/g++.dg/plugin/attribute_plugin.c:3:
# include <cstring>
           ^
compilation terminated.

because the compilation is called like:

Executing on build: <build>/./prev-gcc/xg++ -B<build>/./prev-gcc/ ... \
  -nostdinc++ \
  -I<build>/prev-x86_64-linux-gnu/libstdc++-v3/include

However for a staged build, both prev-gcc and prev-x86_64-linux-gnu don't exist
anymore after a successful build. Re-creating these symlinks for the test run
works around the issue.

I can't see these failures for other submitted test results, so any hint what
I'm doing wrong here?

  Matthias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]