Failed to build rtems 5.1 by rsb under debian 11 with LLVM DebugInfo enabled
起飞的老杨sprhawk
sprhawk at gmail.com
Fri Jul 1 13:13:45 UTC 2022
Yes, it is indeed.
But I see in every llvm-9, llvm-11, llvm-15, they all have the same
definitions
415 void ELFFile<ELFT>::getRelocationTypeName(uint32_t Type,
416 SmallVectorImpl<char>
&Result) const {
417 if (!isMipsELF64()) {
418 StringRef Name = getRelocationTypeName(Type);
419 Result.append(Name.begin(), Name.end());
So I think they may not be an error to LLVM, or it may be some
incompatibility to gcc + llvm?
On Fri, Jul 1, 2022 at 8:36 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 01.07.22 10:38, 起飞的老杨sprhawk wrote:
> > Hello there. I'm building rtems 5.1 arm toolchain under debian 11. I got
> > errors when building rtems-tools. Because I installed LLVM, the
> > configure script checked llvm and 'llvm/DebugInfo/Symbolize/Symbolize.h'
> > and added |LIB_LLVM|, but during build process, it reports build error
> > with log as an attachment
> > I checked |/usr/lib/llvm-11/include/llvm/Object/ELF.h|, StringRef
> > defines interator as |const char *|,, while SmallVector Template defined
> > in functions has |<char>|
>
> Is this a problem with the LLVM installation? The error seems to be in
> the LLVM provided header files?
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax: +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20220701/d6e1212d/attachment.htm>
More information about the users
mailing list