Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 02:03:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216650] devel/caf: fails to build with clang 4.0
Message-ID:  <bug-216650-13-G4Qrq4MqHx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216650-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216650-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216650

--- Comment #3 from Jan Beich (mail not working) <jbeich@FreeBSD.org> ---
(In reply to Matthias Vallentin from comment #2)
> I would like to reproduce the issue, but can't find a clang 4.x package: =
pkg search clang yields:

If you're on 12.0-CURRENT (only the kernel matters) try the following

  $ poudriere jail -cj clang40-amd64 -v projects/clang400-import -m svn
  $ poudriere bulk -Ctj clang40-amd64 devel/caf

otherwise try the following but it may show a false positive during linking

  $ git clone https://github.com/llvm-mirror/libcxx/
  $ (cd libcxx; git co origin/release_40)
  $ cd /usr/ports/devel/caf
  $ echo 'CXXFLAGS +=3D -nostdinc++ -isystem/path/to/libcxx/include'
>>Makefile.local
then
  $ pkg install llvm40
  $ make clean all CC=3Dclang40 CXX=3Dclang++40 CPP=3Dclang-cpp40
or
  $ pkg install llvm-devel
  $ make clean all CC=3Dclang-devel CXX=3Dclang++-devel CPP=3Dclang-cpp-dev=
el

> The issue itself looks like it could be one-line fix by adding
>
>    #include "caf/behavior.hpp"
>
> in libcaf_core/caf/actor_config.hpp. If you have a chance to try it,
> I'd much appreciate it.

It does help. I'll land it shortly after testing the fix doesn't regress bu=
ild
on other FreeBSD versions.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216650-13-G4Qrq4MqHx>