This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc comes out with Aborted
- From: anand at eis dot iisc dot ernet dot in (SVR Anand)
- To: gcc at gcc dot gnu dot org
- Date: Wed, 24 Sep 2003 20:27:31 +0530 (GMT+05:30)
- Subject: gcc comes out with Aborted
Hi,
I am unable to compile any program with gcc on my Linux machine. gcc comes out
with "Aborted" message.
Is there a way out ? Please help me.
Anand
The details of the environment follow. I hope this information is sufficient.
--------------------------------------------------------------------
System : RedHat 7.2, Intel P4.
--------------------------------------------------------------------------
# gcc -v -save-temps abc.c
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
/usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__NO_INLINE__ -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i386__ abc.c abc.i
GNU CPP version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/i386-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include
/usr/include
End of search list.
Aborted
--------------------------------------------------------------------------
The program I am trying out.
#cat abc.c
main()
{
}
--------------------------------------------------------------------------
gdb dump
--------
#gdb gcc
(gdb) r abc.c
Starting program: /usr/bin/gcc abc.c
Program received signal SIGABRT, Aborted.
0x4005aa01 in __kill () from /lib/i686/libc.so.6
(gdb) bt
#0 0x4005aa01 in __kill () from /lib/i686/libc.so.6
#1 0x4005a7da in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x4005bf82 in abort () at ../sysdeps/generic/abort.c:88
#3 0x0804bca9 in strcpy ()
#4 0x0804f02e in strcpy ()
#5 0x08050c37 in strcpy ()
#6 0x08050201 in strcpy ()
#7 0x08050c37 in strcpy ()
#8 0x08050201 in strcpy ()
#9 0x08050c37 in strcpy ()
#10 0x08050201 in strcpy ()
#11 0x0804ecba in strcpy ()
#12 0x080524b1 in strcpy ()
#13 0x40048507 in __libc_start_main (main=0x8051240 <strcpy+32088>, argc=3,
ubp_av=0xbffffb24, init=0x8049050, fini=0x80560d0 <__umoddi3+496>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffffb1c)
at ../sysdeps/generic/libc-start.c:129
(gdb)