8000 building with mingw 8.1.0, static library is missing `dgetri`? · Issue #2920 · OpenMathLib/OpenBLAS · GitHub < 8000 meta name="octolytics-dimension-repository_is_fork" content="false" />
[go: up one dir, main page]

Skip to content
building with mingw 8.1.0, static library is missing dgetri? #2920
@mattip

Description

@mattip

In the MacPython/openblas-libs repo we build with mingw v8.1.0 on windows. There seems to be a problem with the test.f90 compilation, it cannot link, with the error that dgetri is not exported from the library. Indeed, if I do objdump -x |grep dgetr (in gitbash) I do not see it, but I do see traces of it:

$ objdump -x /c/opt/64/lib/libopenblas_v0.3.11-gcc_8_1_0.dll.a |grep dgetr
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 dgetrs_
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_dgetrs_
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 dgetrs
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_dgetrs
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 dgetrf_
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_dgetrf_
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 dgetrf
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_dgetrf
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 LAPACKE_dgetrs_work
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_LAPACKE_dgetrs_work
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 LAPACKE_dgetrs
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_LAPACKE_dgetrs
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 LAPACKE_dgetri_work
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_LAPACKE_dgetri_work
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 LAPACKE_dgetri
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_LAPACKE_dgetri
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 LAPACKE_dgetrf_work
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_LAPACKE_dgetrf_work
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 LAPACKE_dgetrf2_work
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_LAPACKE_dgetrf2_work
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 LAPACKE_dgetrf2
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_LAPACKE_dgetrf2
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 LAPACKE_dgetrf
[  6](sec  3)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 __imp_LAPACKE_dgetrf

This code used to work, I wonder what changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0