Gentoo Archives: gentoo-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] net-misc/asterisk fails to compile: clang/LLVM: bug 731280
Date: Fri, 28 Aug 2020 08:10:18
Message-Id: 20200828081002.GB8325@gentoo.org
In Reply to: Re: [gentoo-dev] net-misc/asterisk fails to compile: clang/LLVM: bug 731280 by Sergei Trofimovich
1 On 28-08-2020 08:52:09 +0100, Sergei Trofimovich wrote:
2 > On Fri, 28 Aug 2020 07:37:54 +0100
3 > Sergei Trofimovich <slyfox@g.o> wrote:
4 >
5 > > On Fri, 28 Aug 2020 08:15:47 +0200
6 > > Jaco Kroon <jaco@××××××.za> wrote:
7 > >
8 > > > Hi All,
9 > > >
10 > > > https://bugs.gentoo.org/731280
11 > > >
12 > > > Summary:
13 > > >
14 > > > This machine uses a clang/LLVM toolchain.
15 > > > Asterisk fails to compile, ./configure fails with:
16 > > >
17 > > > checking for RAII support... checking for clang -fblocks...
18 > > > configure: error: BlocksRuntime is required for clang, please install
19 > > > libblocksruntime
20 > > >
21 > > > I suspect this explains the issue:
22 > > >
23 > > > https://github.com/mackyle/blocksruntime
24 > > >
25 > > > I have no idea how to actually solve this.
26 > >
27 > > honggfuzz also needs it as it happens to use -fblocks on clang:
28 > > https://bugs.gentoo.org/729256
29 > >
30 > > We need to package the library. I can give it a try.
31 >
32 > Packaged library as sys-libs/blocksruntime:
33 > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae376c73ef197d6c7aa619e821c436ccab0cd77e
34 >
35 > Usage example for app-forensics/honggfuzz:
36 > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd841336dfdefbc14907e2d9b1eb1a1a3f5f8b8e
37
38 This is cool, but shouldn't it be something like openmp? (e.g. blocks)
39
40 There is no reason blocks have to be used if not on macOS (where system
41 headers use blocks features).
42
43 Thanks,
44 Fabian
45
46
47 --
48 Fabian Groffen
49 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies