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

zstd compiled failed #3

Open
123guozhiyu opened this issue Aug 28, 2023 · 1 comment
Open

zstd compiled failed #3

123guozhiyu opened this issue Aug 28, 2023 · 1 comment

Comments

@123guozhiyu
Copy link

/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:502:11: error: expected declaration specifiers or ‘...’ before ‘%’ token
502 | movq (%ip##n), %bits##n;
| ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:86:5: note: in expansion of macro ‘RELOAD_BITS’
86 | X(3)
| ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:525:5: note: in expansion of macro ‘FOR_EACH_STREAM’
525 | FOR_EACH_STREAM(RELOAD_BITS)
| ^~~~~~~~~~~~~~~
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:503:5: error: unknown type name ‘orq’
503 | orq $1, %bits##n;
| ^~~
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:86:5: note: in expansion of macro ‘RELOAD_BITS’
86 | X(3)
| ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:525:5: note: in expansion of macro ‘FOR_EACH_STREAM’
525 | FOR_EACH_STREAM(RELOAD_BITS)
| ^~~~~~~~~~~~~~~
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:503:13: error: expected identifier or ‘(’ before ‘%’ token
503 | orq $1, %bits##n;
| ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:86:5: note: in expansion of macro ‘RELOAD_BITS’
86 | X(3)
| ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:525:5: note: in expansion of macro ‘FOR_EACH_STREAM’
525 | FOR_EACH_STREAM(RELOAD_BITS)
| ^~~~~~~~~~~~~~~
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:504:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘%’ token
504 | shlxq %rax, %bits##n, %bits##n
| ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:86:5: note: in expansion of macro ‘RELOAD_BITS’
86 | X(3)
| ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:525:5: note: in expansion of macro ‘FOR_EACH_STREAM’
525 | FOR_EACH_STREAM(RELOAD_BITS)
| ^~~~~~~~~~~~~~~
lib/CMakeFiles/libzstd_static.dir/build.make:367: recipe for target 'lib/CMakeFiles/libzstd_static.dir/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S.o' failed
make[2]: *** [lib/CMakeFiles/libzstd_static.dir/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:168: recipe for target 'lib/CMakeFiles/libzstd_static.dir/all' failed
make[1]: *** [lib/CMakeFiles/libzstd_static.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2

zstd/1.5.5: ERROR:
Package '8969826c941f6515ea907b027537a12871ec4d58' build failed
zstd/1.5.5: WARN: Build folder /home/guo/.conan2/p/b/zstd73802e9128a93/b/build/Release


Recipe 'zstd/1.5.5' cannot build its binary
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
If it is your recipe, check if it is updated to 2.0


ERROR: zstd/1.5.5: Error in build() method, line 72
cmake.build()
ConanException: Error 2 while executing

@lzx1413
Copy link
Owner

lzx1413 commented Aug 28, 2023

Please provide you build environment and conan profile.

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

2 participants