9.8.0-P1 platform.h questions

Dennis Clarke dclarke at blastwave.org
Mon May 16 19:56:10 UTC 2011


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
dclarke at blastwave.org





More information about the bind-users mailing list