Has anyone successfully compiled BIND 9.6.2-P2 on AIX 5.3 using IBM's compiler (not gcc)?
I have always used it and have just now run into issues when trying to move from 9.6.1-P1 to 9.6.2-P2. Specifically, make dies with the following error: "./include/isc/refcount.h", line 23.10: 1506-296 (S) #include file <isc/atomic.h> not found. make: 1254-004 The error code from the last command is 1. There appears to be an issue in the configure script related to setting "use_atomic" to "yes" or "no" when compiling on powerpc-ibm-aix with a compiler other than gcc. In digging around, it appears that the use_atomic logic in the configure script has grown substantially between 9.6.1-p1 and 9.6.2-p2. In 9.6.2-p2 there is a bunch of additional logic specifically testing whether you are on powerpc-ibm-aix and if you are, whether you are using gcc. The problem appears to be that there is no complimentary "else" logic to the test for gcc and "use_atomic" never gets set to anything (should get set to "yes" or "no"). I modified configure and added an else block to the gcc test as shown in the below diff: --- configure 2009-10-16 00:30:13.000000000 -0400 +++ configure.new 2010-05-24 14:02:40.000000000 -0400 @@ -30444,6 +30444,8 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else + use_atomic=yes fi ;; *) Running configure with these changes results in a clean make afterwards ... but I am curious if anyone has any insight into whether this is ok or whether the additional tests there within the gcc logic need to be applied to other compilers as well on powerpc-ibm-aix? Here are my compiler os/platform specifics: # cc -qversion IBM XL C/C++ Enterprise Edition V8.0 for AIX Version: 08.00.0000.0000 # uname -sp AIX powerpc # oslevel -s 5300-10-02-0943 Thanks, Rob
_______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users