[parisc-linux] gcc (g++) problem

Jeremy Drake jeremyd@apptechsys.com
Tue, 26 Feb 2002 16:13:10 -0800 (PST)

Cool.  Seems to work OK on the test, now to try it on the real thing...

On Mon, 25 Feb 2002, John David Anglin wrote:

> > Here's the problem.  This program segfaults when compiled with -fPIC, as
> > required to build a .so.  It is fine when compiled without -fPIC.  It is
> > also fine on intel platform with both.  Is there something wrong with the
> > code that I'm not seeing, or is this a compiler bug?  I have tried this
> > with gcc-3 on an intel box, and it is fine, so I assume it is this port?
> It's probably a compiler bug.  The code works ok with my 3.1 test version.
> I think the problem may be the restoration of the pic offset table register
> after function calls.
> Suggest trying the debian 3.1 prerelease build.  Search the list to find
> how to get it.
> Dave

	 "It's not the despair... I can stand the despair.  It's the hope."