www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/03/24/11:47:40

Sender: oeichler AT extern DOT fh-regensburg DOT de
Message-ID: <36F9159E.C0CA3713@extern.fh-regensburg.de>
Date: Wed, 24 Mar 1999 17:41:02 +0100
From: Oliver Eichler <oliver DOT eichler AT extern DOT fh-regensburg DOT de>
Organization: DSP Solutions
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.0.35 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: [Fwd: Programs compiled with pgcc get segmentation fault.]
Reply-To: pgcc AT delorie DOT com

This is a multi-part message in MIME format.
--------------F9225986DE3CBA058E54E0B3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Just an add-on to my question

> Compiling a small trusted test app works fine. However the app fails to
> run with a segmentation fault :(. To be more specific: Everything I
> compile does not run.

I just went thru the code with a debugger. The function 'fopen' will
return with NULL. This looks like something smells fishy within the
libaries. using ldd shows:

        libstdc++.so.2.9 => /usr/lib/libstdc++.so.2.9 (0x4000c000)
        libm.so.5 => /lib/libm.so.5 (0x4004e000)
        libc.so.5 => /lib/libc.so.5
(0x40057000)             	             

Are these the right versions?

Any help appreciated. I need a compiler again :)

olli
--------------F9225986DE3CBA058E54E0B3
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

X-Mozilla-Status2: 00000000
Message-ID: <36F9016F DOT BF53F5E AT extern DOT fh-regensburg DOT de>
Date: Wed, 24 Mar 1999 16:14:55 +0100
From: Oliver Eichler <oliver DOT eichler AT extern DOT fh-regensburg DOT de>
Reply-To: oliver DOT eichler AT dspsolutions DOT de
Organization: DSP Solutions
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.0.35 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: Programs compiled with pgcc get segmentation fault.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi

Finally I got pgcc version  pgcc-2.91.57 19980901 (egcs-1.1 release)
running on my system (P166 with SuSE 5.3). My current libc is version
libc.so.5.4.46. 

Compiling a small trusted test app works fine. However the app fails to
run with a segmentation fault :(. To be more specific: Everything I
compile does not run.

I checked the FAQ for "segmentation" and "fault" with no success. I
guess I simply miss something very obvious. Any Ideas?

olli

P.S. I am not submitted to the list. Could you please send a copy to my
reply address? Thanks.

--------------F9225986DE3CBA058E54E0B3--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019