NetBSD Problem Report #16249

Received: (qmail 12145 invoked from network); 8 Apr 2002 18:07:59 -0000
Message-Id: <Pine.SOL.4.33.0204081856590.1811-100000@draco.cus.cam.ac.uk>
Date: Mon, 8 Apr 2002 19:07:57 +0100 (BST)
From: Ben Harris <bjh21@netbsd.org>
Sender: Ben Harris <bjh21@cus.cam.ac.uk>
To: <gnats-bugs@gnats.netbsd.org>
Subject: playstation2 kernel build uses gratuitously odd toolchain

>Number:         16249
>Category:       port-playstation2
>Synopsis:       playstation2 kernel build uses odd toolchain
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-playstation2-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 08 18:08:02 +0000 2002
>Closed-Date:    Sun Dec 06 22:23:28 +0000 2009
>Last-Modified:  Sun Dec 06 22:23:28 +0000 2009
>Originator:     Ben Harris
>Release:        2002-04-07
>Organization:
>Environment:
Cross-compile from Debian GNU/Linux 2.2
>Description:
sys/arch/playstation2/conf/Makefile.playstation2.inc contains:

EETOOLDIR       =       /usr/pkg/cross-ps2
TARGET  =       mipsEEel-netbsd

CC      =       ${EETOOLDIR}/bin/${TARGET}-gcc
LD      =       ${EETOOLDIR}/bin/${TARGET}-ld
CXX     =       ${EETOOLDIR}/bin/${TARGET}-g++
AS      =       ${EETOOLDIR}/bin/${TARGET}-as
CPP     =       ${EETOOLDIR}/bin/${TARGET}-cpp
RANLIB  =       ${EETOOLDIR}/bin/${TARGET}-ranlib
AR      =       ${EETOOLDIR}/bin/${TARGET}-ar
NM      =       ${EETOOLDIR}/bin/${TARGET}-nm
SIZE    =       ${EETOOLDIR}/bin/${TARGET}-size
STRIP   =       ${EETOOLDIR}/bin/${TARGET}-strip

This overrides the normal cross-compile (or indeed native)  toolchain, so
that kernel builds (e.g. as part of a "make release")  have no chance of
success.

>How-To-Repeat:
	MACHINE=playstation2
        sh build.sh \
                -U -m $MACHINE \
                -T /u1/ben/netbsd/tools \
                -O /u1/ben/netbsd/obj.$MACHINE \
                -D /u1/ben/netbsd/dest.$MACHINE \
                -R /u1/ben/netbsd/release.$MACHINE \
                > build.log.$MACHINE 2>&1

>Fix:

>Release-Note:
>Audit-Trail:

From: Andrew Brown <atatat@atatdot.net>
To: Ben Harris <bjh21@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-playstation2/16249: playstation2 kernel build uses gratuitously odd toolchain
Date: Mon, 8 Apr 2002 14:24:03 -0400

 >sys/arch/playstation2/conf/Makefile.playstation2.inc contains:
 >
 >EETOOLDIR       =       /usr/pkg/cross-ps2
 >TARGET  =       mipsEEel-netbsd
 >
 >CC      =       ${EETOOLDIR}/bin/${TARGET}-gcc
 >LD      =       ${EETOOLDIR}/bin/${TARGET}-ld
 >CXX     =       ${EETOOLDIR}/bin/${TARGET}-g++
 >AS      =       ${EETOOLDIR}/bin/${TARGET}-as
 >CPP     =       ${EETOOLDIR}/bin/${TARGET}-cpp
 >RANLIB  =       ${EETOOLDIR}/bin/${TARGET}-ranlib
 >AR      =       ${EETOOLDIR}/bin/${TARGET}-ar
 >NM      =       ${EETOOLDIR}/bin/${TARGET}-nm
 >SIZE    =       ${EETOOLDIR}/bin/${TARGET}-size
 >STRIP   =       ${EETOOLDIR}/bin/${TARGET}-strip
 >
 >This overrides the normal cross-compile (or indeed native)  toolchain, so
 >that kernel builds (e.g. as part of a "make release")  have no chance of
 >success.

 this appears to date back to when the only (?) way to build a ps12
 environment was via a cross compiler from pkgsrc.  if this is no
 longer true, this stuff should probably (imho) just get nuked.

 -- 
 |-----< "CODE WARRIOR" >-----|
 codewarrior@daemon.org             * "ah!  i see you have the internet
 twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
 andrew@crossbar.com       * "information is power -- share the wealth."

From: matthew green <mrg@eterna.com.au>
To: Ben Harris <bjh21@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: re: port-playstation2/16249: playstation2 kernel build uses gratuitously odd toolchain 
Date: Tue, 09 Apr 2002 13:11:39 +1000

    >Synopsis:       playstation2 kernel build uses odd toolchain



 actually, i thought this was necessary as we don't have support
 for the ee in any of our toolchains.


 .mrg.
State-Changed-From-To: open->analyzed 
State-Changed-By: simonb 
State-Changed-When: Sun May 12 22:43:16 PDT 2002 
State-Changed-Why:  
As well as a few extra r5900 op-codes, there's also a reasonable amount 
of silicon bug workarounds in the mipsEE gcc/binutils packages too. 
Also, the package patches add support for more that just the r5900. 
It would not be trivial to add mipsEE support to our current toolchain. 
State-Changed-From-To: analyzed->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 06 Dec 2009 22:23:28 +0000
State-Changed-Why:
after a long bout with apathy, the playstation2 port has been removed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz 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.