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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 04 21:45:00 +0000 2015
>Closed-Date:    Tue May 16 05:56:20 +0000 2017
>Last-Modified:  Tue May 16 05:56:20 +0000 2017
>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:


>Release-Note:

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


From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50210 CVS commit: pkgsrc/lang/gcc49
Date: Sat, 22 Apr 2017 12:22:01 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Sat Apr 22 12:22:01 UTC 2017

 Modified Files:
 	pkgsrc/lang/gcc49: Makefile

 Log Message:
 gcc49: don't use precompiled headers for libstdc++

 this is a build time optimization that causes hangs on some machines
 (netbsd-7/i386, but not netbsd-7/amd64). disable it globally instead
 of guessing which are broken.

 gcc{5,6} are already disabling it.

 PR pkg/51352: Compilation error on lang/gcc49
 PR pkg/50210: Compilation of gcc 4.9 and 5.2 hangs on NetBSD 6.1_STABLE


 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/gcc49/Makefile

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

From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50210 CVS commit: [pkgsrc-2017Q1] pkgsrc/lang/gcc49
Date: Sun, 23 Apr 2017 09:49:15 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sun Apr 23 09:49:15 UTC 2017

 Modified Files:
 	pkgsrc/lang/gcc49 [pkgsrc-2017Q1]: Makefile

 Log Message:
 Pullup ticket #5355 - requested by sevan
 lang/gcc49: build fix

 Revisions pulled up:
 - lang/gcc49/Makefile                                           1.14

 ---
    Module Name:    pkgsrc
    Committed By:   maya
    Date:           Sat Apr 22 12:22:01 UTC 2017

    Modified Files:
            pkgsrc/lang/gcc49: Makefile

    Log Message:
    gcc49: don't use precompiled headers for libstdc++

    this is a build time optimization that causes hangs on some machines
    (netbsd-7/i386, but not netbsd-7/amd64). disable it globally instead
    of guessing which are broken.

    gcc{5,6} are already disabling it.

    PR pkg/51352: Compilation error on lang/gcc49
    PR pkg/50210: Compilation of gcc 4.9 and 5.2 hangs on NetBSD 6.1_STABLE


 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.13.6.1 pkgsrc/lang/gcc49/Makefile

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

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 16 May 2017 05:15:03 +0000
State-Changed-Why:
Did the commits resolve the problem?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 16 May 2017 05:56:20 +0000
State-Changed-Why:
submitter's email bounces.


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