No, in the gcc-4.4 case, the compiler is not crashing, merely emitting
correct diagnostic messages. The bit that was a bug in gcc-4.3 was this,
not the other errors:
/usr/include/bits/socket.h:249: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccICeSlf.out file,
Correct. according to the output seen in the post about gcc-4.4.0 above, the
bug seems fixed.
About the fact that one should include sys/socket.h instead of linux/socket.h,
that's also correct of course, but not the point of the discussion (and the bug
report).
The point is that gcc-4.3
Same with gcc (Ubuntu 4.4.0-6ubuntu2) 4.4.0
--
gcc crashes compiling linux include files
https://bugs.launchpad.net/bugs/320366
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
** Package changed: apport (Ubuntu) = ubuntu
--
gcc crashes compiling linux include files
https://bugs.launchpad.net/bugs/320366
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
The exact same error occurs on karmic with gcc 4.4.0
$ gcc --version
gcc (Ubuntu 4.4.0-5ubuntu1) 4.4.0
$ gcc bug.c -O3
In file included from /usr/include/linux/socket.h:23,
from bug.c:1:
/usr/include/linux/uio.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before
fixed in jaunty
** Changed in: gcc-4.3 (Ubuntu)
Status: Confirmed = Fix Released
--
gcc crashes compiling linux include files
https://bugs.launchpad.net/bugs/320366
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
Ah, apparently gcc encountered an internal compiler error and tried to
create a crash report. It seems you changed the permissions of
/var/crash/ to not be world-writable any more? it should be
drwxrwxrwt 2 root root 4096 2009-03-05 11:18 /var/crash/
Please fix it with sudo chmod 1777
The permissions in /var/crash are not the problem (they are wrong, ok,
nevermind that), please ignore the error message of apport.
The real problem here is the fact that GCC crashes (it terminates with a
segfault).
GCC should not crash.
--
gcc crashes compiling linux include files
Trivially repeatable on intrepid (64-bit as well) - does it with -O2 or
-O3 but not -O1 or with no -O
** Changed in: gcc-4.3 (Ubuntu)
Status: New = Confirmed
--
gcc crashes compiling linux include files
https://bugs.launchpad.net/bugs/320366
You received this bug notification because you
** Also affects: apport (Ubuntu)
Importance: Undecided
Status: New
--
gcc crashes compiling linux include files
https://bugs.launchpad.net/bugs/320366
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing
** Attachment added: The preprocessed source file
http://launchpadlibrarian.net/21556756/ccICeSlf.out
--
gcc crashes compiling linux include files
https://bugs.launchpad.net/bugs/320366
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
11 matches
Mail list logo