* gcc comes out with Aborted
@ 2003-09-24 18:34 SVR Anand
2003-09-25 8:44 ` Jim Wilson
0 siblings, 1 reply; 2+ messages in thread
From: SVR Anand @ 2003-09-24 18:34 UTC (permalink / raw)
To: gcc
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc comes out with Aborted
2003-09-24 18:34 gcc comes out with Aborted SVR Anand
@ 2003-09-25 8:44 ` Jim Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2003-09-25 8:44 UTC (permalink / raw)
To: SVR Anand; +Cc: gcc
SVR Anand wrote:
> I am unable to compile any program with gcc on my Linux machine. gcc comes out
> with "Aborted" message.
This list is for discussing gcc development, not for bug reports like
this. A better place would be submitting this into bugzilla as per
http://gcc.gnu.org/bugs.html
However, there may not be much we can do about this, as this may not be
a gcc problem.
Looks like maybe there is something wrong with your OS, or maybe your
hardware. Red Hat wouldn't make an OS release with that broken of a
compiler in it. Maybe try reinstalling the OS from scratch to make sure
you have a good gcc and libc? Maybe try a different (newer) OS release?
Is your OS release know to work on other machines? Maybe you have bad
install CDs?
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-25 5:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24 18:34 gcc comes out with Aborted SVR Anand
2003-09-25 8:44 ` Jim Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).