This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Part of] your Dec., 4th change to libf2c/Makefile.in.


Toon Moene <toon@moene.indiv.nluug.nl> writes:

> Alexandre,
>
> On the 4th of December last year, you changed the build of libf2c to use
> object lists with libtool.
>
> As part of (but as far as I can see, independent of) this change, you
> updated libf2c/Makefile.in as follows:
>
>
>  install: all
>         $(LIBTOOL) --mode=install $(INSTALL_DATA) $(LIBG2C)
> $(libsubdir)/$(MULTISUBDIR)
> -       (cd $(libsubdir)/$(MULTISUBDIR) ; mv -f $(LIBG2C_BASE).*
> $(prefix)/lib)
>         $(INSTALL_DATA) libfrtbegin.a $(libsubdir)/$(MULTISUBDIR)
>
> [ See:
> http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libf2c/Makefile.in.diff?cvsroot=gcc&r1=1.41&r2=1.42
> ]
>
> Alhough the original shell command wasn't right, this one isn't either. 
> The net effect of this change is that libg2c.so[0.[0.0]] now resides in
>
> 	..../lib/gcc-lib/i686-pc-linux-gnu/3.1
>
> in stead of
>
> 	..../lib
>
> as libgcc_s.so[.1] et al. do.
>
> This is probably the main reason why Andreas Jaeger's SPECfp2000 run
> doesn't show any Fortran results as of Dec 4th anymore.

It seems to be the reason, I just did a quick check on my system:

gromit:/usr/src/SpecTests/cpu2000/benchspec/CFP2000/168.wupwise/run/00000001:[0]
$ ldd ./wupwise
        libg2c.so.0 => not found
        libm.so.6 => /lib/libm.so.6 (0x4002d000)
        libgcc_s.so.1 => /opt/gcc-3.1-devel/lib/libgcc_s.so.1 (0x40050000)
        libc.so.6 => /lib/libc.so.6 (0x40059000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Thanks Toon for the analysis!
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]