This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/35014] New: Libgfortran.a (downloaded) is not PIC compiled...
- From: "pmason at ricardo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2008 13:15:30 -0000
- Subject: [Bug libfortran/35014] New: Libgfortran.a (downloaded) is not PIC compiled...
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When linking against libgfortran.a (using gfortran's -static-libgfortran
option)
get message about library should be recompiled with -fPIC option.
E.g. when building a shared library:
gfortran -c -fPIC test.f90
gfortran -static-libgfortran -shared -o libtest.so test.o
>>>>>>>>>>>> CODE for test.f90 <<<<<<<<<<
subroutine subber
print*,'hi'
end
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Using version 4.3.0 20080117 (experimental) on x86-64 suse9.
--
Summary: Libgfortran.a (downloaded) is not PIC compiled...
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pmason at ricardo dot com
GCC build triplet: 4.3.0 20080117 (experimental)
GCC host triplet: suse9 x86-64
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35014