Subject: bin/14516: Mis-handling of libbfd dependencies in src/tools
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 11/09/2001 15:48:22
>Number: 14516
>Category: bin
>Synopsis: Mis-handling of libbfd dependencies in src/tools
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 09 15:49:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Jason R. Thorpe
>Release: NetBSD 1.5Y
>Organization:
Wasabi Systems, Inc.
>Environment:
System: NetBSD dr-evil 1.5Y NetBSD 1.5Y (DR-EVIL) #225: Mon Oct 29 15:23:50 PST 2001 thorpej@dr-evil:/u1/netbsd/src/sys/arch/i386/compile/DR-EVIL i386
Architecture: i386
Machine: i386
Cross build of i386 -> arm-netbsdelf using new toolchain.
>Description:
I encountered this when building a set of ARM-ELF binaries
on an i386 host. The command issued was:
./build.sh -a arm -m evbarm -D /u1/diskless/iq80310 \
-T /usr/local/netbsd-tools/current
(Make variables are set to force ELF and USE_NEW_TOOLCHAIN
in /etc/mk.conf)
The build script proceeds to do a cleandir. But it needed to
rebuild the cross-dbsym because the .c had been updated (by
a CVS commit I made last night). But since the build didn't
need to build src/tools/toolchain (those binaries were
up-to-date in $TOOLDIR), the compile of dbsym failed due to
lack of headers/libraries in the appropriate directory
(in the objdir tree).
>How-To-Repeat:
Do a tools bootstrap (build.sh -t). Then do a "make cleandir"
in src/tools. Then touch src/gnu/usr.bin/dbsym/dbsym.c. Then
run build.sh to do a normal build.
>Fix:
Not provided.
>Release-Note:
>Audit-Trail:
>Unformatted: