Linking in vxworks kernel-mode is partial linking, so missing symbols
are not detected.

Regstrapped on x86_64-linux-gnu, and tested with -x-arm-wrs-vxworks7r2.
Ok to install?


from Jerome Lambourg <lambo...@adacore.com>
for  gcc/testsuite/ChangeLog

        * g++.old-deja/g++.pt/const2.C: Skip on vxworks kernel.
---
 gcc/testsuite/g++.old-deja/g++.pt/const2.C |    1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/g++.old-deja/g++.pt/const2.C 
b/gcc/testsuite/g++.old-deja/g++.pt/const2.C
index 3ca4a532b1987..7340ff4e982ce 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/const2.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/const2.C
@@ -1,4 +1,5 @@
 // { dg-do link }
+// { dg-skip-if "VxWorks dkms use partial link" { vxworks_kernel } }
 // This test should get a linker error for the reference to A<int>::i.
 // { dg-prune-output "ld: symbol" }
 // { dg-message "i" "" { target *-*-* } 0 }


-- 
Alexandre Oliva, happy hacker  https://FSFLA.org/blogs/lxo/
   Free Software Activist         GNU Toolchain Engineer
        Vim, Vi, Voltei pro Emacs -- GNUlius Caesar

Reply via email to