Bug#859083: [clang-5.0] clang-5.0 has wrong C++ include search path order

Katsuhiko Nishimra ktns.87 at gmail.com
Thu Mar 30 07:32:10 UTC 2017


Package: clang-5.0
Version: 1:5.0~svn294894-1
Severity: normal

Dear Maintainer,

clang++-5.0 still seems to have wrong include path order, while
clang++-4.0 is fixed (#855222).

%diff -u =(clang-4.0 -x c++ -stdlib=libc++ -v -E - 2>&1 ) =(clang-5.0 -x c++ -stdlib=libc++ -v -E - 2>&1 )
--- /tmp/zshRbsoH1      2017-03-30 16:20:08.620842135 +0900
+++ /tmp/zshbUXOjd      2017-03-30 16:20:08.664842383 +0900
@@ -1,4 +1,4 @@
-clang version 4.0.0-1 (tags/RELEASE_400/rc1)
+clang version 5.0.0-svn294894-1 (trunk)
...
 #include "..." search starts here:
 #include <...> search starts here:
+ /usr/include/clang/5.0.0/include
  /usr/include/c++/v1
- /usr/include/clang/4.0.0/include
  /usr/local/include
...

Also, clang-5.0 from apt.llvm.org seems the same. Should I report this
to upstream separately?

--- System information. ---
Architecture: 
Kernel:       Linux 4.9.0-2-amd64

Debian Release: 9.0
  500 unstable-debug  debug.mirrors.debian.org 
  500 unstable        www.deb-multimedia.org 
  500 unstable        ftp.tsukuba.wide.ad.jp 
  500 sid             linux.dropbox.com 
  300 stable          security.debian.org 
  300 stable          dl.google.com 
    1 experimental-debug debug.mirrors.debian.org 
    1 experimental    ftp.nara.wide.ad.jp 

--- Package information. ---
Depends                                 (Version) | Installed
=================================================-+-======================
libc6                                   (>= 2.14) | 2.24-9
libclang1-5.0               (= 1:5.0~svn294894-1) | 1:5.0~svn294894-1
libgcc1                                (>= 1:3.4) | 1:7-20170316-1
libjsoncpp1                            (>= 1.7.4) | 1.7.4-3
libllvm5.0                                        | 1:5.0~svn294894-1
libstdc++6                                 (>= 6) | 7-20170316-1
libstdc++-6-dev                                   | 6.3.0-11
libgcc-6-dev                                      | 6.3.0-11
libobjc-6-dev                                     | 6.3.0-11
libclang-common-5.0-dev     (= 1:5.0~svn294894-1) | 1:5.0~svn294894-1
libc6-dev                                         | 2.24-9
binutils                                          | 2.28-2


Recommends        (Version) | Installed
===========================-+-===========
llvm-5.0-dev                | 1:5.0~svn294894-1
python                      | 2.7.13-2


Suggests           (Version) | Installed
============================-+-===========
gnustep                      | 
gnustep-devel                | 
clang-5.0-doc                | 




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20170330/666b9a6e/attachment.sig>


More information about the Pkg-llvm-team mailing list