NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/47188: MKTOOLS=no broken



>Number:         47188
>Category:       toolchain
>Synopsis:       MKTOOLS=no broken when TOOLDIR is elsewhere
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 13 08:00:01 +0000 2012
>Originator:     Simon J. Gerraty
>Release:        NetBSD 6.0
>Organization:
Zen Programming...
>Environment:
        
        
System: NetBSD frodo.jnpr.net 5.99.55 NetBSD 5.99.55 (JNPR) #1: Fri Oct 14 
15:46:25 PDT 2011  
sjg%frodo.jnpr.net@localhost:/h/obj/NetBSD/current/amd64/obj/h/NetBSD/current/src/sys/arch/amd64/compile/JNPR
 amd64
Architecture: amd64
Machine: amd64
>Description:
        
Having run:

TOOLDIR=/var/obj/NetBSD/current/tools/NetBSD-5.99.55-x86_64 \
sh -x ./build.sh -m amd64 -M /var/obj/NetBSD/current/amd64/obj tools

and then running:

TOOLDIR=/var/obj/NetBSD/current/tools/NetBSD-5.99.55-x86_64 MKTOOLS=no \
sh -x ./build.sh -u -U -m amd64 -M /var/obj/NetBSD/current/amd64/obj \
-D /var/obj/NetBSD/current/amd64/destdir \
-R /var/obj/NetBSD/current/amd64/release release

fails in:

dependall ===> external/gpl3/gcc/usr.bin/backend
#      link  backend/gengenrtl
cc -O -I. -I/h/NetBSD/current/src/external/gpl3/gcc/usr.bin/backend/../gcc/arch/
x86_64 -DIN_GCC -DHAVE_CONFIG_H -I/h/NetBSD/current/src/external/gpl3/gcc/dist/g
cc -I/h/NetBSD/current/src/external/gpl3/gcc/dist/gcc/. -I/h/NetBSD/current/src/
external/gpl3/gcc/dist/gcc/../include -I/h/NetBSD/current/src/external/gpl3/gcc/
dist/gcc/../libcpp/include -I/h/NetBSD/current/src/external/gpl3/gcc/dist/gcc/..
/libdecnumber -I/h/NetBSD/current/src/external/gpl3/gcc/dist/gcc/../libdecnumber
/dpd -I/usr/include/libelf -DGENERATOR_FILE -I/h/NetBSD/current/src/external/gpl
3/gcc/usr.bin/backend/..  -o gengenrtl gengenrtl.lo build-errors.lo -L/var/obj/N
etBSD/current/amd64/obj/h/NetBSD/current/src/tools/compat -lnbcompat /var/obj/Ne
tBSD/current/amd64/obj/h/NetBSD/current/src/external/gpl3/gcc/usr.bin/host-libib
erty/libiberty/libiberty.a
ld: cannot find -lnbcompat

this would appear to be because although an objdir is created for tools/compat
obj ===> tools/compat
nothing else is done there

>How-To-Repeat:
        
>Fix:
        
Discussion on IRC suggested that tools/compat should install libnbcompat.a
into $TOOLDIR/lib

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index