Bug#594820: marked as done (clang: specify libstdc++ version of headers to use)

Michael Wild themiwi at gmail.com
Fri May 27 14:28:53 UTC 2011


On 05/27/2011 02:03 AM, Debian Bug Tracking System wrote:
> Your message dated Fri, 27 May 2011 00:02:35 +0000
> with message-id <E1QPkVf-0004X8-7s at franck.debian.org>
> and subject line Bug#594820: fixed in clang 2.9-1
> has caused the Debian Bug report #594820,
> regarding clang: specify libstdc++ version of headers to use
> to be marked as done.
> 
> This means that you claim that the problem has been dealt with.
> If this is not the case it is now your responsibility to reopen the
> Bug report if necessary, and/or fix the problem forthwith.
> 
> (NB: If you are a system administrator and have no idea what this
> message is talking about, this may indicate a serious mail system
> misconfiguration somewhere. Please contact owner at bugs.debian.org
> immediately.)
> 
> 

Sorry, still doesn't work for me:

echo "#include <fenv.h>" | clang -xc++ -E - | fgrep fenv.h
# 1 "/usr/include/c++/4.5/fenv.h" 1 3
# 31 "/usr/include/c++/4.5/fenv.h" 3
# 31 "/usr/include/c++/4.5/fenv.h" 3
# 34 "/usr/include/c++/4.5/fenv.h" 2 3
# 1 "/usr/include/c++/4.4/fenv.h" 1 3
# 36 "/usr/include/c++/4.5/fenv.h" 2 3

Instead of /usr/include/c++/4.5/fenv.h including /usr/include/fenv.h,
clang finds /usr/include/c++/4.4/fenv.h instead.

The problem is, that clang still searches all possible
/usr/include/c++/4.X directories in descending version-order, where it
should stop after the first one found. This was solved for me by forcing
the include-directories in the configure-options (refer to my
debdiff.patch for the details).





More information about the Pkg-llvm-team mailing list