docker-nginx-http3 icon indicating copy to clipboard operation
docker-nginx-http3 copied to clipboard

Build error at ninja: missing binary operator before token "("

Open noggynoggy opened this issue 1 year ago • 4 comments

uname -a: Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux Build Command: docker build . -t macbre/nginx-http3 -f Dockerfile

#0 16.56 ninja: job failed: /usr/bin/cc -DBORINGSSL_DISPATCH_TEST -DBORINGSSL_IMPLEMENTATION -I/usr/src/boringssl/crypto/fipsmodule/../../include -Wa,--noexecstack -Wa,-g -MD -MT crypto/fipsmodule/CMakeFiles/fipsmodule.dir/sha512-armv8-linux.S.o -MF crypto/fipsmodule/CMakeFiles/fipsmodule.dir/sha512-armv8-linux.S.o.d -o crypto/fipsmodule/CMakeFiles/fipsmodule.dir/sha512-armv8-linux.S.o -c /usr/src/boringssl/build/crypto/fipsmodule/sha512-armv8-linux.S
#0 16.56 /usr/src/boringssl/build/crypto/fipsmodule/sha512-armv8-linux.S:62:18: error: missing binary operator before token "("
#0 16.56    62 | #if __has_feature(hwaddress_sanitizer) && __clang_major__ >= 10
#0 16.56       |                  ^
#0 16.61 ninja: job failed: /usr/bin/cc -DBORINGSSL_DISPATCH_TEST -DBORINGSSL_IMPLEMENTATION -I/usr/src/boringssl/crypto/fipsmodule/../../include -Wa,--noexecstack -Wa,-g -MD -MT crypto/fipsmodule/CMakeFiles/fipsmodule.dir/sha256-armv8-linux.S.o -MF crypto/fipsmodule/CMakeFiles/fipsmodule.dir/sha256-armv8-linux.S.o.d -o crypto/fipsmodule/CMakeFiles/fipsmodule.dir/sha256-armv8-linux.S.o -c /usr/src/boringssl/build/crypto/fipsmodule/sha256-armv8-linux.S
#0 16.61 /usr/src/boringssl/build/crypto/fipsmodule/sha256-armv8-linux.S:62:18: error: missing binary operator before token "("
#0 16.61    62 | #if __has_feature(hwaddress_sanitizer) && __clang_major__ >= 10
#0 16.61       |                  ^
#0 37.55 ninja: subcommands failed

I'm unfortunately not proficient in the technologies used here. I'd be happy to provide more Information to resolve this problem.

noggynoggy avatar Jun 27 '23 10:06 noggynoggy

It can be an issue with building for a different architecture - namely Raspberry's aarch64 here. See #107 for the support different platforms.

macbre avatar Jun 28 '23 11:06 macbre

So, in other words, there is currently no support for other Architectures? That's unfortunate. I get the same error when I try to cross-build to build it on my desktop for arm/v8 (mind that I'm new to buildx)

noggynoggy avatar Jun 29 '23 08:06 noggynoggy

So, in other words, there is currently no support for other Architectures?

Yes, unfortunately.

macbre avatar Jun 29 '23 10:06 macbre

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 02 '24 13:09 github-actions[bot]