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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 22 11:30:00 +0000 2012
>Closed-Date:    Mon Feb 26 19:09:35 +0000 2018
>Last-Modified:  Mon Feb 26 19:09:35 +0000 2018
>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

State-Changed-From-To: open->closed
State-Changed-When: Mon, 26 Feb 2018 19:09:35 +0000
lang/gcc46 has been removed. also, I recall having success with one close GCC version while on linux, so I suspect it was fixed in the meantime. sorry your PR did not get a response at the time.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.