Subject: toolchain/22567: problems building tools
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Root <root@mail.cs.umn.edu>
List: netbsd-bugs
Date: 08/21/2003 22:20:13
>Number:         22567
>Category:       toolchain
>Synopsis:       problems building tools
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 22 03:21:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Charlie Root
>Release:        NetBSD 1.6U
>Organization:
University of Minnesota, Department of Computer Science
>Environment:
Architecture: i386
Machine: i386
>Description:

I'm having trouble updating a -current installation that was last update about
a month ago:

  # ./build.sh -T /usr/tools -O /usr/obj tools
  ===> build.sh command: ./build.sh -T /usr/tools -O /usr/obj tools
  ===> build.sh started: Thu Aug 21 22:14:58 CDT 2003
  ===> Bootstrapping nbmake
  checking for sh... /bin/sh
  checking for gcc... cc
  checking for C compiler default output... configure: error: C compiler cannot create executables

  ERROR: Configure of nbmake failed
  *** BUILD ABORTED ***

The only thing of note in /etc/mk.conf is this:

  TOOLDIR=/usr/tools


I've completely removed /usr/obj, /usr/tools and even /usr/src followed by pulling
down a fresh checkout of -current.  Nothing has helped.

>How-To-Repeat:

>Fix:

Sorry, I have no idea.
>Release-Note:
>Audit-Trail:
>Unformatted: