RSB builds single-threaded Newlib by default?

Linda Huxley lhuxley at shaw.ca
Tue Apr 18 03:20:48 UTC 2017


Hi Chris,

 > I assume you are building RTEMS by hand.

I'm not sure what that means.  These are the commands that I issued 
after successfully building the 4.11.2-rc4 tools using rsb:

$ export PATH=/c/opt/rtems/r4.11.2/bin:$PATH
$ cd /c/opt/rtems
$ mkdir kernel
$ cd kernel
$ git clone git://git.rtems.org/rtems.git rtems
$ cd rtems
$ ./bootstrap -c && ./bootstrap -p && \
   /c/opt/rtems/r4.11.2/source-builder/sb-bootstrap
$ cd ..
$ mkdir erc32
$ cd erc32
$ /c/opt/rtems/kernel/rtems/configure --prefix=/c/opt/rtems/r4.11.2 \
   --target=sparc-rtems4.11 --enable-rtemsbsp=erc32 --enable-posix
$ make -j 1

 > Which RTEMS did you download?

Again, I'm not sure what you're asking.  I just followed the 
instructions in the Quick Start section of the RTEMS User Manual.  Is 
this what you're asking for?

$ git clone git://git.rtems.org/rtems.git rtems

 > What is the `configure` command line?

Is this what you're looking for?

$ /c/opt/rtems/kernel/rtems/configure --prefix=/c/opt/rtems/r4.11.2 \
   --target=sparc-rtems4.11 --enable-rtemsbsp=erc32 --enable-posix

Regards,

Linda

On 2017-04-17 20:03, Chris Johns wrote:
> On 17/04/2017 09:55, Linda Huxley wrote:
>>
>>> What does `sparc-rtems4.11-gcc --version` report?
>>
>> /c/opt/rtems/r4.11.2/bin $ sparc-rtems4.11-gcc --version
>> sparc-rtems4.11-gcc.exe (GCC) 4.9.3 20150626 (RTEMS 4.11, RSB no-repo,
>> Newlib 2.2.0.20150423)
>> Copyright (C) 2015 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There
>> is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>>
>> also:
>>
>> /c/opt/rtems/r4.11.2/bin $ sparc-rtems4.11-gcc -v
>> Using built-in specs.
>> COLLECT_GCC=C:\opt\rtems\r4.11.2\bin\sparc-rtems4.11-gcc.exe
>> COLLECT_LTO_WRAPPER=c:/opt/rtems/r4.11.2/bin/../libexec/gcc/sparc-rtems4.11/4.9.3/lto-wrapper.exe
>>
>>
>> Target: sparc-rtems4.11
>> Configured with: ../gcc-4.9.3/configure --prefix=/C/opt/rtems/r4.11.2
>> --bindir=/C/opt/rtems/r4.11.2/bin --exec_prefix=/C/opt/rtems/r4.11.2
>> --includedir=/C/opt/rtems/r4.11.2/include
>> --libdir=/C/opt/rtems/r4.11.2/lib
>> --libexecdir=/C/opt/rtems/r4.11.2/libexec
>> --mandir=/C/opt/rtems/r4.11.2/share/man
>> --infodir=/C/opt/rtems/r4.11.2/share/info
>> --datadir=/C/opt/rtems/r4.11.2/share --build=x86_64-w64-mingw32
>> --host=x86_64-w64-mingw32 --target=sparc-rtems4.11
>> --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose
>> --with-newlib --with-system-zlib --disable-nls
>> --without-included-gettext --disable-win32-registry
>> --enable-version-specific-runtime-libs --disable-lto
>> --enable-newlib-io-c99-formats --enable-newlib-iconv
>> --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258
>>
>> --enable-threads --disable-plugin --enable-libgomp
>> --enable-languages=c,c++
>> Thread model: rtems
>> gcc version 4.9.3 20150626 (RTEMS 4.11, RSB no-repo, Newlib
>> 2.2.0.20150423) (GCC)
>>
>
> These look good.
>
> FYI the 'RSB no-repo' is something I need to check on. It is not related
> to you or anything you have done.
>
>>> Do you have just the one set of tools installed?
>>
>> Yes.  I just searched my entire disk for "rtems" (to make sure that
>> there were no remaining files from MSYS2 redirecting my builds to other
>> locations).  There is nothing that isn't in my /c/opt/rtems tree. Before
>> building 4.11.2-rc4, I deleted everything in my /c/opt/rtems tree so
>> that I could get a clean build.
>>
>> Also, I still have the MSYS2 MINGW64 shell open that I used for my
>> 4.11.2-rc4 rsb and kernel builds:
>>
>> /c/opt/rtems/r4.11.2/bin $ echo $PATH
>> /c/opt/rtems/r4.11.2/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
>>
>>
>
> These both look good.
>
> I assume you are building RTEMS by hand.
>
> Which RTEMS did you download?
>
> What is the `configure` command line?
>
> Chris
>



More information about the users mailing list