make lto-compress.o error & build recovery question

Alan Cudmore alan.cudmore at gmail.com
Tue Jan 24 22:53:23 UTC 2017


So far I have built the arm-rtems4.12 tools on WSL. It’s working on sparc-rtems4.12 now. 
Seems OK so far. 

Alan


> On Jan 24, 2017, at 5:34 PM, Karim, Hassan <hassan.karim at bison.howard.edu> wrote:
> 
> Those are the same packages I installed on one computer. I will confirm on the other.
> 
> Regards,
> Hassan Karim, CISSP
> Ph.D. Student
> Computer Science
> Howard University
> +1202-569-1012
> 
> On Jan 24, 2017 11:09 AM, "Alan Cudmore" <alan.cudmore at gmail.com <mailto:alan.cudmore at gmail.com>> wrote:
> Hi,
> By WLS, do you mean the Windows Subsystem for Linux?
> I was able to build a toolchain when it was first released. 
> I submitted this RSB doc patch, but I don’t know if it made it in:
> https://lists.rtems.org/pipermail/devel/2016-August/015866.html <https://lists.rtems.org/pipermail/devel/2016-August/015866.html>
> 
> As to how to resolve it, there should be a log file with a more specific error. From what I know, you do have to restart the build process. 
> I found that I had to install a few more packages than a standard Ubuntu install to get the toolchain to build. 
> 
> Here is what I had to install:
> $ sudo apt-get install autoconf automake bison flex binutils gcc \
> +g++ gdb texinfo unzip ncurses-dev python-dev git zlib1g-dev make
> 
> I’m going to try this again, to make sure I can still build my sparc and ARM tools. 
> 
> Alan
> 
> 
>> On Jan 24, 2017, at 10:44 AM, Karim, Hassan <hassan.karim at bison.howard.edu <mailto:hassan.karim at bison.howard.edu>> wrote:
>> 
>> Gurus:
>> I am trying to build RTEMS tool set on Ubuntu for WLS. Making progress. but then after several hours, build failed. I got the errors below. ANy idea how to resolve and better yet, how to not spend another 5 hrs getting to the point where the next issue pops up. In other words, do I have start from ground 0 everytime I encounter a bug?
>> 
>> 
>> make[2]: *** [lto-compress.o] Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> rm gcc.pod
>> make[2]: Leaving directory `/home/drhass/RTEMS/src/rtems-source-builder/rtems/build/sparc-rtems4.12-gcc-6.3.0-newlib-2.5.0-x86_64-linux-gnu-1/build/gcc'
>> make[1]: *** [all-gcc] Error 2
>> make[1]: Leaving directory `/home/drhass/RTEMS/src/rtems-source-builder/rtems/build/sparc-rtems4.12-gcc-6.3.0-newlib-2.5.0-x86_64-linux-gnu-1/build'
>> make: *** [all] Error 2
>> shell cmd failed: /bin/sh -ex  /home/drhass/RTEMS/src/rtems-source-builder/rtems/build/sparc-rtems4.12-gcc-6.3.0-newlib-2.5.0-x86_64-linux-gnu-1/doit
>> error: building sparc-rtems4.12-gcc-6.3.0-newlib-2.5.0-x86_64-linux-gnu-1
>> 
>> Regards,
>> 
>> Hassan Karim, CISSP
>> https://www.linkedin.com/in/hassankarimcissp <https://www.linkedin.com/in/hassankarimcissp> 
>> Comp Sci Ph.D. Student
>> Howard University
>> (202) 569-1012 <tel:(202)%20569-1012>_______________________________________________
>> users mailing list
>> users at rtems.org <mailto:users at rtems.org>
>> http://lists.rtems.org/mailman/listinfo/users <http://lists.rtems.org/mailman/listinfo/users>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170124/89314b42/attachment-0002.html>


More information about the users mailing list