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


Responsible-Changed-From-To: sbd->pkg-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sun, 26 Jun 2016 04:35:56 +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: Mon, 26 Feb 2018 19:09:35 +0000
State-Changed-Why:
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.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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