NetBSD Problem Report #46621
From www@NetBSD.org Fri Jun 22 11:28:02 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 27BA663B882
for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Jun 2012 11:28:02 +0000 (UTC)
Message-Id: <20120622112801.67D8963B85F@www.NetBSD.org>
Date: Fri, 22 Jun 2012 11:28:01 +0000 (UTC)
From: jan.smydke@jh-inst.cas.cz
Reply-To: jan.smydke@jh-inst.cas.cz
To: gnats-bugs@NetBSD.org
Subject: lang/gcc46 @ linux amd64 fails to build as it thinks it's a 32bit system
X-Send-Pr-Version: www-1.0
>Number: 46621
>Category: pkg
>Synopsis: lang/gcc46 @ linux amd64 fails to build as it thinks it's a 32bit system
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: sbd
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 22 11:30:00 +0000 2012
>Last-Modified: Fri Jun 22 11:53:45 +0000 2012
>Originator: Jan Smydke
>Release: Linux
>Organization:
>Environment:
Linux 2.6.38.6
>Description:
lang/gcc46 (and according to buildlogs also other gccs) fails to build on a Linux amd64 machine.
Apparently it thinks it's a 32bit machine since in /usr/include/bits/wordize.h there is no __x86_64__ defined.
As a result the /usr/include/gnu/stubs.h requires to include stubs-32.h (instead of stubs-64.h), which is obviously unavailable.
Applies to both pkgsrc-2012Q1 and current (as of 20120621)
>How-To-Repeat:
just build lang/gcc46 at Linux amd64 box
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->sbd
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Fri, 22 Jun 2012 11:53:45 +0000
Responsible-Changed-Why:
Over to maintainer.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano 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.