NetBSD Problem Report #45363
From www@NetBSD.org Tue Sep 13 14:31:57 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 3267463C789
for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Sep 2011 14:31:57 +0000 (UTC)
Message-Id: <20110913143156.78B9C63C40C@www.NetBSD.org>
Date: Tue, 13 Sep 2011 14:31:56 +0000 (UTC)
From: KOT@MATPOCKuH.Ru
Reply-To: KOT@MATPOCKuH.Ru
To: gnats-bugs@NetBSD.org
Subject: bootstrap must use x86_64 as machine_arch on Solaris 10 amd64
X-Send-Pr-Version: www-1.0
>Number: 45363
>Category: pkg
>Synopsis: bootstrap must use x86_64 as machine_arch on Solaris 10 amd64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 13 14:35:00 +0000 2011
>Last-Modified: Thu Sep 22 11:45:06 +0000 2011
>Originator: Dmitry Afanasiev
>Release:
>Organization:
>Environment:
SunOS sunray 5.10 Generic_144489-01 i86pc i386 i86pc
>Description:
On Solaris 10 amd64 uname -p returns i386.
When bootstrap-ing with ABI=64 MACHINE_ARCH must be equal x86_64.
But in bootstrap/bootstrap I see:
machine_arch=`uname -p | sed -e 's/i86pc/i386/'`
It must be changed to:
[ "_$abi" = "_64" ] &&
machine_arch=`uname -p | sed -e 's/i386/x86_64/'` ||
machine_arch=`uname -p`
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 22 Sep 2011 11:45:06 +0000
Responsible-Changed-Why:
Solaris bootstrapping issue -- please verify.
>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.