Subject: Re: MP Howto?
To: Zafer Aydogan <zafer@gmx.org>
From: Simas Mockevicius <symka@netbsd.vejas.lt>
List: tech-smp
Date: 03/17/2004 23:13:14
--iVCmgExH7+hIHJ1A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 17, 2004 at 10:59:42PM +0200, Simas Mockevicius wrote:
> I am doing checkout and will try to build on my server. In a few minutes =
will=20
> send the result.
>=20
> --=20
> Sincerely,
> Simas Mockevicius

So, here I am:
uname -a
NetBSD [xxx].tvk.lt 1.6ZG NetBSD 1.6ZG (xxx - $Revision: 1.1 $) #3: Wed Jan=
 21 15:33:11 EET 2004 =20
root@[xxx].tvk.lt:/usr/src/sys/arch/i386/compile/[XXX] i386

~> cd /usr
~> rm -rf /usr/src/*
~> cvs -q get src
~> cd src/sys/arch/i386/conf/
~> config GENERIC.MP
~> cd ../compile/GENERIC.MP/
~> make depend
~> make

and output is:

#    create  vers.c
sh ../../../../conf/newvers.sh
#   compile  GENERIC.MP/vers.o
cc  -march=3Dpentium4     -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-=
format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes=
 -Wno-sign-compare  -Di386 -I.  -I../../../../arch -I../../../.. -nostdinc =
-DLKM -DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT  -c vers.c
#      link  GENERIC.MP/netbsd
ld -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X =
-o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
   text    data     bss     dec     hex filename
7027204  146692  493468 7667364  74fea4 netbsd
  =20
have you something edited in GENERIC.MP or maybe in GENERIC ?

--=20
Sincerely,
Simas Mockevicius

--iVCmgExH7+hIHJ1A
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAWL9qUtlifAEIUUgRAqHZAJ4k+BA5EtD/gDvDq4rHWyH+xYTRhACeLM/n
Tv21TxBMbLnmnnLmQA8Dyag=
=D1+E
-----END PGP SIGNATURE-----

--iVCmgExH7+hIHJ1A--