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

cmake fail #691

Open
yunluoai opened this issue Dec 29, 2023 · 2 comments
Open

cmake fail #691

yunluoai opened this issue Dec 29, 2023 · 2 comments

Comments

@yunluoai
Copy link

yunluoai commented Dec 29, 2023

/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp: In function ‘void remill::{anonymous}::ExpandTo32AddImmAddCarry(remill::Instruction&, uint32_t, bool)’:
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp:729:20: error: ‘__builtin_rotateright32’ was not declared in this scope; did you mean ‘__builtin_copysignf32’?
  729 |     AddImmOp(inst, __builtin_rotateright32(unrotated_value, rotation_amount));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    __builtin_copysignf32
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp: In function ‘std::optional<long unsigned int> remill::{anonymous}::EvalShift(const remill::Operand::ShiftRegister&, std::optional<long unsigned int>)’:
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp:1079:14: error: ‘__builtin_rotateleft32’ was not declared in this scope; did you mean ‘__builtin_roundf32’?
 1079 |       return __builtin_rotateleft32(val, static_cast<uint32_t>(op.shift_size));
      |              ^~~~~~~~~~~~~~~~~~~~~~
      |              __builtin_roundf32
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp:1081:14: error: ‘__builtin_rotateright32’ was not declared in this scope; did you mean ‘__builtin_copysignf32’?
 1081 |       return __builtin_rotateright32(val, static_cast<uint32_t>(op.shift_size));
      |              ^~~~~~~~~~~~~~~~~~~~~~~
      |              __builtin_copysignf32
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp: At global scope:
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp:1457:1: sorry, unimplemented: non-trivial designated initializers not supported
 1457 | };
      | ^
@tetsuo-cpp
Copy link
Contributor

Hey @yunluoai, what compiler are you building with?

@thug-shaker

This comment was marked as abuse.

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