Skip to content

openblas build fails on archlinux-latest-minimal, fedora-38-minimal #34899

@mkoeppe

Description

@mkoeppe

https://github.com/mkoeppe/sage/actions/runs/3853109922/jobs/6583067996

2023-01-07T17:31:18.8289483Z gcc -g -O2 -O2 -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=2 -DMAX_PARALLEL_NUMBER=1 -DUSE_TLS -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.21\" -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2 -DSMALL_MATRIX_OPT -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=2 -DMAX_PARALLEL_NUMBER=1 -DUSE_TLS -DBUILD_SINGLE=1 -DBUILD_DOUBLE=1 -DBUILD_COMPLEX=1 -DBUILD_COMPLEX16=1 -DVERSION=\"0.3.21\" -UASMNAME -UASMFNAME -UNAME -UCNAME -UCHAR_NAME -UCHAR_CNAME -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -Wl,-rpath-link,/sage/local/lib -L/sage/local/lib -Wl,-rpath,/sage/local/lib -Wl,-rpath-link,/sage/local/lib -L/sage/local/lib -Wl,-rpath,/sage/local/lib  -w -o linktest linktest.c ../libopenblasp-r0.3.21.so -L/sage/local/lib/../lib -L/sage/local/lib/../lib -L/sage/local/lib/gcc/x86_64-pc-linux-gnu/12.2.0 -L/sage/local/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/sage/local/lib -L/sage/local/lib -L/sage/local/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../..  -lgfortran -lm -lquadmath -lm -lc  && echo OK.
2023-01-07T17:31:18.8289656Z /usr/sbin/ld: /tmp/cc0ihrCo.o: in function `main':
2023-01-07T17:31:18.8289973Z /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:191: undefined reference to `iparam2stage_'
2023-01-07T17:31:18.8290308Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:192: undefined reference to `ilaenv2stage_'
2023-01-07T17:31:18.8290629Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:204: undefined reference to `spotri_'
2023-01-07T17:31:18.8290927Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:216: undefined reference to `dpotri_'
2023-01-07T17:31:18.8291237Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:228: undefined reference to `cpotri_'
2023-01-07T17:31:18.8291543Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:240: undefined reference to `zpotri_'
2023-01-07T17:31:18.8291843Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:241: undefined reference to `ilaenv_'
2023-01-07T17:31:18.8292197Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:242: undefined reference to `ieeeck_'
2023-01-07T17:31:18.8292494Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:243: undefined reference to `lsamen_'
2023-01-07T17:31:18.8292792Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:244: undefined reference to `iparmq_'
2023-01-07T17:31:18.8293104Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:245: undefined reference to `ilaprec_'
2023-01-07T17:31:18.8293414Z /usr/sbin/ld: /sage/local/var/tmp/sage/build/openblas-0.3.21/src/exports/linktest.c:246: undefined reference to `ilatrans_'
...

CC: @antonio-rojas

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/34899

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions