On Fri, Sep 15, 2017 at 4:53 PM, Gedare Bloom <ged...@rtems.org> wrote:
> Ah, thanks for the update Daniel! > > I recently saw someone on newlib mailing list say that the newlib can > be compiled by clang for the ARM processor now. > llvm/clang's disadvantage vs gcc is its support for as many architectures and older CPU variants. Given it a try for the arm but I would be surprised if it supports all of the CPU models we have BSPs for. Any idea on PowerPC status? I haven't checked that in a few years but they had a lack of maintainer issue then. I am really curious to find out how this works out. It would be nice to have RSB entries for the targets that work so we can at least try it for analysis and make it easier for us all to bang on it. Otherwise, it won't get used. --joel > > -Gedare > > On Fri, Sep 15, 2017 at 10:33 AM, Daniel Hellstrom <dan...@gaisler.com> > wrote: > > Hi, > > > > We did submit some SPARC patches to make RTEMS compile with LLVM during > May. > > One of the patches which was not accepted I believe Sebastian updated and > > pushed during end of July. We have not made any attempts rebuilding > since. > > At the time we ran the tests we were able to run most of the RTEMS > > test-suite with 20-25 failures or so if I recall correctly. However most > of > > them was not dependent on LLVM and fixed since in the RTEMS repository, > the > > others were fixed in the LLVM SPARC/LEON-REX backend. I recall that there > > were some potential problems with SPARC inline assembly in some cases > when > > building for LEON-REX (no surprise since it is not the same ISA..). > Also, we > > built newlib using LLVM. I'm not sure which kernel configurations we > > compiled for though. > > > > Since May we distribute a LLVM-4.0 toolchain with our bare-metal > > environment. During the coming months we plan to release a LLVM toolchain > > together with RCC-1.3.x. However we have some work to do on the front-end > > for RTEMS first and testing of course. We will have some LLVM specific > > documentation once released. > > > > Regards, > > Daniel > > > > > > On 2017-09-14 02:10, Joel Sherrill wrote: > > > > Daniel Hellstrom should ready speak up. They have it working for SPARC. I > > don't know if anything special is needed for other targets so it should > just > > be a matter of attempting it and seeing > > > > On Sep 13, 2017 6:46 PM, "Gedare Bloom" <ged...@rtems.org> wrote: > >> > >> I've seen some discussion about using clang to compile a few targets. > >> Is there any documentation about what is known to work/not work, and > >> any additional directions needed to be successful? > >> > >> -Gedare > >> _______________________________________________ > >> 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 > > > > >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel