This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: Fortran part of your SPECfp2000 run fails - to link.]
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Subject: Re: [Fwd: Fortran part of your SPECfp2000 run fails - to link.]
- From: Andreas Jaeger <aj at suse dot de>
- Date: Mon, 15 Oct 2001 10:41:47 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <3BBF0B33.4680C2DC@moene.indiv.nluug.nl>
Toon Moene <toon@moene.indiv.nluug.nl> writes:
> I've sent the following to Andreas Jaeger, but he's out of office until
> the 15th.
>
> This is not a high priority issue, but it would be nice if it were
> fixed.
Toon, thanks for telling me.
I've fixed this now with adding the following lines to the SPEC2000
config file:
# g77 needs to find its shared libraries
EXTRA_LDFLAGS = -Wl,-rpath=%GCCLIBDIR%
Now libgcc_s.so.1 should be found again. The problem was that libf2c
is now a shared library and libgcc_s.so is not in one of the standard
directories.
The SPECfp results are ok again but 173.applu is still failing, we get
a miscomparison which indicates normally a miscompilation of the
binary:
*** Miscompare of applu.out, see /usr/src/SpecTests/cpu2000/benchspec/CFP2000/173.applu/run/00000007/applu.out.mis
0017: RMS-norm of SSOR-iteration correction for fifth pde = 1.59417E+02
RMS-norm of SSOR-iteration correction for fifth pde = 1.57011E+02
[...]
Andreas
> [...]
> Hi Andreas,
>
> I noticed that the last few of your SPECfp2000 runs don't contain data
> on the Fortran programs. According to your logs, the following fails:
>
> Error from make 'specmake build 2> make.err | tee make.out':
> /usr/bin/ld: warning: libgcc_s.so.1, needed by
> /usr/src/SpecTests/d-permanent/i686/install-200110060402/lib/gcc-lib/i686-pc-linux-
> gnu/3.1/../../../libg2c.so, not found (try using -rpath or -rpath-link)
>
> That is strange, because in my build of gcc/g77, I find libgcc_s.so.1 in
> the same directory as libg2c.so:
>
> toon@laptop:~$ ls /usr/snp/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../..
> gcc-lib libg2c.a libg2c.la libg2c.so libg2c.so.0 libg2c.so.0.0.0
> libgcc_s.so libgcc_s.so.1 libiberty.a
>
> What's going wrong in your build ?
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj