NetBSD Problem Report #48878
From www@NetBSD.org Thu Jun 5 23:06:37 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 1BFC8A5C6A
for <gnats-bugs@gnats.NetBSD.org>; Thu, 5 Jun 2014 23:06:37 +0000 (UTC)
Message-Id: <20140605230635.861D7A64F0@mollari.NetBSD.org>
Date: Thu, 5 Jun 2014 23:06:35 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: i386 gcc48 cc1plus stuck building boost-libs
X-Send-Pr-Version: www-1.0
>Number: 48878
>Category: toolchain
>Synopsis: i386 gcc48 cc1plus stuck building boost-libs
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: toolchain-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 05 23:10:00 +0000 2014
>Closed-Date: Sat Jun 17 21:17:15 +0000 2017
>Last-Modified: Sat Jun 17 21:17:15 +0000 2017
>Originator: John D. Baker
>Release: NetBSD/i386-6.99.43, pkgsrc-2014Q1
>Organization:
>Environment:
NetBSD gx260a 6.99.43 NetBSD 6.99.43 (NO_DRM) #31: Wed Jun 4 09:55:06 CDT 2014 sysop@verthandi.technoskunk.fur:/d0/build/current/obj/i386/sys/arch/i386/compile/NO_DRM i386
>Description:
Attempting to build devel/boost-libs on recent i386-current (i.e, any
which have gcc 4.8.3) results in the c++ backend "cc1plus" to get stuck
in what seems to be an infinite loop as follows:
PID TTY STAT TIME COMMAND
19253 pts/0- R 423:14.59 /usr/libexec/cc1plus -quiet -I . -I libs/math/src/tr1 -I /var/tmp/pkgsrc/devel/boost-libs/work/.buildlink/include -D_REENTRANT -D_PTHREADS -D BOOST_ALL_NO_LIB=1 -D BOOST_BUILD_PCH_ENABLED -D NDEBUG libs/math/build/../src/tr1/pch.hpp -quiet -dumpbase pch.hpp -mtune=nocona -march=i486 -auxbase-strip bin.v2/libs/math/build/gcc-4.8.3/release/link-static/threading-multi/../src/tr1/pch.hpp.gch -O3 -Wno-inline -Wall -std=c++11 -finline-functions -fvisibility=hidden -o /var/tmp//ccrawH4h.s --output-pch= bin.v2/libs/math/build/gcc-4.8.3/release/link-static/threading-multi/../src/tr1/pch.hpp.gch
amd64 gcc48 does not exhibit this behavior.
>How-To-Repeat:
Attempt to build devel/boost-libs on i386 with gcc 4.8.3 (other ports?).
>Fix:
>Release-Note:
>Audit-Trail:
From: "Aleksej Saushev" <asau@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48878 CVS commit: pkgsrc/devel/boost-libs
Date: Tue, 1 Jul 2014 22:16:43 +0000
Module Name: pkgsrc
Committed By: asau
Date: Tue Jul 1 22:16:43 UTC 2014
Modified Files:
pkgsrc/devel/boost-libs: Makefile
Log Message:
Work around PR toolchain/48878: make it build on NetBSD/i386 with GCC 4.8.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/boost-libs/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Matthias Scheler" <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48878 CVS commit: [pkgsrc-2014Q2] pkgsrc/devel/boost-libs
Date: Wed, 2 Jul 2014 19:17:26 +0000
Module Name: pkgsrc
Committed By: tron
Date: Wed Jul 2 19:17:26 UTC 2014
Modified Files:
pkgsrc/devel/boost-libs [pkgsrc-2014Q2]: Makefile
Log Message:
Pullup ticket #4440 - requested by asau
devel/boost-libs: build fix
Revisions pulled up:
- devel/boost-libs/Makefile 1.28
---
Module Name: pkgsrc
Committed By: asau
Date: Tue Jul 1 22:16:43 UTC 2014
Modified Files:
pkgsrc/devel/boost-libs: Makefile
Log Message:
Work around PR toolchain/48878: make it build on NetBSD/i386 with GCC 4.8.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.27.2.1 pkgsrc/devel/boost-libs/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: toolchain/48878: i386 gcc48 cc1plus stuck building boost-libs
Date: Fri, 25 Jul 2014 05:51:56 -0500 (CDT)
I finally got all the rest of my packages updated and returned to
"boost-libs" and packages that depend on it. It completes building
on NetBSD/i386-6.99.48 now. Thanks.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 25 Jul 2014 15:04:10 +0000
State-Changed-Why:
confirmed fixed, thanks
State-Changed-From-To: closed->open
State-Changed-By: asau@NetBSD.org
State-Changed-When: Sun, 27 Jul 2014 23:09:07 +0000
State-Changed-Why:
It is not fixed, a workaround implemented.
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 17 Jun 2017 21:17:15 +0000
State-Changed-Why:
GCC PCH is broken by design and not our job to fix.
>Unformatted:
(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.