RTEMS 4.11.0 build fails on Windows

Chris Johns chrisj at rtems.org
Thu Apr 13 03:58:05 UTC 2017


On 13/04/2017 12:19, Linda Huxley wrote:
> Thanks Chris,
>
>> What `prefix` did you supply to the RSB `sb-set-builder` command?
>
> Here is my command line:
>
> $ ../source-builder/sb-set-builder \
>     --prefix=/opt/rtems/4.11.0 4.11/rtems-sparc --jobs=none
>

That looks fine.

>>> So I created the "/c/opt/rtems/4.11.0/bin" directory and I copied the
>>> contents of the other bin directory into it.
>>
>> This is what the RSB does, but it only does it if there are no errors.
>>
>> I am confused why you need to do this, the RSB should complete with an
>> installed set of tools.
>
> I didn't see any error messages.  The build on the terminal ended with
> this:
>
> building: sparc-rtems4.11-kernel-4.11.0-1
> reporting: tools/rtems-kernel-4.11.cfg ->
> sparc-rtems4.11-kernel-4.11.0-1.txt
> reporting: tools/rtems-kernel-4.11.cfg ->
> sparc-rtems4.11-kernel-4.11.0-1.xml
> installing: expat-2.1.0-x86_64-w64-mingw32-1 -> C:\msys64\opt\rtems\4.11.0
> installing: sparc-rtems4.11-binutils-2.26-x86_64-w64-mingw32-1 ->
> C:\msys64\opt\rtems\4.11.0
> installing:
> sparc-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-w64-mingw32-1 ->
> C:\msys64\opt\rtems\4.11.0
> installing: sparc-rtems4.11-gdb-7.9-x86_64-w64-mingw32-1 ->
> C:\msys64\opt\rtems\4.11.0
> installing: rtems-tools-4.11.0-1 -> C:\msys64\opt\rtems\4.11.0
> installing: sparc-rtems4.11-kernel-4.11.0-1 -> C:\msys64\opt\rtems\4.11.0
> cleaning: expat-2.1.0-x86_64-w64-mingw32-1
> cleaning: sparc-rtems4.11-binutils-2.26-x86_64-w64-mingw32-1
> cleaning:
> sparc-rtems4.11-gcc-4.9.3-newlib-2.2.0.20150423-x86_64-w64-mingw32-1
> cleaning: sparc-rtems4.11-gdb-7.9-x86_64-w64-mingw32-1
> cleaning: rtems-tools-4.11.0-1
> cleaning: sparc-rtems4.11-kernel-4.11.0-1
> Build Set: Time 2:23:37.136150
> /c/opt/rtems/4.11.0/rtems $

It looks fine. The 4.11.0 release only lasted a day or so before we made 
4.11.1 because of an error in the release.

>
>> I have just uploaded RTEMS 4.11.2-rc4 and I suggest you use this. I
>> attach a picture of the build running a Windows10 machine. The
>> 4.11.2-rc4 contains the patch needed to build on Windows.
>
> OK, I'll try that next.
>

Great. It should be a better experience.

Chris


More information about the users mailing list