From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id ABEC4385702C; Fri, 18 Dec 2020 14:47:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABEC4385702C Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets X-Act-Checkin: gcc X-Git-Author: Jerome Lambourg X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: 4f35eee151227c9a89ba452d65754cc2ca1e0df6 X-Git-Newrev: 8de00a18e33feef335eaf12b2d7107178b65a487 Message-Id: <20201218144708.ABEC4385702C@sourceware.org> Date: Fri, 18 Dec 2020 14:47:08 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2020 14:47:08 -0000 https://gcc.gnu.org/g:8de00a18e33feef335eaf12b2d7107178b65a487 commit 8de00a18e33feef335eaf12b2d7107178b65a487 Author: Jerome Lambourg Date: Fri Dec 18 11:39:42 2020 -0300 skip testsuite/g++.dg/other/anon5.C on vxworks_kernel targets The vxworks kernel-mode linking is partial linking, so it cannot detect missing symbols. for gcc/testsuite/ChangeLog * g++.dg/other/anon5.C: Skip on vxworks kernel. Diff: --- 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 dadd92ef9e4..09853d4c651 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" } */