Your message dated Mon, 19 Sep 2011 08:16:42 +0200
with message-id <[email protected]>
and subject line Re: Bug#642053: clang cannot compile C source file
successfully if the source includes "errno.h"
has caused the Debian Bug report #642053,
regarding clang cannot compile C source file successfully if the source
includes "errno.h"
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 [email protected]
immediately.)
--
642053: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642053
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clang
Version: 2.7-3
Severity: important
Dear Maintainer,
*** Please consider answering these questions, where appropiate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
Save the following source code as a C source file:
#include <errno.h>
int main()
{
}
Then compile it:
$ clang tmp.c
* What was the outcome of this action?
The compilation failed. Error messages are:
In file included from tmp.c:1:
In file included from /usr/include/errno.h:36:
In file included from /usr/include/bits/errno.h:25:
/usr/include/linux/errno.h:4:10: fatal error: 'asm/errno.h' file not found
#include <asm/errno.h>
^
1 diagnostic generated.
* What outcome did you expect instead?
The build should be successful.
Besides, gcc could compile it successfully.
*** End of the template - remove these lines ***
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages clang depends on:
ii libc6 2.13-18
ii libffi5 3.0.10~rc10-3
ii libgcc1 1:4.6.1-4
ii libstdc++6 4.6.1-4
Versions of packages clang recommends:
ii llvm-2.7-dev 2.7-6.2
ii python 2.6.7-3
clang suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
fixed 642053 2.9-10
thanks
Hello,
Le lundi 19 septembre 2011 à 10:31 +0800, Hong Xu a écrit :
> In file included from tmp.c:1:
> In file included from /usr/include/errno.h:36:
> In file included from /usr/include/bits/errno.h:25:
> /usr/include/linux/errno.h:4:10: fatal error: 'asm/errno.h' file not found
> #include <asm/errno.h>
This bug is fixed in the release currently staying in unstable (I don't
know why it has not transited yet).
Sylvestre
--- End Message ---