Bug 1873667

Summary: bfloat16 not defined in f77blas.h
Product: [Fedora] Fedora Reporter: R Jenssen <robertjenssen>
Component: openblasAssignee: Susi Lehtola <susi.lehtola>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: susi.lehtola
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openblas-0.3.10-5.fc32 openblas-0.3.10-5.fc31 openblas-0.3.10-5.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-01 19:30:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description R Jenssen 2020-08-29 00:21:40 UTC
Description of problem:
bfloat16 not defined in f77blas.h

Version-Release number of selected component (if applicable):
openblas-0.3.10-4.fc32.x86_64

How reproducible:
Compile SeDuMi mex files with Octave

Steps to Reproduce:
1.
2.
3.

Actual results:

---------------------------------------------------------------------------
SeDuMi installation script
   Directory: /usr/local/octave-5.2.0/share/octave/5.2.0-robj/site/m/SeDuMi
   Octave 5.2.0-robj on x86_64-pc-linux-gnu
---------------------------------------------------------------------------
Looking for existing binaries...none found; building...
Attempting to recompile the SeDuMi binaries:
Template: mex -O2 -DOCTAVE -Wall -I/usr/include/openblas %s 
   bwblkslv.mex:   bwblkslv.c sdmauxFill.c sdmauxRdot.c
In file included from blksdp.h:41,
                 from bwblkslv.c:45:
/usr/include/openblas/f77blas.h:476:5: error: unknown type name ‘bfloat16’; did you mean ‘_Float16’?
  476 |     bfloat16 *, blasint *, bfloat16 *, blasint *, float *, float *, blasint *);
      |     ^~~~~~~~
      |     _Float16

Expected results:


Additional info:
bfloat16 is a Brain floating point format defined by GCC ARM compilers.
I solved this by downgrading to openblas-0.3.9-2.fc32.x86_64

Comment 1 Susi Lehtola 2020-08-29 07:53:28 UTC
Opened upstream tracker
https://github.com/xianyi/OpenBLAS/issues/2801

Comment 2 Fedora Update System 2020-08-29 17:13:58 UTC
FEDORA-2020-8f0782e449 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-8f0782e449

Comment 3 Fedora Update System 2020-08-29 17:13:58 UTC
FEDORA-2020-a7b37f250b has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a7b37f250b

Comment 4 Fedora Update System 2020-08-29 17:13:59 UTC
FEDORA-2020-ae2aa2517d has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ae2aa2517d

Comment 5 Fedora Update System 2020-08-31 14:28:06 UTC
FEDORA-2020-ae2aa2517d has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ae2aa2517d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ae2aa2517d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-08-31 15:54:57 UTC
FEDORA-2020-8f0782e449 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-8f0782e449`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-8f0782e449

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-08-31 16:34:26 UTC
FEDORA-2020-a7b37f250b has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-a7b37f250b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a7b37f250b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-09-01 19:30:48 UTC
FEDORA-2020-8f0782e449 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-09-08 15:13:37 UTC
FEDORA-2020-a7b37f250b has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-09-25 16:38:42 UTC
FEDORA-2020-ae2aa2517d has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.