RTEMS Release Snapshot: 5.0.0-m1912 (05 Dec 2019)

Michael Davidsaver mdavidsaver at gmail.com
Mon Dec 16 22:34:56 UTC 2019


On 12/4/19 8:58 PM, chrisj at 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 user at rtems.org or devel at 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 build at 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?


> $ ../source-builder/sb-set-builder --prefix $HOME/source/rtems/usr --rtems-bsp i386/pc386 5/rtems-i386

omitting many (I think) unimportant downloading, building, cleaning lines

> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/autoconf-2.69.tar.gz -> sources/autoconf-2.69.tar.gz
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/automake-1.12.6.tar.gz -> sources/automake-1.12.6.tar.gz
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/automake-1.12.6-b...<see log> -> patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/expat-2.1.0.tar.gz -> sources/expat-2.1.0.tar.gz
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/gdb-8.3.tar.xz -> sources/gdb-8.3.tar.xz
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/binutils-2.33.1.tar.bz2 -> sources/binutils-2.33.1.tar.bz2
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/gcc-7.5.0.tar.xz -> sources/gcc-7.5.0.tar.xz
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/newlib-d14714c69.tar.gz -> sources/newlib-d14714c69.tar.gz
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/isl-0.16.1.tar.bz2 -> sources/isl-0.16.1.tar.bz2
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/mpfr-3.1.4.tar.bz2 -> sources/mpfr-3.1.4.tar.bz2
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/mpc-1.0.3.tar.gz -> sources/mpc-1.0.3.tar.gz
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/gmp-6.1.0.tar.bz2 -> sources/gmp-6.1.0.tar.bz2
> download: https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m1912/sources/rtems-tools-5.0.0-m1912.tar.xz -> sources/rtems-tools-5.0.0-m1912.tar.xz
> building: rtems-tools-5.0.0-m1912-1
> error: building rtems-tools-5.0.0-m1912-1

>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 
...
> [251/255] Linking build/trace/rtems-record-lttng
> /usr/bin/ld: trace/record/record-main-lttng.cc.1.o: in function `LTTNGClient::ResolveAddress(ClientItem const&)':
> /home/mdavidsaver/source/rtems/rtems-source-builder-5.0.0-m1912/rtems/build/rtems-tools-5.0.0-m1912-1/rtems-tools-5.0.0-m1912/build/../trace/record/record-main-lttng.cc:326: undefined reference to `llvm::symbolize::LLVMSymbolizer::symbolizeCode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, llvm::StringRef)'
> /usr/bin/ld: /home/mdavidsaver/source/rtems/rtems-source-builder-5.0.0-m1912/rtems/build/rtems-tools-5.0.0-m1912-1/rtems-tools-5.0.0-m1912/build/../trace/record/record-main-lttng.cc:338: undefined reference to `llvm::sys::path::filename(llvm::StringRef, llvm::sys::path::Style)'
> /usr/bin/ld: trace/record/record-main-lttng.cc.1.o: in function `llvm::symbolize::LLVMSymbolizer::~LLVMSymbolizer()':
> /usr/include/llvm/DebugInfo/Symbolize/Symbolize.h:57: undefined reference to `llvm::symbolize::LLVMSymbolizer::flush()'
> /usr/bin/ld: trace/record/record-main-lttng.cc.1.o: in function `LTTNGClient::~LTTNGClient()':
> /usr/include/llvm/DebugInfo/Symbolize/Symbolize.h:57: undefined reference to `llvm::symbolize::LLVMSymbolizer::flush()'
> /usr/bin/ld: trace/record/record-main-lttng.cc.1.o:(.data.rel+0x0): undefined reference to `llvm::DisableABIBreakingChecks'
> collect2: error: ld returned 1 exit status


More information about the users mailing list