RSB 4.11.2-rc4 rtems-arm build fails on Windows

Linda Huxley lhuxley at shaw.ca
Fri Apr 21 11:14:37 UTC 2017


Hi Chris,

As requested, I sent a patch to devel at rtems.org.

Regards,

Linda

On 2017-04-21 00:11, Chris Johns wrote:
> On 21/04/2017 15:43, Linda Huxley wrote:
>> Hi Chris,
>>
>> It appears that the ARM GCC build sequence uses the following
>> configuration file:
>>
>> rtems-arm-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
>>
>> instead of:
>>
>> rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
>>
>> I don't see any other processor specific GCC configuration files in the
>> 4.11.2-rc4 rtems/config/tools directory.  (I am not very familiar with
>> this code, so perhaps I have missed something.)  But it would appear
>> that ARM was the only processor that was missed by your original MSYS2
>> fix to rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
>>
>> I added your code to the above mentioned ARM specific config file and
>> ran RSB on rtems-arm:
>>
>> #
>> # Fix for MSYS2 on Windows. See ticket #2990 for details.
>> #
>> %patch add gcc -p1
>> https://devel.rtems.org/raw-attachment/ticket/2990/gcc-4.9.3-20170404-1.patch
>>
>>
>> %hash  sha512 gcc-4.9.3-20170404-1.patch
>> c6402e578793e39869d0f3ba021922794e8ea30595286f63cbc9d32c5cb9ef1d9bb3be28f2a9127077d62a44f425f9c0685e3c22596aed67837fe2fcf8a09e71
>>
>>
>>
>> The build ran for 5.5 h (instead of 0.6 h) before failing.  The gcc
>> build completed without complaint, so I believe that the above fix or
>> something like it will solve that problem.
>>
>
> That is awesome.
>
> Are you able to make a patch and send it to the devel at rtems.org list?
>
>> The build trace ended with:
>>
>> package: arm-rtems4.11-kernel-4.11.2-rc4-1
>> building: arm-rtems4.11-kernel-4.11.2-rc4-1
>> error: building ark4r1
>> Build FAILED
>>   See error report: rsb-report-arm-rtems4.11-kernel-4.11.2-rc4-1.txt
>> error: building ark4r1
>> Build Set: Time 5:26:01.132583
>> Build FAILED
>>
>> The build report is attached.  The build appears to have failed
>> because of:
>>
>> arm-rtems4.11-gcc.exe: error:
>> ../../../../../../../../rtems-4.11.2-rc4/c/src/lib/libbsp/arm/altera-cyclone-v/hwlib/src/hwmgr/alt_16550_uart.c:
>>
>> No such file or directory
>> arm-rtems4.11-gcc.exe: fatal error: no input files
>>
>> The only copy of alt_16550_uart.c that I can find was here:
>>
>> /c/opt/rtems/r4.11.2/rtems/build/ark4r1/arm-rtems4.11-kernel-4.11.2-rc4-1-4.11.2-rc4/rtems-4.11.2-rc4/c/src/lib/libbsp/arm/altera-cyclone-v/hwlib/src/hwmgr/alt_16550_uart.c
>>
>>
>>
>> It seems that there may be a cross up in the path to that source file.
>>
>
> This is unusual. If you can make a patch for the compiler fix I can take
> a look in the coming days.
>
> Again thank you. This is really good and valuable work.
>
> Chris
>



More information about the users mailing list