NetBSD Problem Report #53684

From martin@duskware.de  Fri Oct 26 08:38:21 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 6BB3A7A16B
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 26 Oct 2018 08:38:21 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: atf-run fails on m68k
X-Send-Pr-Version: 3.95

>Number:         53684
>Category:       toolchain
>Synopsis:       atf-run fails on m68k
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 26 08:40:00 +0000 2018
>Closed-Date:    Tue Dec 25 13:22:00 +0000 2018
>Last-Modified:  Fri Dec 28 21:35:01 +0000 2018
>Originator:     martin@NetBSD.org
>Release:        NetBSD 8.99.25
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD mac-beth.duskware.de 8.99.25 NetBSD 8.99.25 (MAC-BETH) #6: Fri Oct 19 16:46:22 CEST 2018 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/mac68k/compile/MAC-BETH mac68k
Architecture: m68k
Machine: mac68k
>Description:

In -current, all atf tests fail on m68k. This used to work some gcc updates
ago :-/

>How-To-Repeat:

cd /usr/tests/bin/sleep && atf-run 

[..]
tps-count: 1
tp-start: 1540542636.956358, t_sleep, 3
tc-start: 1540542636.968246, fraction
terminate called after throwing an instance of 'tools::system_error'
  what():  tools::fs::eaccess: Cannot get information from file /tmp/atf-run.Bf$


>Fix:
n/a

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 25 Dec 2018 13:22:00 +0000
State-Changed-Why:
duplicate 53810 which contains more information.


From: "Rin Okuyama" <rin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53684 CVS commit: src/external/gpl3
Date: Fri, 28 Dec 2018 21:30:20 +0000

 Module Name:	src
 Committed By:	rin
 Date:		Fri Dec 28 21:30:20 UTC 2018

 Modified Files:
 	src/external/gpl3/gcc.old/dist/gcc/config/m68k: netbsd-elf.h
 	src/external/gpl3/gcc/dist/gcc/config/m68k: netbsd-elf.h

 Log Message:
 PR toolchain/53810
 PR toolchain/53684
 PR toolchain/53685

 No one defines TARGET_DEFAULT_CPU anymore. Use ENABLE_SHARED_LIBGCC
 instead to determine whether GCC is configured for m68k or m68000.
 This fixes C++ binaries on m68k, that require libgcc_s.

 OK mrg


 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 \
     src/external/gpl3/gcc.old/dist/gcc/config/m68k/netbsd-elf.h
 cvs rdiff -u -r1.12 -r1.13 \
     src/external/gpl3/gcc/dist/gcc/config/m68k/netbsd-elf.h

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.