NetBSD Problem Report #54644
From martin@aprisoft.de Wed Oct 23 09:46:50 2019
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 6AD2B7A155
for <gnats-bugs@gnats.NetBSD.org>; Wed, 23 Oct 2019 09:46:50 +0000 (UTC)
Message-Id: <20191023094640.E8C0B5CC879@emmas.aprisoft.de>
Date: Wed, 23 Oct 2019 11:46:40 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: can not build new gcc on -current as of a few days ago
X-Send-Pr-Version: 3.95
>Number: 54644
>Category: toolchain
>Synopsis: can not build new gcc on -current as of a few days ago
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 23 09:50:01 +0000 2019
>Closed-Date: Wed Oct 23 16:27:55 +0000 2019
>Last-Modified: Wed Oct 23 16:30:01 +0000 2019
>Originator: Martin Husemann
>Release: NetBSD 9.99.17
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD seven-days-to-the-wolves.aprisoft.de 9.99.17 NetBSD 9.99.17 (GENERIC) #313: Sun Oct 13 10:57:23 CEST 2019 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Trying to build -current amd64 on -current (as of a few days ago) fails for
me:
--- errors.lo ---
In file included from /usr/include/g++/bits/move.h:55:0,
from /usr/include/g++/bits/nested_exception.h:40,
from /usr/include/g++/exception:144,
from /usr/include/g++/new:40,
from /work/src/external/gpl3/gcc/dist/gcc/system.h:242,
from /work/src/external/gpl3/gcc/dist/gcc/errors.c:30:
/usr/include/g++/type_traits:921:32: error: there are no arguments to '__is_constructible' that depend on a template parameter, so a declaration of '__is_constructible' must be available [-fpermissive]
: public __bool_constant<__is_constructible(_Tp, _Args...)>
^~~~~~~~~~~~~~~~~~
/usr/include/g++/type_traits:921:32: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/include/g++/type_traits:921:65: error: template argument 1 is invalid
: public __bool_constant<__is_constructible(_Tp, _Args...)>
^
/usr/include/g++/type_traits:1049:32: error: there are no arguments to '__is_assignable' that depend on a template parameter, so a declaration of '__is_assignable' must be available [-fpermissive]
: public __bool_constant<__is_assignable(_Tp, _Up)>
^~~~~~~~~~~~~~~
/usr/include/g++/type_traits:1049:57: error: template argument 1 is invalid
: public __bool_constant<__is_assignable(_Tp, _Up)>
^
In file included from /work/src/external/gpl3/gcc/dist/gcc/system.h:243:0,
from /work/src/external/gpl3/gcc/dist/gcc/errors.c:30:
/usr/include/g++/utility:307:35: error: there are no arguments to '__integer_pack' that depend on a template parameter, so a declaration of '__integer_pack' must be available [-fpermissive]
using __type = _Index_tuple<__integer_pack(_Num)...>;
^~~~~~~~~~~~~~
/usr/include/g++/utility:307:55: error: expansion pattern '__integer_pack(_Num)' contains no argument packs
using __type = _Index_tuple<__integer_pack(_Num)...>;
^~~
/usr/include/g++/utility:307:58: error: template argument 1 is invalid
using __type = _Index_tuple<__integer_pack(_Num)...>;
^
/usr/include/g++/utility:329:51: error: expansion pattern '__integer_pack(_Num)' contains no argument packs
= integer_sequence<_Tp, __integer_pack(_Num)...>;
^~~
/usr/include/g++/utility:329:54: error: template argument 2 is invalid
= integer_sequence<_Tp, __integer_pack(_Num)...>;
^
/usr/include/g++/utility:340:33: error: 'make_integer_sequence' does not name a type; did you mean 'integer_sequence'?
using make_index_sequence = make_integer_sequence<size_t, _Num>;
^~~~~~~~~~~~~~~~~~~~~
integer_sequence
/usr/include/g++/utility:344:32: error: 'make_index_sequence' does not name a type; did you mean 'index_sequence'?
using index_sequence_for = make_index_sequence<sizeof...(_Types)>;
^~~~~~~~~~~~~~~~~~~
index_sequence
*** [errors.lo] Error code 1
nbmake[8]: stopped in /work/src/external/gpl3/gcc/usr.bin/common-target
>How-To-Repeat:
Try to build on -current
>Fix:
n/a
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Wed, 23 Oct 2019 16:27:55 +0000
State-Changed-Why:
Fallout from in-place (build.sh -E with DESTDIR=/) build, note added to
UPDATING.
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54644 CVS commit: src
Date: Wed, 23 Oct 2019 16:26:43 +0000
Module Name: src
Committed By: martin
Date: Wed Oct 23 16:26:42 UTC 2019
Modified Files:
src: UPDATING
Log Message:
Add note for GCC 8 builds (see PR 54644)
To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/UPDATING
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.