bli_gemmsup_rd_haswell_asm_d6x8m.c:1296:1:error:bp cannot be used in ams here
xqch1983 opened this issue · comments
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
Hmm, don't have access to a Xeon Gold, but I can't reproduce that error on my x86_64 workstation.
OS and compiler version?
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 ...]