On Tue, Mar 2, 2021 at 4:36 PM Prateek Pardeshi <prateek...@zoho.com> wrote: > > Hi Gedare, > > ---- On Tue, 02 Mar 2021 22:19:26 +0530 Gedare Bloom <ged...@rtems.org> wrote > ---- > > > Hi Prateek, > > > > On Mon, Mar 1, 2021 at 10:31 PM Prateek Pardeshi <prateek...@zoho.com> > wrote: > > > > > > Hi everyone, > > > I have decided following projects to work on this Summer. Please let me > know about the scope of the project, whether it's feasible to work during > GSoC. > > > > > > > > > 1. https://devel.rtems.org/wiki/Developer/Projects/Open/UsingClang > > > > > > > > > > > > 2. Ticket 4182: https://devel.rtems.org/ticket/4182 > > > > > > Reason for choosing projects with LLVM: > > > I worked as a fellow under Dr.Michael Kruse, maintainer of LLVM > Compiler(Polly), also I am contributor at LLVM Compiler, specifically Polly, > which is a loop optimiser written in C language. I'm familiar with the LLVM > community and the working/debugging/building/issues of LLVM compiler. > > > Recently I worked on refabricating reference-counting used for memory > management to C++ binding. > > > This project will provide me an opportunity to work on something new > while contributing to the Open Source. > > > > > Super, and welcome. We now have a much-revised build system that > > should be better able to work with llvm. There are scattered efforts > > that have shown how to compile RTEMS with clang for a couple of > > targets (sparc, riscv), and it would be a great effort to try to unify > > the support and integrate to our development tools. > > > > We have a Python-based tool (RTEMS Source Builder (RSB)) for building > > host/cross compiler toolchains (and orchestrating other builds): > > https://git.rtems.org/rtems-source-builder/ > > > > Our documentation on the build system and RSB are fairly robust, and > > may be a good place for you to start building some knowledge: > > https://docs.rtems.org/branches/master/user/rsb/index.html > > https://docs.rtems.org/branches/master/user/bld/index.html > > > > We can probably get input from people who have managed to build a > > clang toolchain. I have run clang-analyzer over RTEMS as well in the > > past. It should be a good time now to get the llvm/clang > > infrastructure well-integrated to our development ecosystem. > > Thanks for your response. Is this idea appropriate enough to work during GSoC > or should I start exploring other Projects? >
I think it is appropriate. The actual work and scope may need to be refined a little more, based on what you find is already supported vs what does not work. But, to get a suite of llvm/clang "recipes" in RSB to build targets is a good first step, and then adding some of the sanitizer/fuzzer on top is a great extension. > > > > Looking forward to hear! > > > > > > Thanks & Regards, > > > Prateek Pardeshi > > > > > > _______________________________________________ > > > devel mailing list > > > devel@rtems.org > > > http://lists.rtems.org/mailman/listinfo/devel > > _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel