🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #100

Problem at runtime, gcc 2.1 on sparc

#100
From: Christian Doucet
Date: Fri, 10 Apr 1992 20:18
32 lines
1519 bytes
Help!

I'm working on a SPARCserver 330 (sun4) with SunOS 4.1.1
I have the following problem with gcc 2.1
I compiled and installed gcc 2.1 correctly with the few normal
warnings about collect2 and unreachable statements.

Now, when I compile C programs I wrote, they coredump
with a Segmentation Violation right before the main is ever
executed. Here's the gdb output:

------
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.4, Copyright 1991 Free Software Foundation, Inc...
(gdb) run
Starting program: /u/lancelot/Bot/thebot/ego/thebot
Program received signal 11, Segmentation fault
0x20 in start ()
(gdb)
------

the backtrace command gives nothing useful (it really just started).

Any help greatly appreciated!

p.s.: I got gcc on prep.ai.mit.edu of course.

--
Christian Doucet ----- lancelot@Mais.Hydro.Qc.Ca | Hydro-Quebec
System Administrator - lancelot@Rot.Qc.Ca        | voice: + 1 514 858 7704
I speak for myself! -- #include <disclaimer.h>   | fax  : + 1 514 858 7799
Memory fault -- core...uh...um...core... Oh dammit, I forget!
Technical Details
Message-ID: <lancelot.702937120@tdsb-s>
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!bonnie.concordia.ca!s3!tdsb-s!lancelot

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!bonnie.concordia.ca!s3!tdsb-s!lancelot
From: lancelot@mais.hydro.qc.ca (Christian Doucet)
Newsgroups: gnu.gcc.help
Subject: Problem at runtime, gcc 2.1 on sparc
Keywords: gcc problem
Message-ID: <lancelot.702937120@tdsb-s>
Date: 10 Apr 92 20:18:40 GMT
Sender: usenet@s3.ireq.hydro.qc.ca
Lines: 32