Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Please read if you use x86 -current
On Wed, 12 Nov 2008 14:57:08 +0000
Andrew Doran <ad%NetBSD.org@localhost> wrote:
> To build and install
> modules:
>
> cd src/sys/modules
> make
> make install
>
> I am open to ideas about how this can be automated either via the
> kernel makefile, or build.sh.
>
At a minimum, build.sh should have an option to do that, to get the
proper path for the toolchain, since these instructions can fail:
# cd sys/modules
# make
all ===> miniroot
# compile miniroot/miniroot.o
/usr/src/tooldir.NetBSD-4.99.73-x86_64/bin/x86_64--netbsd-gcc -O2
-mcmodel=kernel -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Werror
-ffreestanding -fno-strict-aliasing -Wno-pointer-sign
-I/usr/src/common/include -nostdinc -I. -I/usr/src/sys/modules/miniroot
-isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem
/usr/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE -c miniroot.c
sh: /usr/src/tooldir.NetBSD-4.99.73-x86_64/bin/x86_64--netbsd-gcc: not found
*** Error code 127
Stop.
make: stopped in /usr/src/sys/modules/miniroot
*** Error code 1
Stop.
make: stopped in /usr/src/sys/modules
Perhaps a '-l' option meaning 'build modules'?
Or -- how much compile-time is involved? Is there any reason to avoid
building them? We build all sets, even for folks who don't want to install,
say, games.tgz.
--Steve Bellovin, http://www.cs.columbia.edu/~smb
Home |
Main Index |
Thread Index |
Old Index