Date: Wed, 5 May 2004 13:46:17 -0400 From: "Matt Emmerton" <matt@gsicomp.on.ca> To: "Deng XueFeng" <dsnofe@hotmail.com>, "John Baldwin" <jhb@freebsd.org> Cc: hackers <freebsd-hackers@freebsd.org> Subject: Re: Is this LOST?? Message-ID: <00d401c432c9$430394e0$1200a8c0@gsicomp.on.ca> References: <20040502132115.C583.DSNOFE@hotmail.com><200405031322.37241.jhb@FreeBSD.org> <20040504090033.B046.DSNOFE@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > On Sunday 02 May 2004 01:26 am, Deng XueFeng wrote: > > > I found the htonl implemention in libc for i386 is not sync with the > > > kern. > > > > > > sys use bswap for swaping the int. but libc still use xchg. > > > IS THIS LOST? > > > > It's because libc still supports 80386 which doesn't have bswap (introduced on > > the 486 IIRC). The kernel only supports 486+ unless you explicitly build an > > 80386 kernel, which won't use bswap for htonl(). > > Since 5-current kernel do not support 80386. > why keep libc(5-current) support 80386? The 5-current kernel *does* support 80386 -- you have to recompile your kernel to add 80386 support first. -- Matt Emmerton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00d401c432c9$430394e0$1200a8c0>