Steve Ellcey <steve.ell...@imgtec.com> writes: > As follow-up to this patch, I forgot to include a testsuite patch to two > mips specific tests that fail with the new layout. These tests are > loongson specific and have includes of system headers in them. The way > mips.exp in testsuite/gcc.target/mips works is that for runnable tests > requiring a specific ABI that is incompatible with the ABI being tested > the test is converted to an assemble only test. With the old layouts > for mips-mti-linux* and mips-img-linux*, this was no problem because > there was a single copy of /usr/include in sysroot used by all > compilations. With the new layout there are multiple copies > of /usr/include under each of the various system sysroots and if the ABI > does not match any of those than the test will not know where to find > the include files. Since there are only two of these tests and I could > not think of a clean way to make the tests work on the mti or img > toolchains I just added a target option to skip them for the mti and img > toolchains. > > I ran this by Matthew and got his OK so I will check this patch in along > with the patch to change the sysroot layout.
Agreed, I see no way to avoid this. Thanks, Matthew