Subject: toolchain/37072: link failure when building the system with MKGCC=no
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: netbsd-bugs
Date: 10/07/2007 13:05:01
>Number:         37072
>Category:       toolchain
>Synopsis:       link failure when building the system with MKGCC=no
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 07 13:05:00 +0000 2007
>Originator:     Pavel Cahyna
>Release:        NetBSD 4.0_BETA2
>Organization:
>Environment:
System: NetBSD beta.martani.repy.net 4.0_BETA2 NetBSD 4.0_BETA2 (164LX) #5: Mon Aug 6 18:21:24 CEST 2007 pavel@beta.martani.repy.net:/mnt/obj/alpha-4/164LX alpha
Architecture: alpha
Machine: alpha
>Description:
I've set MKGCC=no for make release to avoid spending time on gcc
build, and linking libc failed with
--- dependall ---
make: make: don't know how to make /mnt/obj/alpha-4/destdir/usr/lib/crtbeginS.o. Stop
*** [dependall] Error code 2
>How-To-Repeat:
use MKGCC=no
>Fix:
apparently it works with MKGCCCMDS=no. Either remove MKGCC from hte
documentation like mk.conf(5) and document only MKGCCCMDS, or make
MKGCC have the same effect as MKGCCCMDS currently has.