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

Fails to build from source: crc64_ecma_norm_by8.S' No such file or directory #56

Closed
thiagomacieira opened this issue Oct 16, 2023 · 1 comment

Comments

@thiagomacieira
Copy link
Member

thiagomacieira commented Oct 16, 2023

Steps to reproduce:

mkdir build
cd build
../configure
make

Output:

$ gmake -j1 V=1 VERBOSE=1
gmake  all-am
gmake[1]: Entering directory '/home/tjmaciei/src/qatlib/build'
  CCAS     quickassist/lookaside/access_layer/src/common/compression/crc32_gzip_refl_by8.lo
nasm: fatal: unable to open input file `quickassist/lookaside/access_layer/src/common/compression/crc32_gzip_refl_by8.S' No such file or directory
gmake[1]: *** [Makefile:6845: crc32_gzip_refl_by8.lo] Error 1
gmake[1]: Leaving directory '/home/tjmaciei/src/qatlib/build'
gmake: *** [Makefile:1941: all] Error 2

The rule in the Makefile.am is probably wrong:

qatlib/Makefile.am

Lines 123 to 130 in 7429ee2

if !USE_CCODE_CRC
# Creating CRC libs from asm files using nasm with automake-like output
libcrc_SOURCES_DIR = quickassist/lookaside/access_layer/src/common/compression/
%.lo:
@echo " CCAS $(libcrc_SOURCES_DIR)$@"
@$(LIBTOOL) --mode=compile --quiet \
nasm -f elf64 -D LINUX -X gnu $(libcrc_SOURCES_DIR)$(@:.lo=.S) -I$(libcrc_SOURCES_DIR) -o $@ -prefer-non-pic
endif

@thiagomacieira thiagomacieira changed the title Fails to build from source: nasm: fatal: unable to open input file `quickassist/lookaside/access_layer/src/common/compression/crc64_ecma_norm_by8.S' No such file or directory Fails to build from source: crc64_ecma_norm_by8.S' No such file or directory Oct 16, 2023
thiagomacieira added a commit to thiagomacieira/qatlib that referenced this issue Oct 16, 2023
@gcabiddu
Copy link
Contributor

Anyway, this fix will be part of the next QATlib release.

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

Successfully merging a pull request may close this issue.

2 participants