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

Build on arm64 + Linux: undefined reference to `__folly_memcpy_aarch64' #12450

Open
zhztheplayer opened this issue Feb 26, 2025 · 0 comments · May be fixed by #12463 or #12451
Open

Build on arm64 + Linux: undefined reference to `__folly_memcpy_aarch64' #12450

zhztheplayer opened this issue Feb 26, 2025 · 0 comments · May be fixed by #12463 or #12451
Labels
build triage Newly created issue that needs attention.

Comments

@zhztheplayer
Copy link
Contributor

zhztheplayer commented Feb 26, 2025

Problem description

The following error occurs when building Velox on GitHub-hosted Ubuntu arm64 runner:

2025-02-25T14:44:28.9768977Z ld: /home/runner/work/velox4j/velox4j/src/main/cpp/build/dist/lib/libfolly.so.0.58.0-dev: undefined reference to `__folly_memcpy_aarch64'
2025-02-25T14:44:28.9775911Z ld: /home/runner/work/velox4j/velox4j/src/main/cpp/build/dist/lib/libfolly.so.0.58.0-dev: undefined reference to `__folly_memmove_aarch64'
2025-02-25T14:44:28.9790740Z ld: /home/runner/work/velox4j/velox4j/src/main/cpp/build/dist/lib/libfolly.so.0.58.0-dev: undefined reference to `__folly_memcpy_aarch64_sve'
2025-02-25T14:44:28.9831022Z ld: /home/runner/work/velox4j/velox4j/src/main/cpp/build/dist/lib/libfolly.so.0.58.0-dev: undefined reference to `__folly_memcpy_aarch64_simd'
2025-02-25T14:44:28.9843564Z ld: /home/runner/work/velox4j/velox4j/src/main/cpp/build/dist/lib/libfolly.so.0.58.0-dev: undefined reference to `__folly_memmove_aarch64_simd'
2025-02-25T14:44:28.9870386Z ld: /home/runner/work/velox4j/velox4j/src/main/cpp/build/dist/lib/libfolly.so.0.58.0-dev: undefined reference to `__folly_memmove_aarch64_sve'

See velox4j's CI failure.

This is related to a known issue in folly: facebook/folly#2251.

The folly issue was resolved in facebook/folly@c30d49d which was included in folly release v2024.07.15.00. While currently Velox depends on v2024.07.01.00. A FBOS version bump may solve this Velox issue.

System information

GitHub hosted runner ubuntu-24.04-arm

@zhztheplayer zhztheplayer added build triage Newly created issue that needs attention. labels Feb 26, 2025
@zhztheplayer zhztheplayer changed the title Build on arm64: undefined reference to `__folly_memcpy_aarch64' Build on arm64 + ubuntu 24: undefined reference to `__folly_memcpy_aarch64' Feb 26, 2025
@zhztheplayer zhztheplayer changed the title Build on arm64 + ubuntu 24: undefined reference to `__folly_memcpy_aarch64' Build on arm64 + Ubuntu 24: undefined reference to `__folly_memcpy_aarch64' Feb 26, 2025
@zhztheplayer zhztheplayer changed the title Build on arm64 + Ubuntu 24: undefined reference to `__folly_memcpy_aarch64' Build on arm64 + Linux: undefined reference to `__folly_memcpy_aarch64' Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build triage Newly created issue that needs attention.
Projects
None yet
1 participant