Message ID | orpn31h638.fsf@lxoliva.fsfla.org |
---|---|
State | New |
Headers | show |
Series | skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets | expand |
On Dec 22, 2020, at 1:40 PM, Alexandre Oliva <oliva@adacore.com> wrote: > > The vxworks kernel-mode linking is partial linking, so it cannot > detect missing symbols. > > Regstrapped on x86_64-linux-gnu, and tested with -x-arm-wrs-vxworks7r2. > Ok to install? Ok.
diff --git a/gcc/testsuite/g++.dg/other/anon5.C b/gcc/testsuite/g++.dg/other/anon5.C index dadd92ef9e4a1..09853d4c6515e 100644 --- a/gcc/testsuite/g++.dg/other/anon5.C +++ b/gcc/testsuite/g++.dg/other/anon5.C @@ -1,6 +1,9 @@ // PR c++/34094 // { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } } // { dg-require-effective-target nonpic } +// Skip on vxworks kernel: The link being partial, the linker doesn't see +// the undefined reference +// { dg-skip-if "partial link" { vxworks_kernel } } // { dg-options "-gdwarf-2" } // Ignore additional message on powerpc-ibm-aix // { dg-prune-output "obtain more information" } */