NetBSD Problem Report #50210

From bjjl@qwabbl.com  Fri Sep  4 21:43:02 2015
Return-Path: <bjjl@qwabbl.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id F343EA65BB
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  4 Sep 2015 21:43:01 +0000 (UTC)
Message-Id: <20150904214300.0990B27A92C@prod.qwabbl.com>
Date: Fri,  4 Sep 2015 23:43:00 +0200 (CEST)
From: mail@benjaminlorenz.de
To: gnats-bugs@gnats.NetBSD.org
Subject: Compilation of gcc 4.9 and 5.2 hangs on NetBSD 6.1_STABLE
X-Send-Pr-Version: 3.95

>Number:         50210
>Category:       pkg
>Synopsis:       Compilation of gcc 4.9 and 5.2 hangs on NetBSD 6.1_STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 04 21:45:00 +0000 2015
>Last-Modified:  Wed Sep 09 06:55:01 +0000 2015
>Originator:     Benjamin Lorenz
>Release:        NetBSD 6.1_STABLE
>Organization:

>Environment:


System: NetBSD prod.qwabbl.com 6.1_STABLE NetBSD 6.1_STABLE (PROD) #2: Sun Jan 18 09:15:00 CET 2015 bjjl@prod.qwabbl.com:/usr/obj/sys/arch/i386/compile/PROD i386
Architecture: i386
Machine: i386
>Description:
Compilation of pkgsrc/lang/gcc49 and gcc5 hangs at this stage:

/usr/pkg/src/lang/gcc5/work/build/./gcc/xgcc -shared-libgcc -B/usr/pkg/src/lang/gcc5/work/build/./gcc -nostdinc++ -L/usr/pkg/src/lang/gcc5/work/build/i486--netbsdelf/libstdc++-v3/src -L/usr/pkg/src/lang/gcc5/work/build/i486--netbsdelf/libstdc++-v3/src/.libs -L/usr/pkg/src/lang/gcc5/work/build/i486--netbsdelf/libstdc++-v3/libsupc++/.libs -B/usr/pkg/gcc5/i486--netbsdelf/bin/ -B/usr/pkg/gcc5/i486--netbsdelf/lib/ -isystem /usr/pkg/gcc5/i486--netbsdelf/include -isystem /usr/pkg/gcc5/i486--netbsdelf/sys-include    -x c++-header -nostdinc++ -g -O2 -I/usr/include -I/usr/pkg/include  -I/usr/pkg/src/lang/gcc5/work/build/i486--netbsdelf/libstdc++-v3/include/i486--netbsdelf -I/usr/pkg/src/lang/gcc5/work/build/i486--netbsdelf/libstdc++-v3/include -I/usr/pkg/src/lang/gcc5/work/gcc-5.2.0/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /usr/pkg/src/lang/gcc5/work/gcc-5.2.0/libstdc++-v3/include/precompiled/stdc++.h \
-o i486--netbsdelf/bits/stdc++.h.gch/O2ggnu++0x.gch

From top command:

14713 bjjl      26    0   178M  159M CPU/1     48:42 99.02% 99.02% cc1plus

>How-To-Repeat:

>Fix:


>Audit-Trail:
From: Benjamin Lorenz <bl@pocketservices.de>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Cc: "gnats-admin@netbsd.org" <gnats-admin@netbsd.org>,
	"pkgsrc-bugs@netbsd.org" <pkgsrc-bugs@netbsd.org>
Subject: Re: pkg/50210 (Compilation of gcc 4.9 and 5.2 hangs on NetBSD
 6.1_STABLE)
Date: Wed, 9 Sep 2015 08:54:22 +0200

 Compilation also hangs on NetBSD 7.0 RC3 (i386).


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.