RSB fails for 4.10 and 4.9
Needell, Jerry
Jerry.Needell at unh.edu
Sat Feb 27 14:24:01 UTC 2016
This is just a final recap of my experiences with the RTEMS Source Builder in case anyone else is having similar problems - your mileage may vary…
all for SPARC architecture.
4.11 builds just fine as described on the wiki
bare (sparc-elf) builds just fine as described on the wiki
4.9 needs a few modifications ( and likely 4.10 but I concentrated on 4.9 for my tests)
As described on the wiki for 4.10 , 4.9 also needs texinfo-4.13
also I found that I had to install expat-devel
additional tweaks to .cfg files in config/tools:
modify rtems-gcc-4.3.2-newlib-1.16.0-1.cfg
change patch add “gcc" to patch add “newlib" for newlib line
modify rtems-kernel-4.9.6-1.cfg
add
%define rsb_released
With those changes, I am able to build a working toolset and RTEMS kernels for 4.9
Thanks again for the RSB - It is a wonderful tool
Jerry
> On Feb 27, 2016, at 8:04 AM, Needell, Jerry <jerry.needell at unh.edu> wrote:
>
> Progress:
> I am now able to build 4.9 vis the RSB
>
> I added:
> %define rsb_released
> to the rtems-kernel-4.9.6-1.cfg file
> and all became happy! It grabbed the .tar.bz file instead of using git and the build was able to complete.
>
>
> So for 4.9 at least a few .cfg tweaks are needed but it seems to work.
>
> Thanks for providing the RSB.
> BTW, I have also tried the “bare” build for sparc-elf is it works great!
>
> Jerry
>
>
>> On Feb 26, 2016, at 12:22 PM, Gerald Needell <jerry.needell at unh.edu> wrote:
>>
>> FYI there is an error in:
>> config/tools/rtems-gcc-4.3.2-newlib-1.16.0-1.cfg
>>
>>
>> the last patch add "gcc" should be patch add "newlib"
>>
>> Here is a corrected version:
>>
>> #
>> # GCC 4.3.1., Newlib 1.16.0
>> #
>>
>> %include %{_configdir}/checks.cfg
>> %include %{_configdir}/base.cfg
>>
>> %define gcc_version 4.3.2
>> %define newlib_version 1.16.0
>> %define mpfr_version 2.4.2
>> %define mpc_version 0.8.2
>> %define gmp_version 5.0.5
>>
>> %define with_threads 1
>> %define with_plugin 0
>> %define with_iconv 0
>>
>> #
>> # The RTEMS 4.9 patches
>> #
>> %source set gcc
>> ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_version}.tar.bz2
>> %patch add gcc
>> %{rtems_gcc_patches}/gcc-core-4.3.2-rtems4.9-20090825.diff
>> %source add gcc ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-g
>> ++-%{gcc_version}.tar.bz2
>> %patch add newlib
>> %{rtems_newlib_patches}/newlib-1.16.0-rtems4.9-20090324.diff
>>
>> #
>> # The gcc/newlib build instructions. We use 4.7 Release 1.
>> #
>> %include %{_configdir}/gcc-4.3-1.cfg
>>
>>
>>
>>
>> On Fri, 2016-02-26 at 17:13 +0000, Gerald Needell wrote:
>>> here is the full log for a 4.9 attempt.
>>> Note for 4.11 the kernel was not actually built but I don't seem to be
>>> able to prevent it from building for 4.9 or 4.10
>>>
>>>
>>>
>>> On Fri, 2016-02-26 at 10:54 -0600, Joel Sherrill wrote:
>>>>
>>>>
>>>> On Fri, Feb 26, 2016 at 10:36 AM, Gerald Needell
>>>> <jerry.needell at unh.edu> wrote:
>>>> I have been experimenting with the RTEMS Source Builder under
>>>> CENTOS7
>>>> 4.11 builds just fine as described on the wiki.
>>>>
>>>> I run into the same failure for 4.10 and 4.9
>>>> ( I have gotten past the texinfo issues ...)
>>>>
>>>> The problem appears to be with git trying to download the
>>>> rtems-kernel.
>>>>
>>>>
>>>>
>>>> Is there some extra step need for 4.10 or 4.9?
>>>>
>>>> Error messages:
>>>>
>>>> config: tools/rtems-kernel-4.10.2.cfg
>>>> package: sparc-rtems4.10-kernel-4.10.2-1
>>>> git: reset: git://git.rtems.org/rtems.git
>>>> git: checkout: git://git.rtems.org/rtems.git => 4.10.2
>>>> git: pull: git://git.rtems.org/rtems.git
>>>> error: git command failed (/usr/bin/git): 1
>>>> Build FAILED
>>>>
>>>>
>>>>
>>>> Are you behind a firewall that blocks git?
>>>>
>>>>
>>>> Is there a log file with more detail?
>>>>
>>>>
>>>> --joel
>>>>
>>>> Thanks
>>>> Jerry
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users at rtems.org
>>>> http://lists.rtems.org/mailman/listinfo/users
>>>>
>>>>
>>>
>>
>>
>
More information about the users
mailing list