Bug 1568140 - libgfortran.so bad config
Summary: libgfortran.so bad config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: softwarecollections.org
Classification: Community
Component: devtoolset-7
Version: 1.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Marek Polacek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-16 20:11 UTC by djip007
Modified: 2018-04-17 19:35 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-17 19:31:50 UTC


Attachments (Terms of Use)

Description djip007 2018-04-16 20:11:29 UTC
Description of problem:

traing to link using gfortran v7.2.1 from devtoolset-7 faild with symboles not found.

libgfortran.so is:

/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
OUTPUT_FORMAT(elf64-x86-64)
INPUT ( /usr/lib64/libgfortran.so.4 )


I think like describe it should be:
INPUT ( /usr/lib64/libgfortran.so.4, libgfortran.a)

Comment 1 djip007 2018-04-17 19:35:08 UTC
sorry find my bug... 
Wrong link make use of /usr/lib64/libgfortran.so.3 (used by lapack/blas...)

Nead to re-build them with gfortran-7


Note You need to log in before you can comment on or make changes to this bug.