[PATCH 0/0] Clang/LLVM for RTEMS Waf Build

Joel Sherrill joel at rtems.org
Fri Apr 10 14:38:33 UTC 2020


On Fri, Apr 10, 2020 at 7:24 AM suyash singh <suyashsingh234 at gmail.com>
wrote:

> Hello,
>
>  As part of my proposed Gsoc,
>
> I am trying to integrate clang static analyzer and UBSan in rtems.
>
> Both of them work with the build process of a project
>

We should likely start a new thread for discussing the GSoC project.

I think if it makes sense for your GSoC Project to be more forward looking
and focus on the new build system. Soon after we branch for the release, I
assume Sebastian will switch us to his new build system. With any luck,
this will be before your coding period starts. His work is on a branch in
his personal repository at git.rtems.org.

I seem to be drawn to static analysis and warnings. I have seen some
articles on tools that claim to fix bugs and I have thought about
contacting them and seeing if their tools can propose solutions to our
warnings and static analysis issues.

>
>
>
> On Fri, Apr 10, 2020, 5:23 PM Hesham Almatary <
> hesham.almatary at cl.cam.ac.uk> wrote:
>
>> Hello Suyash,
>>
>> These patches aren't for upstream RTEMS, so it's not relevant to your
>> project/query.
>>
>> That said, I am not sure what you are trying to do. Are you trying to
>> build/cross-compile RTEMS itself with Clang?
>>
>> On Fri, 10 Apr 2020 at 12:17, suyash singh <suyashsingh234 at gmail.com>
>> wrote:
>>
>>> Now I can run scan-build from clang/llvm?
>>>
>>> Earlier I got error
>>> [image: image.png]
>>>
>>> In earlier mail you suggested me to use
>>> [1] https://github.com/CTSRD-CHERI/llvm-project
>>> [2]
>>> https://github.com/RTEMS/rtems/blob/d582d0e130a463842e27070a2e85ebc1acc7b71f/bsps/riscv/riscv/config/rv32iac_clang.cfg#L8
>>>
>>> to build RISC-V
>>>
>>> On Fri, Apr 10, 2020 at 4:09 PM Hesham Almatary <
>>> hesham.almatary at cl.cam.ac.uk> wrote:
>>>
>>>> Hello,
>>>>
>>>> The following set of patches are a few fixes and added support to
>>>> build RTEMS with Clang/LLVM from the new Waf build system, with RISC-V
>>>> as the main target architecture.
>>>>
>>>> Best,
>>>> Hesham
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel at rtems.org
>>>> http://lists.rtems.org/mailman/listinfo/devel
>>>>
>>> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200410/d5fac47a/attachment.html>


More information about the devel mailing list