On 17/12/2019 07:46, Sebastian Huber wrote:


On 17/12/2019 07:31, Sebastian Huber wrote:
On 16/12/2019 23:34, Michael Davidsaver wrote:
On 12/4/19 8:58 PM, chr...@rtems.org wrote:
RTEMS Release Build - 5.0.0-m1912

RTEMS 5 Release snapshot m1912 is avaliable for testing.
It can be found at:

  https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912

Please test and report any issues to the u...@rtems.org or de...@rtems.org
mailing lists or please raise a ticket.

If you are part of the RTEMS testing program please build on your preferred
host posting build and BSP test results to bu...@rtems.org.

This is a development release and may have errors and be unstable.

Thanks
Chris

Building on a Debian 10 host I get a link error in the rtems-tools package involving LLVM. It looks like the build is using the host LLVM (deb llvm-dev 1:7.0-47).  Is this supposed to
be the case?

Thanks for testing the snapshot. I tried to build the rtems-tools on a Debian 10 of the GCC compile farm (gcc68), but it seems the LLVM development packages are not installed:
[...]
 From the resulting rsb-report-rtems-tools-5.0.0-m1912-1.txt:

Checking for 'gcc' (C compiler)          : /usr/bin/gcc
Checking for 'g++' (C++ compiler)        : /usr/bin/g++
Checking for 'gcc' (C compiler)          : /usr/bin/gcc
...
Checking for library LLVM                : not found
Checking for header llvm/DebugInfo/Symbolize/Symbolize.h : yes
Checking for library ws2_32                              : not found

It seems you have the header files, but no library was found. Maybe we should only build the LLVM dependent features if both everything is present.

It seems to be a bit more complicated:

https://lowlevelbits.org/building-an-llvm-based-tool.-lessons-learned/


Please have a look at:

https://lists.rtems.org/pipermail/devel/2019-December/056517.html

I was able to build it on Debian 10:

Checking for library LLVM                : yes
Checking for header llvm/DebugInfo/Symbolize/Symbolize.h : yes
Checking for library ws2_32                              : not found

sh@gcc68:~/rtems-tools$ ./build/trace/rtems-record-lttng --help
./build/trace/rtems-record-lttng [--host=HOST] [--port=PORT] [--limit=LIMIT] [--elf=ELF] [INPUT-FILE]

Mandatory arguments to long options are mandatory for short options too.
  -h, --help                 print this help text
  -H, --host=HOST            the host IPv4 address of the record server
  -p, --port=PORT            the TCP port of the record server
  -l, --limit=LIMIT          limit in bytes to process
  -e, --elf=ELF              the ELF executable file
  INPUT-FILE                 the input file

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to