From owner-freebsd-current Sat Oct 3 09:14:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20718 for freebsd-current-outgoing; Sat, 3 Oct 1998 09:14:23 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from p400.webwizard.net.mx (dns.webwizard.com.mx [148.245.50.27]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20706 for ; Sat, 3 Oct 1998 09:14:20 -0700 (PDT) (envelope-from eculp@webwizard.org.mx) Received: from webwizard.org.mx (dns.webwizard.com.mx [148.245.50.27]) by p400.webwizard.net.mx (8.9.1/8.9.1) with ESMTP id LAA09133; Sat, 3 Oct 1998 11:05:52 -0500 (CDT) (envelope-from eculp@webwizard.org.mx) Message-ID: <36164B5E.A3A30602@webwizard.org.mx> Date: Sat, 03 Oct 1998 11:05:51 -0500 From: Edwin Culp X-Mailer: Mozilla 4.5b2 [en] (X11; I; FreeBSD 3.0-BETA i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith CC: Greg Lehey , Alfred Perlstein , freebsd-current@FreeBSD.ORG Subject: Re: ELF kernel? References: <199810030033.RAA02872@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > >>> I use 'strip -g' for ELF kernels. If your kernel is a.out, you probably > > >>> need 'strip -aout -d'. > > >> > > >> any idea on the expected cutover to ELF kernels? > > > > > > Perhaps Sunday or so. There are a few variables left, but no more than > > > a couple of days before it's ready. > > > > Oh. What does that mean for LKMs? > > They become KLD modules. The actual source-level changes are pretty > minimal. > > > Isn't this a bit late in the Beta to start changing kernel formats? > > There's mixed opinion on this; at the moment we just want to get the > tech out there for people to play with it. The big kicker is that if > we *don't* change now, we'll have yet another big-gulp change point in > front of the 3.0.x stability release, which will also be Bad. > > You can build an ELF kernel right now (just set KERNFORMAT to elf), and > if you're up to date with the new bootstrap (as of about now) you can > boot it just like it was an a.out kernel. I was all excited about this and gave it a shot with this morning's cvsup. First I got a snd error, disabled sound drivers and just when I thought that I had it cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitializ ed -Wformat -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../inc lude -DKERNEL -include opt_global.h -elf vers.c loading kernel apm.o: In function `apmattach': apm.o(.text+0x93b): undefined reference to `apm_cs32_limit' apm.o(.text+0x949): undefined reference to `apm_cs16_limit' *** Error code 1 Stop. Suggestions? Thanks ed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message