Skip to content

crc: Fix incorrect include path in gzip refl asm files. - #433

Open
thiagomacieira wants to merge 1 commit into
intel:masterfrom
thiagomacieira:crc_Fix_incorrect_include_path_in_gzip_refl_asm_files_
Open

thiagomacieira wants to merge 1 commit into
intel:masterfrom
thiagomacieira:crc_Fix_incorrect_include_path_in_gzip_refl_asm_files_

Conversation

@thiagomacieira

Copy link
Copy Markdown
Member

crc32_gzip_refl_avx2.asm and crc32_gzip_refl_by16_10.asm used %include "include/crc.inc" instead of %include "crc.inc" like every other file that includes crc.inc. The extra "include/" prefix breaks out-of-tree builds, since nasm resolves it against the -I ../include/ search path as ../include/include/crc.inc, which doesn't exist:

    crc/crc32_gzip_refl_avx2.s:54: error: unable to open include file `include/crc.inc': No such file or directory

crc32_gzip_refl_avx2.asm and crc32_gzip_refl_by16_10.asm used
%include "include/crc.inc" instead of %include "crc.inc" like every
other file that includes crc.inc. The extra "include/" prefix breaks
out-of-tree builds, since nasm resolves it against the -I ../include/
search path as ../include/include/crc.inc, which doesn't exist:

    crc/crc32_gzip_refl_avx2.s:54: error: unable to open include file `include/crc.inc': No such file or directory

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
@thiagomacieira
thiagomacieira force-pushed the crc_Fix_incorrect_include_path_in_gzip_refl_asm_files_ branch from 32d789a to ae8383c Compare September 15, 2026 16:59
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 this pull request may close these issues.

1 participant