NetBSD Problem Report #47214

From  Mon Nov 19 09:45:38 2012
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id EB7C863E8A7
	for <>; Mon, 19 Nov 2012 09:45:37 +0000 (UTC)
Message-Id: <>
Date: Mon, 19 Nov 2012 10:45:29 +0100 (CET)
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
Dr. Nagler & Company GmbH

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

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

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

	Install netbsd 5.1.2 and pkgsrc 2012Q3. Try to compile lang/gcc44. It will fail.
	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.



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

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

State-Changed-From-To: open->closed
State-Changed-When: Wed, 17 Jan 2018 10:30:46 +0000
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.


NetBSD Home
NetBSD PR Database Search

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