This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RedHat 7 gcc failure


Hi Toon,

Here is the info:
[root@tirion tirion-linux]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)

But failure cames from cpp0 (if I trusted the displaied message :)
[root@tirion tirion-linux]# cpp -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c -v -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i386__ -
GNU CPP version 2.96 20000731 (Red Hat Linux 7.0) (cpplib)
 (i386 Linux/ELF)
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/i386-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/include
 /usr/include
End of search list.


At 13:38 01/10/00 +0200, Toon Moene wrote:
>Laurent LEVIER wrote:
>
>> This is RedHat 7, on i386 (P200). Everything (ssh, squid, apache, ...) compiled ok until nmap and this failure.
>
>> This is nmap 2-53.
>
>> cd nmapfe; test -f Makefile && make VERSION=0. STATIC=;
>> make[1]: Entering directory `/u/system/src/security/nmap-2.53/nmapfe'
>> gcc -g -O2 -Wall -DMISSING_GTK=1  -DVERSION=\"0.\" -I. -I.    -c nmapfe.c
>> nmapfe.c:11:2: Āl
>> gcc: Internal error: Segmentation fault (program cpp0)
>> Please submit a full bug report.
>> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>> make[1]: *** [nmapfe.o] Error 1
>> make[1]: Leaving directory `/u/system/src/security/nmap-2.53/nmapfe'
>> make: [nmapfe/nmapfe] Error 2 (ignored)
>> 
>> Here is my rpm list (long, but useful):
>
>Unfortunately, it isn't.  What would be useful (explained if you follow
>the link in the error message) is the preprocessed source of nmapfe.c. 
>You can create this by repeating the above command if you include the
>--save-temps flag.
>
>BTW, could you please add -v too, so that we can determine what the
>exact version of this compiler is ?
>
>Thanks in advance,
>
>-- 
>Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
>Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
>GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
>GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

Laurent LEVIER
IT Systems & Networks, Unix System Engineer
Security Specialist

Argosnet Security Server : http://www.Argosnet.com
"Le Veilleur Technologique", "The Technology Watcher"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]