Fwd: unable to compile on freebsd

Alex Rousskov rousskov at measurement-factory.com
Mon Aug 29 00:52:35 UTC 2016


On 08/26/2016 09:19 AM, Charlie Younghusband wrote:
> I was looking to compile this on a modern FreeBSD machine, but it
> doesn't work.  I got it working fine on an Ubuntu box for now, but
> advice for running on recent FreeBSD?


Hi Charlie,

    This problem is not specific to FreeBSD. It is a clang compatibility
problem. You can probably build on FreeBSD using GCC instead.

The attached patch makes Polygraph v4.9.0 compile with clang in our
tests, but we have not tried doing that on FreeBSD yet.

Please let me know if the patch helps in your FreeBSD environment. You
should get two dynamic-class-memaccess warnings about memcpy(). We still
need to fix those.


Thank you,

Alex.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-v4p9p0-t1.patch
Type: text/x-diff
Size: 47936 bytes
Desc: not available
URL: <http://lists.web-polygraph.org/pipermail/users/attachments/20160828/c776ed76/attachment-0001.patch>


More information about the Users mailing list