[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19579] [Regression] link error linking fortran code on s390x-lin
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/19579] [Regression] link error linking fortran code on s390x-linux-gnu |
Date: |
Fri, 26 Feb 2016 22:54:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19579
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Andreas Krebbel from comment #5)
> Using head binutils however I get:
> gfortran -g -O2 -std=legacy -fno-automatic -fPIC -Wl,--as-needed -Wl,-z
> -Wl,defs -pie -o .libs/mopac7 mopac7app.o ./.libs/libmopac7.so -lm
> -Wl,--rpath -Wl,/home/andreas/mopac/install/lib
> /home/andreas/binutils/binutils-26022016-install/bin/ld: mopac7app.o:
> relocation R_X86_64_PC32 against undefined symbol `geokst_' can not be used
> when making a shared object; recompile with -fPIC
> /home/andreas/binutils/binutils-26022016-install/bin/ld: final link failed:
> Bad value
>
> Although everything is built with -fPIC
>
I can reproduce it on Fedora 23. It is a bug in redhat-rpm-config, which
has redhat-hardened-cc1 and redhat-hardened-ld. But there is no
redhat-hardened-f951. mopac7app.o isn't compiled with PIE/PIC.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19579] New: [Regression] link error linking fortran code on s390x-linux-gnu, doko at debian dot org, 2016/02/08
- [Bug ld/19579] [Regression] link error linking fortran code on s390x-linux-gnu, doko at debian dot org, 2016/02/08
- [Bug ld/19579] [Regression] link error linking fortran code on s390x-linux-gnu, nickc at redhat dot com, 2016/02/23
- [Bug ld/19579] [Regression] link error linking fortran code on s390x-linux-gnu, doko at debian dot org, 2016/02/23
- [Bug ld/19579] [Regression] link error linking fortran code on s390x-linux-gnu, doko at debian dot org, 2016/02/23
- [Bug ld/19579] [Regression] link error linking fortran code on s390x-linux-gnu, doko at debian dot org, 2016/02/24
- [Bug ld/19579] [Regression] link error linking fortran code on s390x-linux-gnu, krebbel at linux dot vnet.ibm.com, 2016/02/26
- [Bug ld/19579] [Regression] link error linking fortran code on s390x-linux-gnu,
hjl.tools at gmail dot com <=