Skip to content

Xtensa Clang fails to compile Nuttx (LLVM-252) #68

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
lucic71 opened this issue May 19, 2023 · 1 comment
Closed

Xtensa Clang fails to compile Nuttx (LLVM-252) #68

lucic71 opened this issue May 19, 2023 · 1 comment
Labels
Resolution: Done Status: Done Issue is done internally

Comments

@lucic71
Copy link

lucic71 commented May 19, 2023

Hi,

I was trying to compile Nuttx with the Clang fork provided in this repo and the following error is triggered:

/home/lucianp/git/nuttxspace/nuttx/include/arch/syscall.h:265:6: error: invalid operand for instruction
    "wsr a5, intset\n"
     ^
<inline asm>:2:9: note: instantiated into assembly here
wsr a5, intset

This code is part of sys_call2, but the error is triggered for all sys_call variants.

Note that I added -target xtensa to CFLAGS.

@tom-borcin tom-borcin changed the title Xtensa Clang fails to compile Nuttx Xtensa Clang fails to compile Nuttx May 23, 2023
@github-actions github-actions bot changed the title Xtensa Clang fails to compile Nuttx Xtensa Clang fails to compile Nuttx (LLVM-252) May 23, 2023
@gerekon
Copy link
Collaborator

gerekon commented Sep 1, 2023

Closed with 5073a51

@gerekon gerekon closed this as completed Sep 1, 2023
@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done and removed Status: In Progress work is in progress labels Sep 1, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Resolution: Done Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants