ports/133487: endianess detection wrong in devel/boost
Alexander Churanov
alexanderchuranov at gmail.com
Mon Apr 27 13:20:03 UTC 2009
The following reply was made to PR ports/133487; it has been noted by GNATS.
From: Alexander Churanov <alexanderchuranov at gmail.com>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/133487: endianess detection wrong in devel/boost
Date: Mon, 27 Apr 2009 17:19:21 +0400
Resolution:
Suggest applying this patch and keeping it until updating to boost-1.38.
Analysis:
The root cause of the issue is boost matching endianess using method
of GNU libc, which is not compatible with the way BSDs define
endianess. They've fixed this in 1.38 by applying a patch from NetBSD.
See https://svn.boost.org/trac/boost/ticket/1922 for details.
Future directions:
The fix applied in 1.38 is to match against CPU architecture if
matching using GNU method fails. This may re-introduce bugs for
platforms, not specifically listed in boost header file. Suggest
proposing the patch, attached to this issue, for permanent inclusion
into boost libraries.
Alexander Churanov,
maintainer of devel/boost
More information about the freebsd-ports-bugs
mailing list