NetBSD Problem Report #56117

From gson@gson.org  Mon Apr 19 18:36:55 2021
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 00B3D1A923F
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 19 Apr 2021 18:36:54 +0000 (UTC)
Message-Id: <20210419183639.C3D37253F67@guava.gson.org>
Date: Mon, 19 Apr 2021 21:36:39 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: New test failures on amd64 since switch to gcc10
X-Send-Pr-Version: 3.95

>Number:         56117
>Category:       toolchain
>Synopsis:       New test failures on amd64 since switch to gcc10
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 19 18:40:00 +0000 2021
>Closed-Date:    Fri Mar 17 20:13:55 +0000 2023
>Last-Modified:  Fri Mar 17 20:13:55 +0000 2023
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2021.04.17.09.39.33
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

There are some new ATF test failures on amd64:

  lib/libc/sys/t_ptrace_wait3:syscallemu1
  lib/libc/sys/t_ptrace_wait4:syscallemu1
  lib/libc/sys/t_ptrace_wait6:syscallemu1
  lib/libc/sys/t_ptrace_wait:syscallemu1
  lib/libc/sys/t_ptrace_waitpid:syscallemu1
  usr.bin/c++/t_call_once:call_once_pic_profile_32
  usr.bin/c++/t_cxxruntime:cxxruntime_pic_profile_32
  usr.bin/c++/t_hello:hello_pic_profile_32
  usr.bin/c++/t_pthread_once:pthread_once_pic_profile_32
  usr.bin/c++/t_static_destructor:static_destructor_pic_profile_32

since the recent period of build breakage during which the following
commits were made:

  2021.04.17.04.07.16 mrg src/external/gpl3/gcc/README.gcc10 1.11
  2021.04.17.04.07.16 mrg src/share/mk/bsd.own.mk 1.1240
  2021.04.17.04.08.32 mrg src/UPDATING 1.318
  2021.04.17.04.11.52 mrg src/doc/3RDPARTY 1.1795
  2021.04.17.04.11.52 mrg src/doc/CHANGES 1.2796
  2021.04.17.05.57.11 simonb src/common/lib/libc/string/memset2.c 1.6
  2021.04.17.06.02.35 simonb src/common/lib/libc/string/memset2.c 1.7
  2021.04.17.06.14.15 maya src/usr.bin/w/pr_time.c 1.19
  2021.04.17.06.14.15 maya src/usr.bin/w/w.c 1.91
  2021.04.17.08.06.58 simonb src/common/lib/libc/string/memset2.c 1.8
  2021.04.17.08.34.27 maya src/usr.bin/systat/ps.c 1.40
  2021.04.17.08.35.33 maya src/bin/ps/print.c 1.135
  2021.04.17.09.22.28 rin src/sys/arch/powerpc/include/oea/vmparam.h 1.21
  2021.04.17.09.39.33 mlelstv src/share/mk/bsd.own.mk 1.1241

I'm guessing the failures were triggered by the switch to gcc10.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@netbsd.org
Cc: toolchain-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: toolchain/56117: New test failures on amd64 since switch to gcc10
Date: Wed, 21 Apr 2021 10:11:45 +1000

 >   usr.bin/c++/t_call_once:call_once_pic_profile_32
 >   usr.bin/c++/t_cxxruntime:cxxruntime_pic_profile_32
 >   usr.bin/c++/t_hello:hello_pic_profile_32
 >   usr.bin/c++/t_pthread_once:pthread_once_pic_profile_32
 >   usr.bin/c++/t_static_destructor:static_destructor_pic_profile_32

 christos has fixed these ones.


 .mrg.

From: Andreas Gustafsson <gson@gson.org>
To: gnats-bugs@netbsd.org
Cc: mrg@NetBSD.org
Subject: re: toolchain/56117: New test failures on amd64 since switch to gcc10
Date: Tue, 21 Sep 2021 17:42:42 +0300

 These test cases are still failing as of source date 2021.09.20.23.22.36:

   lib/libc/sys/t_ptrace_wait:syscallemu1
   lib/libc/sys/t_ptrace_wait3:syscallemu1
   lib/libc/sys/t_ptrace_wait4:syscallemu1
   lib/libc/sys/t_ptrace_wait6:syscallemu1
   lib/libc/sys/t_ptrace_waitpid:syscallemu1

 Logs:

   http://releng.netbsd.org/b5reports/amd64/2021/2021.09.20.23.22.36/test.html#failed-tcs-summary

 -- 
 Andreas Gustafsson, gson@gson.org

From: "Juergen Hannken-Illjes" <hannken@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56117 CVS commit: src/sys/kern
Date: Wed, 29 Jun 2022 16:33:09 +0000

 Module Name:	src
 Committed By:	hannken
 Date:		Wed Jun 29 16:33:09 UTC 2022

 Modified Files:
 	src/sys/kern: sys_syscall.c

 Log Message:
 Synchronize SYS_SYSCALL() with other syscall implementations and
 call trace_exit() even if trace_enter() returned an error.

 PR kern/52166 "syscallemu does not work on sparc (32-bit)"
 PR toolchain/56117 "New test failures on amd64 since switch to gcc10"


 To generate a diff of this commit:
 cvs rdiff -u -r1.14 -r1.15 src/sys/kern/sys_syscall.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Fri, 17 Mar 2023 20:13:55 +0000
State-Changed-Why:
problem was fixed.  thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.