[bind10-dev] nsas build issues
Jelte Jansen
jelte at isc.org
Fri Dec 17 09:21:09 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/17/2010 10:12 AM, Jelte Jansen wrote:
>
> i took another look at this; as mentioned in the ticket above, boost has a
> workaround for sunstudio, which fixes this. However, it is enclosed in these ifdefs:
> #if BOOST_WORKAROUND(__SUNPRO_CC, < 0x5100)
>
> in our sunstudio on sol-10, that value is 0x5100 (compiler version 5.10.0), so
> the workaround is not triggered. If i manually change these to <= it does compile.
>
> So I think we need to tell boost that this problem still exists in later versions.
>
and if that is the plan, a temporary hacky workaround would be to add something
like this before our #include <boost/thread> statement(s):
#if defined(__SUNPRO_CC) && __SUNPRO_CC == 0x5100
#undef __SUNPRO_CC
#define __SUNPRO_CC 0x5090
#endif
(unless there are other checks specifically for this version, it should be
pretty safe, 0x5090 is higher than the previous versions, since those only had
one digit for the minor release number, i.e. 5.9 was 0x590)
Jelte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0LK4UACgkQ4nZCKsdOncXTAwCfSh06JL29eYwfrQSbBopWIPvX
XnMAoMYP1U1PYAy/eRHCXXZs0t4tpTfx
=T6o+
-----END PGP SIGNATURE-----
More information about the bind10-dev
mailing list