Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#3931 accepted task

Upstream support for RTEMS backend in Clang/LLVM

Reported by: Hesham Almatary Owned by: Hesham Almatary
Priority: normal Milestone:
Component: unspecified Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: #3930

Description

Currently, Clang/LLVM don't have support for RTEMS as a backend. I have pending support that I am planning to submit to Clang/LLVM upstream [1].

[1] https://github.com/CTSRD-CHERI/llvm-project/commits?author=heshamelmatary

Change History (7)

comment:1 Changed on 04/05/20 at 17:37:34 by Hesham Almatary

Blocking: 3930 added

comment:2 Changed on 04/05/20 at 17:38:28 by Hesham Almatary

Component: adminunspecified

comment:3 Changed on 04/05/20 at 17:53:15 by Hesham Almatary

Status: assignedaccepted

comment:4 Changed on 04/05/20 at 18:29:38 by Joel Sherrill

What happened to the code I submitted years ago?

comment:5 Changed on 04/05/20 at 18:34:12 by Hesham Almatary

Joel, can you please provide a reference to your code? AFAIK, the current LLVM upstream doesn't have RTEMS backend anymore [1], hence it won't understand something like "-target riscv64-unknown-rtems5." We had to add that [2] to our fork.

[1] https://github.com/llvm/llvm-project/tree/master/clang/lib/Driver/ToolChains
[2] https://github.com/CTSRD-CHERI/llvm-project/blob/master/clang/lib/Driver/ToolChains/RTEMS.cpp

comment:6 Changed on 04/05/20 at 18:52:49 by Joel Sherrill

http://lists.llvm.org/pipermail/cfe-dev/2011-June/015897.html appears to be where I posted the patches. I thought they got merged but could be wrong. It is also possible there is no value in them after this long.

If you can't find them searching for me in the git log, I probably all the emails in my archives :)

comment:7 in reply to:  6 Changed on 04/05/20 at 19:09:36 by Hesham Almatary

Replying to Joel Sherrill:

http://lists.llvm.org/pipermail/cfe-dev/2011-June/015897.html appears to be where I posted the patches. I thought they got merged but could be wrong. It is also possible there is no value in them after this long.

If you can't find them searching for me in the git log, I probably all the emails in my archives :)

I did a simple "git log --author="Joel Sherrill" but unfortunately didn't find any results.

Note: See TracTickets for help on using tickets.