Subject: toolchain/14598: cross-compiling from alpha is more broken now
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 11/16/2001 18:14:53
>Number: 14598
>Category: toolchain
>Synopsis: cross-compiling from alpha is more broken now
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 16 03:13:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Robert Elz
>Release: NetBSD-current 20011115
>Organization:
University of Melbourne
>Environment:
System: NetBSD brandenburg.cs.mu.OZ.AU 1.5_BETA NetBSD 1.5_BETA (BRANDENBURG) #6: Sun Oct 14 19:40:40 ICT 2001 kre@brandenburg.cs.mu.OZ.AU:/usr/src/sys/arch/i386/compile/BRANDENBURG i386
(that's this system, when I'm running send-pr, the problem happened on...)
NetBSD munnnari.cs.mu.OZ.AU 1.5R NetBSD 1.5R (MUNNNARI) #0: Thu Feb 15 16:25:51 EST 2001 kre@lavender.cs.mu.OZ.AU:/extra/Sys/arch/alpha/compile/MUNNNARI alpha
Sources cvs updated about 18 hours ago (between 03:00 and 07:30, UTC+1100).
>Description:
Attempt to cross compile on an alpha, producing i386.
This used to (almost) work - there's a c++ compiler error
(produces bad assembly code (PR bin/14489) - or was - I was
attempting to get that far gain to possibly investigate the
cause, if the problem remains)
This is the first time I have attempted this since autoconf
was added to the tools used ...
The attempt ends ...
configure: error: *** Gdb does not support host alpha-unknown-netbsd1.5R
Configure in /usr/obj/tools/toolchain/build/gdb failed, exiting
I have the full (600Kb) make log (mostly from a cleandir that
preceded the build) if anyone needs more that.
>How-To-Repeat:
Get on a NetBSD alpha ...
In /etc/mk.conf put
MKOBJ=yes
MKOBJDIRS=yes
OBJMACHINE=yes
#
BSDSRCDIR=/usr/src
BSDOBJDIR=/usr/obj
#
KERNSRCDIR=/usr/src/sys
KERNOBJDIR=/usr/obj/sys
#
# DISTDIR=/home/distfiles
WRKOBJDIR=/usr/obj/pkgsrc
(and some other stuff that relates only to pkgsrc).
Then run:
(cd /usr/src; /usr/tools/bin/nbmake cleandir; ./build.sh -u -m i386 -T /usr/tools -O /usr/obj -D /home/trees/i386 -R /home/snapshots/i386 ) 2>&1 | Mail -s Build kre &
The relevant part of that, is ..
./build.sh -u -m i386 -T /usr/tools -O /usr/obj \
-D /home/trees/i386 -R /home/snapshots/i386
>Fix:
I guess, don't attemmt to autoconf gdb when cross-compiling
(at lest when it isn't supported).
>Release-Note:
>Audit-Trail:
>Unformatted: