Skip to content

DYNAMIC_ARCH build fails with BUILD_COMPLEX16=1 and not BUILD_COMPLEX=1 #6305

Backlog

Description

@davidheff

Building only the double precision types with DYNAMIC_ARCH fails:

make DYNAMIC_ARCH=1 DYNAMIC_LIST=HASWELL NOFORTRAN=1 BUILD_DOUBLE=1 BUILD_COMPLEX16=1 libs
lapack/zgetrs.c: In function 'cgetrs_':
../common_param.h:1424:37: error: 'gotoblas_t' has no member named 'cgemm_p'; did you mean 'sgemm_p'?
zdot.c: In function 'cblas_cdotu_sub':
../common_c.h:297:45: error: 'gotoblas_t' has no member named 'cdotu_k'; did you mean 'zdotu_k'?

interface/Makefile adds six single precision complex objects (cgetrs, cgetrf, cpotrf, ctrsm, cblas_cdotu_sub, cblas_cdotc_sub) when BUILD_COMPLEX16 is set without BUILD_COMPLEX, but the single precision complex members of gotoblas_t are all inside #if (BUILD_COMPLEX==1) in common_param.h.

I'm working around it with CBLASOBJS= on the make command line, which is fine for us because nothing we link needs those objects. I don't know whether the right fix is to enable those members or to drop the objects, so I haven't attempted one.

Seen on 0.3.34 and current develop, with MSYS2 MinGW-w64 gcc 16.1.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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