NetBSD Problem Report #46621

From  Fri Jun 22 11:28:02 2012
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 27BA663B882
	for <>; Fri, 22 Jun 2012 11:28:02 +0000 (UTC)
Message-Id: <>
Date: Fri, 22 Jun 2012 11:28:01 +0000 (UTC)
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:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 22 11:30:00 +0000 2012
>Last-Modified:  Sun Jun 26 04:35:56 +0000 2016
>Originator:     Jan Smydke
>Release:        Linux
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)
just build lang/gcc46 at Linux amd64 box



Responsible-Changed-From-To: pkg-manager->sbd
Responsible-Changed-When: Fri, 22 Jun 2012 11:53:45 +0000
Over to maintainer.

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


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.