Opened 7 years ago
Closed 7 years ago
#56163 closed defect (fixed)
OpenBLAS @0.2.20_1: libgcc* should be a runtime dependency
Reported by: | michaellass (Michael Lass) | Owned by: | NicosPavlov |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | michaelld (Michael Dickens) | |
Port: | OpenBLAS |
Description
gcc is used as Fortran compiler for OpenBLAS. The resulting library is linked against libgfortran and libquadmath which are provided by the corresponding libgcc port:
otool -L /opt/local/lib/libopenblas-r1.dylib /opt/local/lib/libopenblas-r1.dylib: /opt/local/lib/libopenblas-r1.dylib (compatibility version 0.0.0, current version 0.0.0) /opt/local/lib/libgcc/libgfortran.4.dylib (compatibility version 5.0.0, current version 5.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0) /opt/local/lib/libgcc/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0) port provides /opt/local/lib/libgcc/libgfortran.4.dylib /opt/local/lib/libgcc/libgfortran.4.dylib is provided by: libgcc port provides /opt/local/lib/libgcc/libquadmath.0.dylib /opt/local/lib/libgcc/libquadmath.0.dylib is provided by: libgcc
The corresponding libgcc version should therefore be added as a runtime dependency.
I noticed this myself when doing a "port uninstall leaves" which uninstalled gcc6 and libgcc6 and left OpenBLAS broken. (The output shown above is now from the +gcc7 variant of OpenBLAS).
Change History (3)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Cc: | NicosPavlov removed |
---|---|
Owner: | set to NicosPavlov |
Status: | new → assigned |
comment:2 Changed 7 years ago by NicosPavlov
comment:3 Changed 7 years ago by NicosPavlov
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for the report, it will be committed soon after that.