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

Support aarch64 architecture in v2 #428

Open
ribose-jeffreylau opened this issue Jan 19, 2022 · 0 comments
Open

Support aarch64 architecture in v2 #428

ribose-jeffreylau opened this issue Jan 19, 2022 · 0 comments
Labels
bug enhancement macOS retracev2 Applies only to retrace v2

Comments

@ribose-jeffreylau
Copy link
Contributor

Description

The aarch64 architecture (e.g., in Apple M1 machines) should be supported in v2.

Steps

> ./autogen.sh
> ./configure --enable-v2
> make

Expected result

It builds without errors in Apple M1 machines.

Actual result

It builds with errors in Apple M1 machines.

Sample trace:

funcs_symbols.S:277:1: note: while in macro instantiation
WRAPPER_ENTRY_SYSTEM_V pthread_join
^
<instantiation>:60:11: error: invalid operand
addq $80, %rsp
          ^
funcs_symbols.S:277:1: note: while in macro instantiation
WRAPPER_ENTRY_SYSTEM_V pthread_join
^
<instantiation>:61:1: error: unrecognized instruction mnemonic, did you mean: eret, ret?
retq
^
funcs_symbols.S:277:1: note: while in macro instantiation
WRAPPER_ENTRY_SYSTEM_V pthread_join
^
<instantiation>:5:7: error: unknown token in expression
pushq %rsp
      ^
funcs_symbols.S:278:1: note: while in macro instantiation
WRAPPER_ENTRY_SYSTEM_V pthread_key_create
^
<instantiation>:5:7: error: invalid operand
pushq %rsp
      ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement macOS retracev2 Applies only to retrace v2
Projects
None yet
Development

No branches or pull requests

1 participant