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

Jakub Wilk jwilk at debian.org
Thu Apr 23 20:08:25 UTC 2015


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.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: s390x

Kernel: Linux 3.2.0-4-s390x (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages clang-3.5 depends on:
ii  binutils                 2.25-5
ii  libc6                    2.19-18
ii  libc6-dev                2.19-18
ii  libclang-common-3.5-dev  1:3.5-10
ii  libclang1-3.5            1:3.5-10
ii  libedit2                 3.1-20140620-2+b1
ii  libffi6                  3.1-2+b2
ii  libgcc-4.9-dev           4.9.2-10
ii  libgcc1                  1:4.9.2-10
ii  libllvm3.5               1:3.5-10
ii  libobjc-4.9-dev          4.9.2-10
ii  libstdc++-4.9-dev        4.9.2-10
ii  libstdc++6               4.9.2-10
ii  libtinfo5                5.9+20140913-1+b1
ii  zlib1g                   1:1.2.8.dfsg-2+b1

Versions of packages clang-3.5 recommends:
pn  llvm-3.5-dev  <none>
ii  python        2.7.9-1

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 20 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20150423/f8e6ad1d/attachment.c>


More information about the Pkg-llvm-team mailing list