public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/3343: gcc compiled code gives segmentation fault
@ 2001-06-21 11:36 kishoref
  0 siblings, 0 replies; 3+ messages in thread
From: kishoref @ 2001-06-21 11:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3343
>Category:       c
>Synopsis:       gcc compiled code gives segmentation fault
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 21 11:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     kishoref@hotmail.com
>Release:        gcc version 2.95.3 20010315 (release)
>Organization:
>Environment:
SunOS vela 5.8 Generic_108528-03 sun4u sparc
>Description:
kishore@vela 58% gcc -v -save-temps foo.c
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) foo.c foo.i
GNU CPP version 2.95.3 20010315 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/../../../../sparc-sun-solaris2.8/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/../../../../include/g++-3
End of omitted list.
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/cc1 foo.i -quiet -dumpbase foo.c -version -o foo.s
GNU C version 2.95.3 20010315 (release) (sparc-sun-solaris2.8) compiled by GNU C version 2.95.3 20010315 (release).
 /usr/local/sparc-sun-solaris2.8/bin/as -V -Qy -s -o foo.o foo.s
GNU assembler version 2.11 (sparc-sun-solaris2.8) using BFD version 2.11
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crt1.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crti.o /usr/ccs/lib/values-Xa.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtbegin.o -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3 -L/usr/local/sparc-sun-solaris2.8/lib -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib foo.o -lgcc -lc -lgcc /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtend.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtn.o
GNU ld version 2.11 (with BFD 2.11)
  Supported emulations:
   elf32_sparc
   elf64_sparc
kishore@vela 59% ./a.out
Hello 
Segmentation Fault
kishore@vela 60% gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
>How-To-Repeat:
gcc foo.c and ./a.out

listing of foo.c
#include <stdio.h>

main()
{
  printf("Hello \n");
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/3343: gcc compiled code gives segmentation fault
@ 2002-04-20 14:30 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-04-20 14:30 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, kishoref, nobody

Synopsis: gcc compiled code gives segmentation fault

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Apr 20 14:30:39 2002
State-Changed-Why:
    No feedback.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3343


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/3343: gcc compiled code gives segmentation fault
@ 2002-02-23 19:22 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-02-23 19:22 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, kishoref, nobody

Synopsis: gcc compiled code gives segmentation fault

State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Sat Feb 23 19:18:31 2002
State-Changed-Why:
    Did you read all the release notes for compiling
    GCC on Solaris?  Did you install all the necessary patches?
    
    
    http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2.7
    
    Does gcc 3.0.4 work on your system?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3343


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-20 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-21 11:36 c/3343: gcc compiled code gives segmentation fault kishoref
2002-02-23 19:22 rodrigc
2002-04-20 14:30 rodrigc

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).