-
Notifications
You must be signed in to change notification settings - Fork 142
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
Error while running bench.sh for d_grpc on linux arm64 #303
Comments
Hi @odidev. This means that the server could not handle any request - you can see it in the status code distribution. There's not a single success. I admit the error message is rather cryptic. |
@LesnyRumcajs I think this issue is because of bench.sh failed to create d_grpc_bench conatiner while running the
I tried to create conatiner for d_grpc_bench but getting the below error:
Could you please share your pointers on the same. |
@odidev Have you tried installing the missing dependency? Something along the lines of |
Or perhaps only this one is needed. https://pkgs.org/download/libphobos2-ldc-shared90 |
@LesnyRumcajs I found that the image that I build for arm64 using dlang-docker for ldc require bin folder so I added it in the dockerfile after that the error related to Please have a look at the updated dockerfile: dockerfile
Now when I am trying to create container for d_grpc_bench I am getting the below error:
I tried the same on amd64, I built the image for dlang2/ldc-ubuntu of latest release 1.30.0 but getting same error on both arch while creating the container. Could you please share your feedback for the same? |
@LesnyRumcajs Could you please share your feedback regarding the above issue. |
Sorry, I was on vacation. This error would typically mean that you compiled the binary on a different platform. It would be best if you try to compile a minimal Hello World application in D using the official D lang Dockerfile on your machine. |
@LesnyRumcajs I have successfully compiled the Hello World application inside the docker container using the docker image that I built for arm64 by their official dockerfile. I have updated the variables in this dockerfile for building the dlang image. Please have a look at the logs:
Could you please share your feedback regarding the same. |
@LesnyRumcajs Could you please share your feedback regarding the above issue? |
Not at the moment. I'm a bit pushed for time, and it'd require a longer investigation. Sorry. |
@LesnyRumcajs, I was trying to run
d_grpc_bench
for arm64 locally but getting errors while build.sh and bench.sh.I did the below changes for running
build.sh
I found that the image dlang2/ldc-ubuntu:1.26.0 present in the dockerfile is not available for arm64. So, I build the image and updated it in the dockerfile but while building the image from dlang-docker, I have used ldc compiler for dlang because by default it uses dmd and dmd doesn’t support arm64 architecture. Please have a look https://dlang.org/download.html
when I ran
build.sh
, I was getting error related to dub command because the binary is not present for arm64. I found the binary on ubuntu.pkgs.org and updated it in the dockerfile.After that I ran build.sh again and getting
Error: The LLVMgold.so plugin (needed for LTO) was not found. You can specify its path with -flto-binary=<file>
. So, I modified thedub.json
file and added the-flto-binary
path that is"dflags-ldc": ["-flto=/usr/lib/llvm-10/lib/LLVMgold.so"]
Updated Dockerfile: dockerfile.txt
Now the build.sh for d_grpc_bench is running successfully but bench.sh is failing with the below errors.
Could you please share your feedback regarding the same.
The text was updated successfully, but these errors were encountered: