Bug#783205: clang-3.5: fatal error: 'sys/cdefs.h' file not found

Sylvestre Ledru sylvestre at debian.org
Fri Apr 24 09:42:26 UTC 2015


Hello,
Le 23/04/2015 22:08, Jakub Wilk a écrit :
> Package: clang-3.5
> Version: 1:3.5-10
> Severity: grave
> User: debian-s390 at lists.debian.org
> Usertags: s390x
> 
> On s390x, the compiler can't find standard C headers:
> 
> $ clang-3.5 -c test.c
> In file included from test.c:1:
> In file included from /usr/include/stdio.h:27:
> /usr/include/features.h:374:12: fatal error: 'sys/cdefs.h' file not found
> #  include <sys/cdefs.h>
>           ^
> 1 error generated.
I am quite busy these days. I won't have the time to look at it before a few weeks.

We probably have to update this code:
http://sources.debian.net/src/llvm-toolchain-3.5/1:3.5-10/clang/lib/Driver/ToolChains.cpp/#L1396

Cheers,
Sylvestre



More information about the Pkg-llvm-team mailing list