I compiled 9.8.0-P1 on both 32-bit and 64-bit Solaris Sparc and the output
in all the header files looks identical with the exception of platform. I
expect to see things like this :

The 32-bit build results in :

 #define ISC_PLATFORM_QUADFORMAT "l"

The 64-bit build platform.h has this :

 #define ISC_PLATFORM_QUADFORMAT "ll"


That seems perfectly fine and reasonable.


Not so reasonable is this :

#undef ISC_PLATFORM_HAVEIFNAMETOINDEX

  versus

#define ISC_PLATFORM_HAVEIFNAMETOINDEX 1

The compile was done on the same server with either CFLAGS having 
-xarch=v9 for 64-bit and then  -xarch=v8 for the 32-bit builds. Everything
seems fine but this server does have if_nametoindex(3XNET) as well as
if_nametoindex(3NSL) where the 3xnet libs are "X/Open Networking Services
Library Functions".

Why would platform.h be so different as there were a multitude of such
differences?


-- 
Dennis Clarke
dcla...@blastwave.org


_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to