<div dir="ltr"><div>These are the last few lines of the report:</div><div><br></div><div>bindir=/home/richi/quick-start/LatestMaster/rtems/6/bin --exec-prefix=/home/richi/quick-start/LatestMaster/rtems/6 --includedir=/home/richi/quick-start/LatestMaster/rtems/6/include --libdir=/home/richi/quick-start/LatestMaster/rtems/6/lib --mandir=/home/richi/quick-start/LatestMaster/rtems/6/share/man --infodir=/home/richi/quick-start/LatestMaster/rtems/6/share/info --disable-shared<br>checking build system type... x86_64-pc-linux-gnu<br>checking host system type... x86_64-pc-linux-gnu<br>checking how to print strings... printf<br>checking for x86_64-linux-gnu-gcc... gcc -O2 -g -pipe -I/home/richi/quick-start/LatestMaster/src/rsb/rtems/build/tmp/sb-1000/6/rtems-arm/home/richi/quick-start/LatestMaster/rtems/6/include<br>checking whether the C compiler works... no<br>configure: error: in `/home/richi/quick-start/LatestMaster/src/rsb/rtems/build/expat-2.1.0-x86_64-linux-gnu-1/expat-2.1.0':<br>configure: error: C compiler cannot create executables<br>See `config.log' for more details<br>shell cmd failed: /bin/sh -ex /home/richi/quick-start/LatestMaster/src/rsb/rtems/build/expat-2.1.0-x86_64-linux-gnu-1/do-build<br>error: building expat-2.1.0-x86_64-linux-gnu-1<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 29, 2021 at 1:11 PM Richi Dubey <<a href="mailto:richidubey@gmail.com">richidubey@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I ran the following commands</div><div><br></div><div>mkdir -p $HOME/quick-start/LatestMaster/src<br>cd $HOME/quick-start/LatestMaster/src</div><div>git clone <a href="https://github.com/RTEMS/rtems-source-builder.git" target="_blank">https://github.com/RTEMS/rtems-source-builder.git</a> rsb<br>git clone <a href="https://github.com/RTEMS/rtems.git" target="_blank">https://github.com/RTEMS/rtems.git</a><br>cd $HOME/quick-start/LatestMaster/src/rsb/rtems</div><div>../source-builder/sb-set-builder --prefix=$HOME/quick-start/LatestMaster/rtems/6 6/rtems-arm</div><div><br></div><div>but it fails.:</div><div>.</div><div>.</div><div>.</div><div>package: expat-2.1.0-x86_64-linux-gnu-1<br>building: expat-2.1.0-x86_64-linux-gnu-1<br>error: building expat-2.1.0-x86_64-linux-gnu-1<br>Build FAILED<br> See error report: rsb-report-expat-2.1.0-x86_64-linux-gnu-1.txt<br>error: building expat-2.1.0-x86_64-linux-gnu-1<br>Build Set: Time 0:00:15.413288<br>Build FAILED<br></div><div><br></div><div>I have attached the report. I think it has something to do with my GCC? I update it to 11 as well, but I still get the error.</div><div><br></div><div>Gcc details:</div><div>------------------------------------------------------<br></div><div>sudo update-alternatives --config gcc<br>There are 5 choices for the alternative gcc (providing /usr/bin/gcc).<br><br> Selection Path Priority Status<br>------------------------------------------------------------<br>* 0 /usr/bin/gcc-11 110 auto mode<br> 1 /usr/bin/gcc-10 100 manual mode<br> 2 /usr/bin/gcc-11 110 manual mode<br> 3 /usr/bin/gcc-7 70 manual mode<br> 4 /usr/bin/gcc-8 80 manual mode<br> 5 /usr/bin/gcc-9 70 manual mode<br><br>Press <enter> to keep the current choice[*], or type selection number: <br>richi@YouAreAmazing:~$ gcc -v<br>Using built-in specs.<br>COLLECT_GCC=gcc<br>COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper<br>OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa<br>OFFLOAD_TARGET_DEFAULT=1<br>Target: x86_64-linux-gnu<br>Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.1.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --disable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-YRKbe7/gcc-11-11.1.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-YRKbe7/gcc-11-11.1.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>Thread model: posix<br>Supported LTO compression algorithms: zlib zstd<br>gcc version 11.1.0 (Ubuntu 11.1.0-1ubuntu1~18.04.1)<br></div><div><br></div><div>------------------------------------------------------</div><div><br></div><div><br></div><div>Can someone please help me out with this?</div><div><br></div><div>Thanks.</div></div>
</blockquote></div>