Current-Users archive

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

netbsd-7 DRMKMS in release build impossibly large?



Recently, patches were applied to the netbsd-7 branch to build the DRMKMS
kernel as part of the regular i386/amd64 release build and offer it as
an option in 'sysinst'.

  http://mail-index.netbsd.org/source-changes/2014/12/04/msg061139.html

The resulting kernel weighs in at 100+MB rather than ~18MB when built
using the "kernel=DRMKMS" target of 'build.sh'.  The 'gzip'ped kernel
is ~42MB instead of ~7MB.

Also, I noticed the following:

--- kern-DRMKMS ---
cd /r0/nbsd/netbsd-7/src/sys/arch/amd64/conf && /r0/build/netbsd-7/tools/amd64/bin/nbconfig -s /r0/nbsd/netbsd-7/src/sys  -U DEBUG -b /r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/DRMKMS DRMKMS
DRMKMS:12: warning: options `DIAGNOSTIC' is not defined
Build directory is /r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/DRMKMS
Don't forget to run "make depend"
cd /r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/DRMKMS && /r0/build/netbsd-7/tools/amd64/bin/nbmake depend && /r0/build/netbsd-7/tools/amd64/bin/nbmake
--- __always_make_kernlib ---
--- __always_make_compatlib ---
--- dependkernlib ---
depending the kern library objects
--- dependcompatlib ---
depending the compat library objects
--- __always_make_compatlib ---
--- __always_make_kernlib ---
--- /r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/DRMKMS/lib/compat/libcompat.a ---
making sure the compat library is up to date...
`libcompat.a' is up to date.
--- /r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/DRMKMS/lib/kern/libkern.o ---
making sure the kern library is up to date...
`libkern.o' is up to date.
sync


I never saw a final link message for "kern-DRMKMS".


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index