LLVM on openSUSE 15.1

Chris Johns chrisj at rtems.org
Tue Sep 24 06:17:36 UTC 2019


On 24/9/19 4:06 pm, Sebastian Huber wrote:
> Hello,
> 
> with the libedit development package mentioned by Gedare, 

Thank you for testing this.

> I got a bit further in the build:
> 
> onfig: tools/rtems-llvm-8.0.1.cfg
> package: rtems-llvm-8.0.1-x86_64-linux-gnu-1
> building: rtems-llvm-8.0.1-x86_64-linux-gnu-1
> error: building rtems-llvm-8.0.1-x86_64-linux-gnu-1
> Build FAILED
> error: failure to create error report
> Build Set: Time 0:34:28.127871
> Traceback (most recent call last):
>   File "../source-builder/sb/cmd-set-builder.py", line 26, in <module>
>     setbuilder.run()
>   File "/scratch/git-rtems-source-builder/source-builder/sb/setbuilder.py", line
> 732, in run
>     b.build(deps, mail = mail)
>   File "/scratch/git-rtems-source-builder/source-builder/sb/setbuilder.py", line
> 473, in build
>     self.build_package(configs[s], b)
>   File "/scratch/git-rtems-source-builder/source-builder/sb/setbuilder.py", line
> 258, in build_package
>     _build.make()
>   File "/scratch/git-rtems-source-builder/source-builder/sb/build.py", line 579,
> in make
>     self._generate_report_('Build: %s' % (gerr))
>   File "/scratch/git-rtems-source-builder/source-builder/sb/build.py", line 126,
> in _generate_report_
>     self.opts, header, footer)
>   File "/scratch/git-rtems-source-builder/source-builder/sb/ereport.py", line
> 56, in generate
>     l.write(os.linesep.join(r))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 156:
> ordinal not in range(128)

This looks like a bug in the RSB. Hmmm I will need to think of a way to create
this problem so I can fix it.

> The build error was:
> 
> /scratch/git-rtems-source-builder/rtems/build/rtems-llvm-8.0.1-x86_64-linux-gnu-1/llvm-8.0.1/tools/lldb/source/Core/IOHandler.cpp:14:10:
> fatal error: panel.h: No such file or directory
>  #include <panel.h>
>           ^~~~~~~~~
> compilation terminated.
> 
> This looks like an openSUSE problem:
> 
> https://build.opensuse.org/package/view_file/openSUSE:Leap:42.2/llvm/lldb-cmake.patch?expand=0

I am starting to wonder if lldb is a step to far for us at this point in time.
Enabling it has exposed these issues. If I disable it so the tools build we can
concentrate on building and running RTEMS and once we have that sorted we can
come back to lldb. Maybe things will have improved by them.

Chris



More information about the devel mailing list