NetBSD Problem Report #47214

From Wolfgang.Stukenbrock@nagler-company.com  Mon Nov 19 09:45:38 2012
Return-Path: <Wolfgang.Stukenbrock@nagler-company.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id EB7C863E8A7
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 19 Nov 2012 09:45:37 +0000 (UTC)
Message-Id: <20121119094529.449A797110@s011.nagler-company.com>
Date: Mon, 19 Nov 2012 10:45:29 +0100 (CET)
From: Wolfgang.Stukenbrock@nagler-company.com
Reply-To: Wolfgang.Stukenbrock@nagler-company.com
To: gnats-bugs@gnats.NetBSD.org
Subject: gcc44 from pkgsrc 2012Q3 fails to compile on 5.1.2
X-Send-Pr-Version: 3.95

>Number:         47214
>Category:       pkg
>Synopsis:       gcc44 from pkgsrc 2012Q3 fails to compile on 5.1.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 19 09:50:00 +0000 2012
>Closed-Date:    Wed Jan 17 10:30:46 +0000 2018
>Last-Modified:  Wed Jan 17 10:30:46 +0000 2018
>Originator:     Dr. Wolfgang Stukenbrock
>Release:        NetBSD 5.1.2 and pkgsrc 2012Q3
>Organization:
Dr. Nagler & Company GmbH
>Environment:


System: NetBSD s011 5.1.2 NetBSD 5.1.2 (NSW-S011) #5: Fri Nov 16 14:54:56 CET 2012 wgstuken@s011:/usr/src/sys/arch/amd64/compile/NSW-S011 amd64
Architecture: x86_64
Machine: amd64
>Description:
	When trying to build lang/gcc44 from pkgsrc 2012Q3 the compilation failed with the following error message:

/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/./gcc/xgcc -shared-libgcc -B/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/./gcc -nostdinc++ -L/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3/src -L/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3/src/.libs -B/usr/pkg/gcc44/x86_64-unknown-netbsd5.1.2/bin/ -B/usr/pkg/gcc44/x86_64-unknown-netbsd5.1.2/lib/ -isystem /usr/pkg/gcc44/x86_64-unknown-netbsd5.1.2/include -isystem /usr/pkg/gcc44/x86_64-unknown-netbsd5.1.2/sys-include -x c++-header -g -O2 -I/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/.buildlink/include -I/usr/pkg/include -I/usr/include   -I/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3/include/x86_64-unknown-netbsd5.1.2 -I/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3/include -I/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/gcc-4.4.7/libstdc++-v3/libsupc++ -O2 -g /ho
 me/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/gcc-4.4.7/libstdc++-v3/include/precompiled/stdtr1c++.h -o x86_64-unknown-netbsd5.1.2/bits/stdtr1c++.h.gch/O2g.gch
In file included from /home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3/include/tr1/cfenv:36,
                 from /home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/gcc-4.4.7/libstdc++-v3/include/precompiled/stdtr1c++.h:33:
/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3/include/fenv.h:36:24: error: fenv.h: No such file or directory
gmake[4]: *** [x86_64-unknown-netbsd5.1.2/bits/stdtr1c++.h.gch/O2g.gch] Error 1
gmake[4]: Leaving directory `/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3/include'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj/x86_64-unknown-netbsd5.1.2/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44/work/obj'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44
*** Error code 1

Stop.
make: stopped in /home/.pkgsrc/pkgsrc-2012Q3/lang/gcc44


>How-To-Repeat:
	Install netbsd 5.1.2 and pkgsrc 2012Q3. Try to compile lang/gcc44. It will fail.
>Fix:
	Not known till now - sorry.
	There are other compiler versions (gcc45, gcc46 and gcc47) that compile on the system, so I haven't step
	deeper into this problem.
	remark: theese other version will install bad header files - see bug-report 47213. So there is no working gcc 4.x
		in pkgsrc 2012Q3 for netbsd 5.1.2 at the moment.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->sbd
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sun, 16 Dec 2012 19:32:11 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: sbd->pkg-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 26 Jun 2016 04:37:06 +0000
Responsible-Changed-Why:
sbd resigned and shouldn't own PRs



State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 17 Jan 2018 10:30:46 +0000
State-Changed-Why:
somewhat of a 'won't fix'. netbsd ships a fenv.h since 2010, so I assume from netbsd-6, which would've been the 'proper fix'. netbsd-5 is end of life so having a hack to work around an older issue that is likely not desired, just that the bug was not fixed in the appropriate time.


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.