Subject: Re: ancillary data alignment and binary backward compatibility: please pick one
To: matthew green <email@example.com>
From: None <firstname.lastname@example.org>
Date: 02/28/2000 21:48:09
>> additional question: are sizeof(long) different on sparc32 and sparc64?
>> if so, routing socket alignment (ROUNDUP in sys/net/rtsock.c will
>> have the similar problem.
>sizeof(long) is different between 32bit SPARC and 64bit SPARC. note that
>ultrasparc hardware is capable of running both and (we eventually hope that
>a :-) NetBSD/sparc64 64bit kernel can/will run both. the same problem will
>apply to 64bit mips ports that want to run 32bit applications.
hmm... so, if we run sparc32 /sbin/route on sparc64 kernel,
/sbin/route will choke due to hardcoded sizeof(long) alignment.