strace-4.6 failed to build with clang-3.0
Mike Frysinger
vapier at gentoo.org
Sun Jan 15 00:49:13 UTC 2012
On Saturday 14 January 2012 19:12:50 Alexander Kolesen wrote:
> I've tried to build strace-4.6 with clang-3.0 and got the following
> error:
>
> /usr/bin/clang -DHAVE_CONFIG_H -I. -I./linux/x86_64 -I./linux -I./linux
> -Wall -Wwrite-strings -O2 -pipe -MT strace.o -MD -MP -MF .deps/strace.Tpo
> -c -o strace.o strace.c strace.c:102:8: error: unknown type name 'bool'
> static bool daemonized_tracer = 0;
>
> When the configure script was running, i've got:
> checking for stdbool.h that conforms to C99... no
>
> It happens because configure test for stdbool.h is failing on
> clang-3.0. I've attached the patch that fixes the issue.
configure is a generated file. you should bring up your concern with the source
of that code which is not strace but rather the GNU autoconf project.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20120114/e4bc0ceb/attachment.bin>
More information about the Strace-devel
mailing list