NetBSD-Bugs archive

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

toolchain/47240: bsd.sys.mk uses undefined ACTIVE_CC



>Number:         47240
>Category:       toolchain
>Synopsis:       bsd.sys.mk uses undefined ACTIVE_CC
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 23 22:50:01 +0000 2012
>Originator:     Martin Husemann
>Release:        NetBSD 6.0
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD emmas.aprisoft.de 6.0 NetBSD 6.0 (EMMAS) #11: Mon Oct 15 
22:52:05 CEST 2012 
martin%emmas.aprisoft.de@localhost:/usr/src-6/sys/arch/i386/compile/EMMAS i386
Architecture: i386
Machine: i386
>Description:

bsd.sys.mk sometimes references ACTIVE_CC without checking wether the variable
is defined. This leads to make errors

>How-To-Repeat:

Do something like:

./build.sh -u -m sparc64 -O /nelly/usr/obj -D /nelly -T /usr/tools -x -j 3 tools
cd /usr/src/sys/sys
/usr/tools/bin/nbmake-sparc64 -VWARNS

see make complain:

nbmake: Bad conditional expression `defined(NOGCCERROR) || ( == "clang" && 
defined(NOCLANGERROR))' in defined(NOGCCERROR) || ( == "clang" && 
defined(NOCLANGERROR))?yes:no
nbmake: Bad conditional expression ` == "no" ' in  == "no" ?-Werror:


>Fix:
n/a



Home | Main Index | Thread Index | Old Index