[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#104250: g77: Creating a shared lib with g77 links in non-fPIC code from libg2c.a



Package: g77
Version: 1:2.95.2-13
Severity: normal

And one can't link with gcc, as that won't handle several fortran
intrinsics, such as c_abs, c_div, etc.  This arises with the following:

g77 -c foo.f -fPIC -o foo.o
g77 -shared -Wl,-soname=libfoo.so.1 -o libfoo.so.1.0 foo.o

objdump --headers --private-headers -T libfoo.so.1.0 |grep \.rel\.text
as in lintian check succeeds if intrinsics are used in .f code.

-- System Information
Debian Release: 2.2
Kernel Version: Linux wisdom 2.2.18-i586tsc #1 Sun Mar 4 08:16:57 EST 2001 i586 unknown

Versions of the packages g77 depends on:
ii  gcc                       2.95.2-13                 The GNU C compiler.
ii  libc6                     2.1.3-18                  GNU C Library: Shared libraries and Timezone data



Reply to: