Subject: toolchain/18291: build.sh -R fails with additional optimizations in mk.conf
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 09/14/2002 21:56:35
>Number:         18291
>Category:       toolchain
>Synopsis:       build.sh -R fails with additional optimizations in mk.conf
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 14 12:57:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubomir Sedlacik
>Release:        NetBSD 1.6_BETA5
>Organization:
>Environment:
>Description:

when using additional optimizations in mk.conf (such as devel/cpuflags)
building release tends to fail due to oversized ramdisk images which won't fit
on the floppy (this always happens on i386).

>How-To-Repeat:

install devel/cpuflags
add line '.sinclude "/usr/pkg/share/mk/cpuflags.mk"' to /etc/mk.conf
run /usr/src/build.sh -R /some/dir ${other_options}

>Fix:

disable all user supplied optimizations while building floppy images
>Release-Note:
>Audit-Trail:
>Unformatted: