Bug#289566: (no subject)
Subject: gcc-3.3: gcc always report segfault Package: gcc-3.3 Version: 1:3.3.5-6 Severity: normal Hello, while trying to compile a module for my kernel, I got a segmentation fault from gcc. After having searched to find out what was the cause, I realized that gcc was acting weird. When typing 'gcc -v' I get the following message : Reading specs from /usr/lib/gcc-lib/i486-linux/2.8.1/specs Segmentation fault When replacing the 2.8.1 dir with a link to the 3.3.5 one, everything seems to work fine. It seems like a faulty package, right ? If not, sorry to have bother you... -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.5 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages gcc-3.3 depends on: ii binutils2.15-5 The GNU assembler, linker and bina ii cpp-3.3 1:3.3.5-6The GNU C preprocessor ii gcc-3.3-base1:3.3.5-6The GNU Compiler Collection (base ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libgcc1 1:3.4.3-6GCC support library -- no debconf information
Bug#289566: Gnat...
Yes I do, is it related to that ? _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#289566: Gnat...
Oh, and I tried to remove (apt-get remove --purge gnat), it didn't change anything. Maybe there's another package to remove, I don't know, but I mention it in case it might seem usefull... _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#289566: Gnat...
Here is the output as requested : lrwxrwxrwx 1 root root16 2005-01-10 22:55 /usr/bin/gcc -> /usr/bin/gcc-3.3 -rwxr-xr-x 1 root root 85196 2005-01-08 15:55 /usr/bin/gcc-3.3 -rwxr-xr-x 1 root root 61000 2004-09-18 19:08 /usr/bin/gnatgcc The thing is that I have tried to find a solution and fell on some very strange things... Here goes : I moved /usr/lib/gcc-lib/i486-linux and after that, gcc didn't do any segfault. I tried then to recompile my kernel (which was what I was trying in the first place) and it failed again, but further and for another reason. Here's the output : include/linux/kernel.h:71: error: parse error before "va_list" include/linux/kernel.h:71: warning: function declaration isn't a prototype I tried then to reinstall gcc and all of its dependencies files with 'apt-get --reinstall install'. The 2.8.1 directory in /usr/lib/gcc-lib/i486-linux was restored! (the dependencies files I talk about are only the ones listed as necessary in the debian gcc-3.3 package). A little bit afterwards I did a 'apt-get update' and upgraded. libcc1 was upgraded, the problem still persisted. I also tried to use gcc 3.2, by changing /usr/bin/gcc link to point to gcc-3.2, got the same problem (in the kernel compilation). I know that my kernel compilation shouldn't fail because I kept my configuration file, I'm using the same sources as the current kernel I'm using (which I btw compiled with gcc-3.3-x a couple of months ago). Finally, 3 friends of mine have the same problem, and as we are all working on an ada project, we all have gnat installed. (one of them hadn't upgraded his system apparently and hadn't any segfault, but afterwards he got the same behavior that I have. We all have debian unstable btw. In case I forgot any info that I might have gathered until now, here's a link where I asked for some help : http://www.experts-exchange.com/Operating_Systems/Linux/Q_21267518.html _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#289566: Gnat...
type -a gcc gives /usr/bin/gcc As for gnat, did a 'dpkg -L gnat|grep gcc' and the only entry that I found (except the .../i486-linux/2.8.1 dir) was /usr/bin/gnatgcc _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#289566: Gnat...
Here's what I know now : _ gcc will get the 2.8.1 dir in /usr/lib/gcc-lib/i486-linux/, even if 3.3.5 is present. However it fails with the first one _ gnat needs 2.8.1, it fails without it... Now where it gets even weirder, if gnat is uninstalled (or if the 2.8.1 dir is renamed to something else), gcc still doesn't seem to work correctly. While compiling the kernel (as I might have said before, same sources and configuration as the kernel I'm using now, which compiled fine two months ago, even if I remove the sources dir and bunzip it again) I get this error : In file included from include/asm/system.h:5, from include/asm/processor.h:18, from include/asm/thread_info.h:13, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/i386/kernel/asm-offsets.c:7: include/linux/kernel.h:10:20: stdarg.h: No such file or directory So there's something wrong with the packages right ? Oh, and I've managed to reproduce the problem (at least the gnat-gcc conflict) on other computers). _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]