[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shared libraries with g77
From: |
Joao Cardoso |
Subject: |
Re: shared libraries with g77 |
Date: |
Wed, 03 Jun 1998 21:51:07 +0100 |
Mail Delivery Subsystem wrote:
>
...
>
> Ruediger Back wrote:
> >
> > Hi,
> >
> > has anybody succeeded in building shared libraries with g77 on Intel
> > Linux ? It seems that the FORTRAN routines trigger a known bug in the
> > current g77 compiler, which does not correctly compile with the PIC
> > flag. Compiling without Optimization actually terminates with an error
> > while compiling with optimization turned on just generates a whole
> > bunch of assembler warnings (turning opt. on is also a suggestion in
> > the g77 manual). Does it still generate correct code ? Is there
> > anybody with a dynamically linked octave on Linux (I'm sure there is)
> > who can confirm that ? Basically Octave just keeps crashing right
> > away - that is, after a certain input sequence which I send to
> > bug-octave a few days ago. Strangely enough, the response I got was
> > that my example was just working fine on a reference machine with a
> > newer version. (2.0.12 while I had 2.0.11).
> >
> > So I compiled 2.0.13... still no good. I've also recently build my
> > compiler, lib(g/c)++ using safe, tested version, so I'm sure that is
> > not the problem (also built binutils). I tested versions compiled with
> > both: pgcc (that is a pentium patched egcs compiler-suite gcc/g++/g77)
> > as well as standard gcc/g++/g77. Same result.
>
> What version on binutils are you using? The described bug in gcc/egcs,
> compiling fortran with -fpic in x86 cpus, was corrected in egcs-1.0.2,
> but needs
> the last version of binutils. The problem is that there were two
> mutually
> correcting bugs: one in gcc, that generates wrong assembly code, the
> other
> in `gas', that accepted the wrong assembly and produced good object
> code.
>
> My system `as' complained with the assembly code generated by g77 -fpic,
> I
> reported it and someone (expert) found the gcc bug and corrected it;
> `gas' was also changed, but only in the last binutils.
>
> Hope this helps,
> Joao
>
> >
> > --
> > reply to: address@hidden
>
> --
> Joao Cardoso | e-mail: address@hidden
> INESC, R. Jose Falcao 110 | tel: + 351 2 2094322
> 4000 PORTO, PORTUGAL | fax: + 351 2 2008487
- shared libraries with g77, Ruediger Back, 1998/06/02
- shared libraries with g77, John W. Eaton, 1998/06/03
- Message not available
- Re:shared libraries with g77, Ruediger Back, 1998/06/03
- Re:shared libraries with g77, John W. Eaton, 1998/06/03
- nice plots, but how can i print, Daniel Heiserer, 1998/06/04
- RE: nice plots, but how can i print, stefano, 1998/06/04
- Re: nice plots, but how can i print, Kai Mueller, 1998/06/04
- Re: shared libraries with g77,
Joao Cardoso <=