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

Unable to build arm64 generate_bytecode_builtins_list #19089

Closed
maikoulin opened this issue Nov 24, 2021 · 9 comments
Closed

Unable to build arm64 generate_bytecode_builtins_list #19089

maikoulin opened this issue Nov 24, 2021 · 9 comments
Labels
area/build bug stale stalebot believes this issue/PR has not been touched recently

Comments

@maikoulin
Copy link

I'm encountering a strange error when building arm64(aarch64)

And during wee8 building, there is a strange error:

[130/1236] CXX obj/third_party/inspector_protocol/crdtp/cbor.o
[131/1236] LINK ./bytecode_builtins_list_generator
[132/1236] ACTION //:generate_bytecode_builtins_list(//build/toolchain/linux/unbundle:default)
FAILED: gen/builtins-generated/bytecodes-builtins-list.h
python ../../tools/run.py ./bytecode_builtins_list_generator gen/builtins-generated/bytecodes-builtins-list.h
Return code is -11

@maikoulin maikoulin added bug triage Issue requires triage labels Nov 24, 2021
@RyanTheOptimist RyanTheOptimist added area/build and removed triage Issue requires triage labels Nov 24, 2021
@RyanTheOptimist
Copy link
Contributor

RyanTheOptimist commented Nov 24, 2021

cc @lizan

@lizan
Copy link
Member

lizan commented Nov 30, 2021

What's your build environment? Are you using envoy-build container to build?

@maikoulin
Copy link
Author

Version: https://github.com/envoyproxy/envoy/archive/7f2d69f96843583d109082e89aecb6cd52365eb2.tar.gz
OS: Ubuntu 18.04.6 LTS
Architecture: ARM64

I tried to build envoy with the envoy-build-ubuntu image, and the final result was also this error.

@maikoulin
Copy link
Author

Same as in this question。
#17491

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Dec 30, 2021
@timonwong
Copy link
Contributor

Same as in this question。
#17491

Also #17100

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Jan 5, 2022
@timonwong
Copy link
Contributor

timonwong commented Jan 9, 2022

@maikoulin
As discussed in #17100, you can patch bazel/external/wee8.genrule_cmd

elif [[ $${ARCH} == "aarch64" || $${ARCH} == "arm64" ]]; then
  WEE8_BUILD_ARGS+=" target_cpu=\"arm64\""

  # Force align with 64k for aarch64
  export LDFLAGS="$${LDFLAGS-} -z max-page-size=0x10000"
fi

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Feb 8, 2022
@github-actions
Copy link

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build bug stale stalebot believes this issue/PR has not been touched recently
Projects
None yet
Development

No branches or pull requests

4 participants