make lto-compress.o error & build recovery question
alan.cudmore at gmail.com
Wed Jan 25 00:55:28 UTC 2017
I was able to build both toolchains ( sparc and arm ) , compile RTEMS for arm/raspberrypi, and build an application with a waf makefile. Except for being very slow, it seems very compatible with Ubuntu.
If you build RTEMS with the test suite, you will also need to install pax ( sudo apt-get install pax ).
> On Jan 24, 2017, at 7:22 PM, Karim, Hassan <hassan.karim at bison.howard.edu> wrote:
> Ok. Thanks. I will retry
> Hassan Karim, CISSP
> Ph.D. Student
> Computer Science
> Howard University
> On Jan 24, 2017 5:53 PM, "Alan Cudmore" <alan.cudmore at gmail.com <mailto:alan.cudmore at gmail.com>> wrote:
> So far I have built the arm-rtems4.12 tools on WSL. It’s working on sparc-rtems4.12 now.
> Seems OK so far.
>> On Jan 24, 2017, at 5:34 PM, Karim, Hassan <hassan.karim at bison.howard.edu <mailto:hassan.karim at bison.howard.edu>> wrote:
>> Those are the same packages I installed on one computer. I will confirm on the other.
>> Hassan Karim, CISSP
>> Ph.D. Student
>> Computer Science
>> Howard University
>> +1202-569-1012 <tel:(202)%20569-1012>
>> On Jan 24, 2017 11:09 AM, "Alan Cudmore" <alan.cudmore at gmail.com <mailto:alan.cudmore at gmail.com>> wrote:
>> 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.
>>> On Jan 24, 2017, at 10:44 AM, Karim, Hassan <hassan.karim at bison.howard.edu <mailto:hassan.karim at bison.howard.edu>> wrote:
>>> 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: *** [lto-compress.o] Error 1
>>> make: *** Waiting for unfinished jobs....
>>> rm gcc.pod
>>> make: 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: *** [all-gcc] Error 2
>>> make: 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
>>> 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...
More information about the users