public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/35014]  New: Libgfortran.a (downloaded) is not PIC compiled...
@ 2008-01-29 14:02 pmason at ricardo dot com
  2008-01-29 14:25 ` [Bug libfortran/35014] " rguenth at gcc dot gnu dot org
  2008-01-29 17:32 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 10+ messages in thread
From: pmason at ricardo dot com @ 2008-01-29 14:02 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-03-17  6:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-35014-4@http.gcc.gnu.org/bugzilla/>
2020-03-28 19:19 ` [Bug libfortran/35014] Libgfortran.a (downloaded) is not PIC compiled a.shahmoradi at gmail dot com
2020-12-02 21:45 ` dominiq at lps dot ens.fr
2021-03-04 13:58 ` iains at gcc dot gnu.org
2021-05-31 19:51 ` [Bug other/35014] " dominiq at lps dot ens.fr
2024-03-17  4:52 ` iains at gcc dot gnu.org
2024-03-17  5:08 ` a.shahmoradi at gmail dot com
2024-03-17  5:40 ` iains at gcc dot gnu.org
2024-03-17  6:44 ` a.shahmoradi at gmail dot com
2008-01-29 14:02 [Bug libfortran/35014] New: " pmason at ricardo dot com
2008-01-29 14:25 ` [Bug libfortran/35014] " rguenth at gcc dot gnu dot org
2008-01-29 17:32 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).