Cross-compile vdso module for arm64 #1843
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Bin Lu bin.lu@arm.com
Today, I have cross-compiled the vdso module successsfully.
My test steps:
1, apt-get install -y build-essential crossbuild-essential-arm64
2, bazel build --config=aarch64 //vdso:vdso
3, check
root@entos-dell:/go/src/gvisor.dev/gvisor# file bazel-bin/vdso/vdso.so
bazel-bin/vdso/vdso.so: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[sha1]=2e6fd24a3b166da9a6b240bf3288e8828135b1f1, not stripped
Related issue:
#1709