NetBSD-Bugs archive

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

RE: kern/43958: Can't compile Atari kernel with ksyms pseudo-device enabled



The following reply was made to PR kern/43958; it has been noted by GNATS.

From: David Ross <dross%pobox.com@localhost>
To: <gnats-bugs%netbsd.org@localhost>, <kern-bug-people%netbsd.org@localhost>,
        <gnats-admin%netbsd.org@localhost>, <netbsd-bugs%netbsd.org@localhost>
Cc: 
Subject: RE: kern/43958: Can't compile Atari kernel with ksyms pseudo-device
 enabled
Date: Mon, 8 Nov 2010 14:25:36 -0800

 =20
 David=2C
 =20
 Ok=2C FWIW I'm unblocked because I can just build with DDB.  But yeah=2C lo=
 oks like there is a bug to fix.  =3D)
 =20
 Thank you!
 =20
 David Ross
 dross%pobox.com@localhost
 
 
 ----------------------------------------
 > From: dholland-bugs%netbsd.org@localhost
 > To: kern-bug-people%netbsd.org@localhost=3B 
 > gnats-admin%netbsd.org@localhost=3B netbsd-bugs@n=
 etbsd.org=3B dross%pobox.com@localhost
 > Subject: Re: kern/43958: Can't compile Atari kernel with ksyms pseudo-dev=
 ice enabled
 > CC:
 > Date: Mon=2C 8 Nov 2010 03:45:02 +0000
 >
 > The following reply was made to PR kern/43958=3B it has been noted by GNA=
 TS.
 >
 > From: David Holland=20
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: kern/43958: Can't compile Atari kernel with ksyms
 > pseudo-device enabled
 > Date: Mon=2C 8 Nov 2010 03:41:58 +0000
 >
 > On Sun=2C Nov 07=2C 2010 at 07:55:03AM +0000=2C David Ross wrote:
 > > I'm not sure if it's completely nonsensical to build the kernel with ks=
 yms
 > > but without DDB.
 >
 > I don't think so.
 >
 > > If that's the case then this bug should be closed. Otherwise
 > > maybe it makes sense to remove "defined(DDB) &&" from the conditional
 > > regulating the inclusion of ?
 >
 > That or what I suggested before...
 >
 > I notice however that the code that needs exec_elf.h looks kind of
 > bogus in its own right:
 >
 > #ifndef __ELF__
 > ksyms_addsyms_elf(*(int *)&end=2C ((int *)&end) + 1=2C esym)=3B
 > #else
 > ksyms_addsyms_elf((int)esym - (int)&end - sizeof(Elf32_Ehdr)=2C
 > (void *)&end=2C esym)=3B
 > #endif
 >
 > Surely it shouldn't be calling ksyms_addsyms_*elf* when *not* __ELF__?
 >
 > --
 > David A. Holland
 > dholland%netbsd.org@localhost
 >                                        =
 


Home | Main Index | Thread Index | Old Index