* skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets
@ 2020-12-22 21:40 Alexandre Oliva
2020-12-29 18:32 ` Mike Stump
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Oliva @ 2020-12-22 21:40 UTC (permalink / raw)
To: gcc-patches; +Cc: Jerome Lambourg
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?
from Jerome Lambourg <lambourg@adacore.com>
for gcc/testsuite/ChangeLog
* g++.dg/other/anon5.C: Skip on vxworks kernel.
---
gcc/testsuite/g++.dg/other/anon5.C | 3 +++
1 file changed, 3 insertions(+)
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" } */
--
Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/
Free Software Activist GNU Toolchain Engineer
Vim, Vi, Voltei pro Emacs -- GNUlius Caesar
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets
2020-12-22 21:40 skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets Alexandre Oliva
@ 2020-12-29 18:32 ` Mike Stump
0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2020-12-29 18:32 UTC (permalink / raw)
To: Alexandre Oliva; +Cc: gcc-patches, Jerome Lambourg
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-29 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 21:40 skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets Alexandre Oliva
2020-12-29 18:32 ` Mike Stump
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).