Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bli_gemmsup_rd_haswell_asm_d6x8m.c:1296:1:error:bp cannot be used in ams here #790

Open
xqch1983 opened this issue Dec 25, 2023 · 3 comments

Comments

@xqch1983
Copy link

I configured parameters as bellow:

./configure --prefix=/tmpdata2/DevGroup/xieqingchun/tools/blis_lib -t openmp --enable-cblas CC=gcc CFLAGS=“-fomit-frame-pointer” haswell

how to avoid the build error by correct configuration? thanks

Then type "make " in terminal:

the error info as bellow:

kernels/haswell/3/sup/bli_gemmsup_rd_haswell_asm_d6x8m.c: In function 'bli_dgemmsup_rd_haswell_asm_6x4m' :
kernels/haswell/3/sup/bli_gemmsup_rd_haswell_asm_d6x8m.c:1296:1: error: bp cannot be used in asm here}

The configuration of my target server:
CPU
NUMA node(s): 2
model name: intel(R) Xeon(R) Gold 5218 CPU@ 2.30 GHZ , product info can be got by the link

@fgvanzee
Copy link
Member

Hmm, don't have access to a Xeon Gold, but I can't reproduce that error on my x86_64 workstation.

@devinamatthews
Copy link
Member

OS and compiler version?

@jedbrown
Copy link
Contributor

I hit this error in the default Arch Linux build because it now uses -fno-omit-frame-pointer as do many distributions now. The rationale, as desribed in the second link, is to facilitate full-system profiling. To reproduce on BLIS master,

$ ./configure CFLAGS='-fno-omit-frame-pointer' auto
$ make
[...]
kernels/haswell/3/sup/bli_gemmsup_rd_haswell_asm_d6x8m.c: In function ‘bli_dgemmsup_rd_haswell_asm_6x4m’:
kernels/haswell/3/sup/bli_gemmsup_rd_haswell_asm_d6x8m.c:1296:1: error: bp cannot be used in ‘asm’ here
 1296 | }
      | ^
compilation terminated due to -Wfatal-errors.
make: *** [Makefile:750: obj/haswell/kernels/haswell/3/sup/bli_gemmsup_rd_haswell_asm_d6x8m.o] Error 1
[... many more ...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants