NetBSD Problem Report #53231

From martin@aprisoft.de  Sun Apr 29 11:19:57 2018
Return-Path: <martin@aprisoft.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 BE62A7A167
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 29 Apr 2018 11:19:57 +0000 (UTC)
Message-Id: <20180429111947.49E8F5CC850@emmas.aprisoft.de>
Date: Sun, 29 Apr 2018 13:19:47 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: can't build xen on -current
X-Send-Pr-Version: 3.95

>Number:         53231
>Category:       pkg
>Synopsis:       can't build xen on -current
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 29 11:20:00 +0000 2018
>Closed-Date:    Wed Jun 27 10:55:32 +0000 2018
>Last-Modified:  Wed Jun 27 10:55:32 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.14
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 8.99.14 NetBSD 8.99.14 (GENERIC) #213: Sat Apr 28 09:26:35 CEST 2018 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

Xen enforces the build of gcc 4.8, which can't be build with gcc 6 in 
-current:

In file included from ../../gcc-4.8.5/gcc/cp/except.c:1008:0:
cfns.gperf: In function 'const char* libc_name_p(const char*, unsigned int)':
cfns.gperf:101:1: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute
cfns.gperf:26:14: note: 'const char* libc_name_p(const char*, unsigned int)' previously declared here
[..]
Makefile:1059: recipe for target 'cp/except.o' failed
gmake[3]: *** [cp/except.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
rm gcc.pod
gmake[3]: Leaving directory '/work/pkgobj/lang/gcc48/work/build/gcc'


>How-To-Repeat:
s/a

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/53231: can't build xen on -current
Date: Sun, 29 Apr 2018 18:23:04 +0000

 https://github.com/gcc-mirror/gcc/commit/1e5f1089dec3af328fd03125d6778f666d0bd4e4#diff-51131fc201a540ac226183399a52b0a5

From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53231: can't build xen on -current
Date: Sun, 29 Apr 2018 21:34:34 +0000

 Also
 https://github.com/NetBSD/src/commit/2ba4a3b883beb3df28f627542f50327ec71678d1#diff-784774fd54598dad2ec7a5a1787435bc

State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 27 Jun 2018 10:34:48 +0000
State-Changed-Why:
Probably fixed, but I ddn't check all xen versions.


State-Changed-From-To: feedback->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 27 Jun 2018 10:55:32 +0000
State-Changed-Why:
tested all xentools except 42 (doesn't build, EOL)


>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.