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

Compiling Issues on AArch64 #99

Open
lrh12580 opened this issue Sep 21, 2021 · 2 comments
Open

Compiling Issues on AArch64 #99

lrh12580 opened this issue Sep 21, 2021 · 2 comments

Comments

@lrh12580
Copy link

Hi All,

I've got a compiling issue on one AArch 64 machine. The error message is

./tcmalloc/internal/percpu_tcmalloc.h:483:4: error: undefined named operand 'rseq_sig'

It seems that the RESQ support was added on Issue #50, but I am stilling get the compiling issues.

Does someone have met similar issues and be able to solve this?

Great Thanks!

@ckennelly
Copy link
Collaborator

Can you provide some more information about your compiler and which commit you're building from?

@Fllower
Copy link

Fllower commented Nov 2, 2022

ubuntu20.04,clang-12 arm64 error.
ld.lld: error: undefined symbol: __rseq_abi

referenced by percpu_rseq_aarch64.S:217 (../../third_party/tcmalloc/tcmalloc/internal/percpu_rseq_aarch64.S:217)
percpu_rseq_asm.o:(TcmallocSlab_Internal_PerCpuCmpxchg64) in archive obj/third_party/tcmalloc/tcmalloc/internal/libpercpu.a
referenced by percpu_rseq_aarch64.S:217 (../../third_party/tcmalloc/tcmalloc/internal/percpu_rseq_aarch64.S:217)
percpu_rseq_asm.o:(TcmallocSlab_Internal_PerCpuCmpxchg64) in archive obj/third_party/tcmalloc/tcmalloc/internal/libpercpu.a
referenced by percpu_rseq_aarch64.S:217 (../../third_party/tcmalloc/tcmalloc/internal/percpu_rseq_aarch64.S:217)
percpu_rseq_asm.o:(TcmallocSlab_Internal_PerCpuCmpxchg64) in archive obj/third_party/tcmalloc/tcmalloc/internal/libpercpu.a
referenced 9 more times
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)


@ckennelly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants