RTEMS / Tools / RTEMS Source Builder

Go to Issues or Merge Requests


Issues

206 - Add a source and hash check to the get sources command

Id

206

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2026-08-18T01:10:43.761Z

Closed

2026-08-27T05:50:57.919Z

Updated

2026-08-27T05:50:58.043Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/206

Merges

0

Summary

Add a check of the sources and hashes when getting sources to make sure all files have a valid hash reference.

This is important when generating the catalog for use with the download cache.

Author: Chris Johns

2026-08-18T01:10:43.867Z

cloned from #205

Author: Chris Johns

2026-08-18T01:11:02.747Z

added rtems#15 as parent item

Author: Chris Johns

2026-08-18T01:20:00.119Z

mentioned in merge request !292

Author: Chris Johns

2026-08-21T03:56:12.480Z

set status to Done

Author: Chris Johns

2026-08-27T03:19:27.050Z

set status to To do

Author: Chris Johns

2026-08-27T03:19:48.962Z

The 6 branch is missing some changes on the 5 and main branches

Author: Chris Johns

2026-08-27T03:22:07.852Z

mentioned in merge request !297

Author: Chris Johns

2026-08-27T05:50:57.994Z

set status to Done

188 - spike does not compile and needs C version set (backport to 6 branch)

Id

188

State

closed

Type

ISSUE

Author

Joel Sherrill

Closed by

Chris Johns

Created

2026-05-21T14:47:28.322Z

Closed

2026-07-31T00:31:56.201Z

Updated

2026-07-31T00:31:56.270Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/188

Merges

0

Summary

The same version of spike is used on the 5, 6, and 7 branches. With recent host OS and compilers, it does not compile because it needs to explicitly include .

This patch spike-1.1.0-add-cstdint.h.diff addresses the issue.

Related to #186

Steps to reproduce

Build with recent host and gcc.

Author: Joel Sherrill

2026-05-21T14:47:28.424Z

set status to To do

Author: Joel Sherrill

2026-05-21T19:23:21.174Z

added rtems#15 as parent epic

Author: Joel Sherrill

2026-05-21T19:29:18.969Z

mentioned in merge request !260

Author: Joel Sherrill

2026-05-28T14:06:57.260Z

mentioned in merge request !263

Author: Chris Johns

2026-07-28T01:42:25.934Z

@joel Is this issue done?

Author: Chris Johns

2026-07-31T00:31:56.241Z

set status to Done

87 - Unable to build the BSP with Python 3.12

Id

87

State

closed

Type

ISSUE

Author

Giles Knap

Closed by

Chris Johns

Created

2025-02-04T09:00:46.456Z

Closed

2026-07-31T00:18:10.684Z

Updated

2026-07-31T00:18:10.748Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/87

Merges

0

Summary

On Ubuntu 24.04 (container) using python 3.12 I see the following error when doing waf configure

  #23 [developer 18/18] RUN ./waf configure --prefix=/rtems6-beatnik-legacy/rtems/6.1 --rtems-bsps=powerpc/beatnik &&     ./waf &&     ./waf install
  #23 0.196 /rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/pkgconfig.py:73: SyntaxWarning: invalid escape sequence '\\$'
  #23 0.196   mre = re.compile('\\$\\{[^\\}]+\\}')
  #23 0.240 Setting top to                           : /rtems6-beatnik-legacy/rtems-net-legacy-6.1
  #23 0.241 Setting out to                           : /rtems6-beatnik-legacy/rtems-net-legacy-6.1/build
  #23 0.241 RTEMS Version                            : 6
  #23 0.241 Architectures                            : powerpc-rtems6
  #23 0.241 Board Support Package (BSP)              : powerpc-rtems6-beatnik
  #23 0.241 Show commands                            : no
  #23 0.241 Long commands                            : no
  #23 0.241 Checking for program 'powerpc-rtems6-gcc' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-gcc
  #23 0.242 Checking for program 'powerpc-rtems6-g++' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-g++
  #23 0.242 Checking for program 'powerpc-rtems6-gcc' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-gcc
  #23 0.242 Checking for program 'powerpc-rtems6-ld'  : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ld
  #23 0.243 Checking for program 'powerpc-rtems6-ar'  : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ar
  #23 0.243 Checking for program 'powerpc-rtems6-nm'  : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-nm
  #23 0.243 Checking for program 'powerpc-rtems6-objdump' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-objdump
  #23 0.244 Checking for program 'powerpc-rtems6-objcopy' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-objcopy
  #23 0.245 Checking for program 'powerpc-rtems6-readelf' : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-readelf
  #23 0.245 Checking for program 'powerpc-rtems6-strip'   : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-strip
  #23 0.245 Checking for program 'powerpc-rtems6-ranlib'  : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ranlib
  #23 0.246 Checking for program 'rtems-ld'               : /rtems6-beatnik-legacy/rtems/6.1/bin/rtems-ld
  #23 0.246 Checking for program 'rtems-tld'              : /rtems6-beatnik-legacy/rtems/6.1/bin/rtems-tld
  #23 0.247 Checking for program 'rtems-syms'             : /rtems6-beatnik-legacy/rtems/6.1/bin/rtems-syms
  #23 0.247 Checking for program 'rtems-bin2c'            : /rtems6-beatnik-legacy/rtems/6.1/bin/rtems-bin2c
  #23 0.248 Checking for program 'tar'                    : /usr/bin/tar
  #23 0.250 Checking for program 'gcc, cc'                : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-gcc
  #23 0.272 Checking for program 'ar'                     : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ar
  #23 0.277 Checking for program 'g++, c++'               : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-g++
  #23 0.294 Checking for program 'ar'                     : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ar
  #23 0.298 Checking for program 'gas, gcc'               : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-gcc
  #23 0.300 Checking for program 'ar'                     : /rtems6-beatnik-legacy/rtems/6.1/bin/powerpc-rtems6-ar
  #23 0.301 Checking for c flags '-MMD'                   : yes
  #23 0.316 Checking for cxx flags '-MMD'                 : yes
  #23 0.333 Compiler version (powerpc-rtems6-gcc)         : 13.3.0 20240521 (RTEMS 6, RSB no-repo, Newlib 1b3dcfd)
  #23 0.334 Checking for a valid RTEMS BSP installation   : yes
  #23 0.475 Checking for RTEMS_DEBUG                      : no
  #23 0.528 Checking for RTEMS_MULTIPROCESSING            : no
  #23 0.581 Checking for RTEMS_NEWLIB                     : yes
  #23 0.720 Checking for RTEMS_POSIX_API                  : yes
  #23 0.861 Checking for RTEMS_SMP                        : no
  #23 0.912 Checking for RTEMS_NETWORKING                 : no
  #23 0.963 Configure variant:                            : powerpc-rtems6-beatnik
  #23 0.964 Checking version                              : Traceback (most recent call last):
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 122, in waf_entry_point
  #23 0.965     run_commands()
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 185, in run_commands
  #23 0.965     ctx=run_command(cmd_name)
  #23 0.965         ^^^^^^^^^^^^^^^^^^^^^
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Scripting.py", line 176, in run_command
  #23 0.965     ctx.execute()
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Configure.py", line 86, in execute
  #23 0.965     super(ConfigurationContext,self).execute()
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Context.py", line 92, in execute
  #23 0.965     self.recurse([os.path.dirname(g_module.root_path)])
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/.waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/waflib/Context.py", line 133, in recurse
  #23 0.965     user_function(self)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/wscript", line 69, in configure
  #23 0.965     rtems.configure(conf, bsp_configure)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/rtems.py", line 304, in configure
  #23 0.965     bsp_configure(conf, ab)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/wscript", line 62, in bsp_configure
  #23 0.965     netlegacy.bsp_configure(conf, arch_bsp)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/netlegacy.py", line 81, in bsp_configure
  #23 0.965     conf.env.RTEMS_NET_LEGACY_VERSION = version.string(conf)
  #23 0.965                                         ^^^^^^^^^^^^^^^^^^^^
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 258, in string
  #23 0.965     _load_released_version(ctx)
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 142, in _load_released_version
  #23 0.965     vc, v = _load_released_version_config(ctx)
  #23 0.965             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  #23 0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 117, in _load_released_version_config
  #23 0.965     v = configparser.SafeConfigParser()
  #23 0.965         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  #23 0.965 AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
  #23 ERROR: process "/bin/sh -c ./waf configure --prefix=${RTEMS_PREFIX} --rtems-bsps=${RTEMS_ARCH}/${RTEMS_BSP} &&     ./waf &&     ./waf install" did not complete successfully: exit code: 2
  ------


    [developer 18/18] RUN ./waf configure --prefix=/rtems6-beatnik-legacy/rtems/6.1 --rtems-bsps=powerpc/beatnik &&     ./waf &&     ./waf install:
    0.965                                         ^^^^^^^^^^^^^^^^^^^^
    0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 258, in string
    0.965     _load_released_version(ctx)
    0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 142, in _load_released_version
    0.965     vc, v = _load_released_version_config(ctx)
    0.965             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    0.965   File "/rtems6-beatnik-legacy/rtems-net-legacy-6.1/rtems_waf/version.py", line 117, in _load_released_version_config
    0.965     v = configparser.SafeConfigParser()
    0.965         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    0.965 AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?



Steps to reproduce
..................


The whole github actions log can be seen here:
https://github.com/epics-containers/rtems-bsp/actions/runs/13130540022/job/36634604325


Pre-set options
~~~~~~~~~~~~~~~

Author: Giles Knap

2025-02-05T15:47:24.120Z

I believe that the versioning function could be replaced by setuptools_scm e.g. as used here https://github.com/DiamondLightSource/python-copier-template/blob/9c6f34d60a138f72fe01aed8f9639773d1ce635d/pyproject.toml#L1-L3

This should be backward compatible to python3.8.

I would be interested in submitting a PR this if it is likely to be of use.

Author: Chris Johns

2025-09-25T23:20:24.844Z

changed Version to

6

Author: Chris Johns

2025-10-02T22:30:24.225Z

added rtems#10 as parent epic

Author: Chris Johns

2025-12-16T20:45:44.675Z

added rtems#15 as parent epic

Author: Chris Johns

2026-07-28T01:38:27.995Z

Are you able to retest this? I was able to build net-legacy with Python 3.14 on FreeBSD.

Author: Chris Johns

2026-07-31T00:18:10.720Z

set status to Obsolete

39 - User manual RSB BSP build examples need updating

Id

39

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2023-07-25T02:33:00.000Z

Closed

2026-07-31T00:01:34.704Z

Updated

2026-07-31T00:01:34.708Z

Milestone

6.3

Labels

priority::normal, tickettype::defect, tool::rtems-source-builder, version::6

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/39

Merges

0

Author: Gedare Bloom

2024-10-07T20:21:20.440Z

assigned to @chris

Author: Gedare Bloom

2024-10-06T19:11:51.794Z

changed the description

Author: Gedare Bloom

2024-10-06T19:11:51.834Z

assigned to @chris and unassigned @tracmigrate

Author: Gedare Bloom

2024-10-07T20:21:20.778Z

moved from rtems/rtos/rtems#4931

Author: Amar Takhar

2024-10-18T00:14:24.980Z

unassigned @chris

Author: Amar Takhar

2024-10-18T00:14:41.189Z

Unassigned Chris whoever can get to this it needs to be done for %6.1

Author: Chris Johns

2024-11-07T23:39:19.647Z

assigned to @chris

Author: Gedare Bloom

2024-12-04T21:39:40.002Z

Author: Chris Johns

2024-12-06T00:05:06.531Z

Author: Chris Johns

2025-10-02T22:29:44.320Z

added rtems#15 as parent epic

Author: Chris Johns

2026-07-31T00:01:29.162Z

set status to Needs funding

Author: Chris Johns

2026-07-31T00:01:34.742Z

set status to Done

197 - Building GDB fails for RTEMS 6 on MacOS

Id

197

State

closed

Type

ISSUE

Author

Jeff Mayes

Closed by

Chris Johns

Created

2026-06-26T15:39:25.478Z

Closed

2026-06-30T01:14:32.967Z

Updated

2026-07-09T23:19:56.252Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/197

Merges

0

Summary

In file included from ../../gdb-15.2/gdb/value.h:1035: ../../gdb-15.2/gdb/symtab.h:920:31: error: constexpr variable ‘SEARCH_ALL_DOMAINS’ must be initialized by a constant expression constexpr domain_search_flags SEARCH_ALL_DOMAINS ^ = ((domain_search_flags) 0

../../gdb-15.2/gdb/symtab.h:961:16: error: static assertion expression is not an integral constant expression static_assert (SCRIPTING_SEARCH_FLAG > SEARCH_ALL_DOMAINS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../gdb-15.2/gdb/symtab.h:961:40: note: initializer of ‘SEARCH_ALL_DOMAINS’ is not a constant expression

and …

../../gdb-15.2/gdb/../gdbsupport/enum-flags.h:97:34: error: non-type template argument is not a constant expression integer_for_size<sizeof (T), static_cast<bool>(T (-1) < T (0))>::type ^~~~~~~~~~~~~~~~~

Steps to reproduce

../source-builder/sb-set-builder –prefix=/Users/tester/rtems-cron-6/tools/6 6/rtems-arm

Author: Jeff Mayes

2026-06-26T15:39:25.561Z

set status to To do

Author: Jeff Mayes

2026-06-26T15:44:33.624Z

changed the description

Author: Chris Johns

2026-06-29T02:10:14.328Z

GDB on main builds. I suggest you update 6 to use the same version of GDB on the main branch. The other thing to check is if any dependent parts need to be updated.

Author: Chris Johns

2026-06-30T01:14:25.544Z

GDB builds on the 6 branch on MacOS with !281

Author: Chris Johns

2026-06-30T01:14:33.000Z

set status to Done

Author: Joel Sherrill

2026-07-09T22:57:16.021Z

mentioned in merge request !282

Author: Kinsey Moore

2026-07-09T23:04:16.806Z

added rtems#15 as parent item

Author: Chris Johns

2026-07-09T23:19:56.229Z

The update missed NIOS and MIPSTX39 to use the same version of GDB. These are not covered by the default.

184 - Back port main source-builder to the 6 branch

Id

184

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2026-05-15T04:19:07.474Z

Closed

2026-06-29T02:28:33.539Z

Updated

2026-06-29T02:28:33.543Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/184

Merges

0

Summary

Update the 6 branch to be in sync with main. The update includes support for host_c_std and host_cxx_std.

Author: Chris Johns

2026-05-15T04:19:07.600Z

set status to In progress

Author: Chris Johns

2026-05-15T04:19:07.748Z

assigned to @chris

Author: Chris Johns

2026-05-15T05:57:19.230Z

mentioned in merge request !254

Author: Kinsey Moore

2026-05-16T03:57:53.155Z

added rtems#15 as parent epic

Author: Chris Johns

2026-06-29T02:28:33.572Z

set status to Done

133 - Backport to 6 branch: “config: Update expat to 2.7.3”

Id

133

State

closed

Type

ISSUE

Author

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-10-20T18:50:29.001Z

Closed

2025-10-20T19:09:56.580Z

Updated

2025-10-20T19:10:06.588Z

Milestone

6.3

Labels

tool::gdb

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/133

Merges

0

The following discussion from !189 should be addressed:

  • [] @opticron started a discussion:

    This needs to be backported to 6 branch.

Author: Kinsey Moore

2025-10-20T18:50:29.144Z

added rtems#15 as parent epic

Author: Kinsey Moore

2025-10-20T18:50:29.208Z

set status to To do

Author: Kinsey Moore

2025-10-20T19:09:56.640Z

set status to Done

Author: Kinsey Moore

2025-10-20T19:09:57.448Z

Disregard this issue. It appears that gdb 15.2 in 6 branch builds fine with a mismatched expat. 16.x must have introduced a new dependency.

Author: Kinsey Moore

2025-10-20T19:10:06.613Z

set status to Won’t do

212 - Released LibBSD branches so not build (opened)

Id

212

State

opened

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Created

2026-08-31T05:40:12.252Z

Updated

2026-08-31T05:41:27.587Z

Milestone

6.3

Labels

libbsd::freebsd-14

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/work_items/212

Merges

0

Summary

The build scripts so not handle releases and default to the standard package name. For LibBSD is *-freebsd-12 branch that has been removed from releases. The branch 6-freebsd-14 package is rtems-libbsd-fb14-6.3.tar.xz.

Fix the support.

Author: Chris Johns

2026-08-31T05:40:12.371Z

cloned from #211

Author: Chris Johns

2026-08-31T05:41:23.084Z

changed the description

Author: Chris Johns

2026-08-31T05:41:31.765Z

added rtems#15 as parent item

Author: Chris Johns

2026-08-31T05:47:52.979Z

mentioned in merge request !300

Merge Requests

300 - rtems/libbsd: Handle releases of 6-freebsd-fb14 correctly

Id

300

State

merged

Merged by

Chris Johns

Merged at

2026-08-31T13:08:20.450Z

Assignee(s)

Chris Johns

Created

2026-08-31T05:47:48.229Z

Updated

2026-08-31T13:08:20.443Z

Milestone

6.3

Labels

libbsd::freebsd-14, tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/300

Commit

ef20a404e723d5fdaec52d1fcb0c68366a4e150a

Summary

rtems/libbsd: Handle releases of 6-freebsd-fb14 correctly

Closes #212

Generative AI

None

Author: Chris Johns

2026-08-31T05:47:48.399Z

assigned to @chris

Author: Chris Johns

2026-08-31T05:47:57.433Z

enabled an automatic merge when all merge checks for ef20a404e723d5fdaec52d1fcb0c68366a4e150a pass

Author: Chris Johns

2026-08-31T05:49:08.967Z

marked this merge request as blocked by !299

Author: Kinsey Moore

2026-08-31T13:07:40.570Z

approved this merge request

297 - sb/getsources: Apply missing fixes to the hash checker

Id

297

State

merged

Merged by

Joel Sherrill

Merged at

2026-08-27T03:29:12.700Z

Assignee(s)

Chris Johns

Created

2026-08-27T03:22:00.046Z

Updated

2026-08-27T03:29:12.693Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/297

Commit

101dc7b2cca2ecd471fc33c5ea1e3acd55f79070

Summary

sb/getsources: Apply missing fixes to the hash checker

Closes #206

Generative AI

None.

Author: Chris Johns

2026-08-27T03:22:00.274Z

assigned to @chris

Author: Joel Sherrill

2026-08-27T03:28:52.448Z

approved this merge request

292 - sb/getsources: Check sources all have a valid hash

Id

292

State

merged

Merged by

Kinsey Moore

Merged at

2026-08-19T01:34:45.377Z

Assignee(s)

Chris Johns

Created

2026-08-18T01:19:55.864Z

Updated

2026-08-19T01:34:45.369Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/292

Commit

06460f631ff4b71dfd7e1f83c64b4628d5f6140d

Summary

sb/getsources: Check sources all have a valid hash

Closes #206

Generative AI

None

Author: Chris Johns

2026-08-18T01:19:55.987Z

assigned to @chris

Author: Chris Johns

2026-08-18T01:19:56.092Z

marked this merge request as blocked by !290

Author: Chris Johns

2026-08-18T01:20:03.292Z

enabled an automatic merge when all merge checks for 02263c6085e226aa3bb4fdbe08dfd95224c44775 pass

Author: Joel Sherrill

2026-08-18T18:01:29.632Z

aborted the automatic merge because target branch was updated

Author: Kinsey Moore

2026-08-19T01:34:28.043Z

added 3 commits

  • 02263c60…17130333 - 2 commits from branch rtems/tools:6

  • 06460f63 - sb/getsources: Check sources all have a valid hash

Compare with previous version

Author: Kinsey Moore

2026-08-19T01:34:32.249Z

enabled an automatic merge when all merge checks for 06460f631ff4b71dfd7e1f83c64b4628d5f6140d pass

Author: Kinsey Moore

2026-08-19T01:34:37.869Z

approved this merge request

294 - Fix backport issues and update RTEMS versions and hashes

Id

294

State

merged

Merged by

Joel Sherrill

Merged at

2026-08-18T18:01:27.803Z

Assignee(s)

Kinsey Moore

Created

2026-08-18T17:52:07.656Z

Updated

2026-08-18T18:01:27.796Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/294

Commit

1713033362c271f91df27816180aecd3060dc2a0

Summary

rtems/config/tools: Update RTEMS versions and hashes

Update RTEMS repositories to pull in the telnetlib fix in rtems-tools.

This MR also fixes some issues that were brought in with the large backport from main.

Generative AI

Author: Kinsey Moore

2026-08-18T17:52:07.891Z

assigned to @opticron

Author: Kinsey Moore

2026-08-18T17:52:56.524Z

changed title from

rtems/config/tools: U

pdate RTEMS versions and hashes

to

Fix backport issues and u

pdate RTEMS versions and hashes

Author: Kinsey Moore

2026-08-18T17:52:56.550Z

changed the description

Author: Joel Sherrill

2026-08-18T18:01:22.602Z

enabled an automatic merge when all merge checks for 1713033362c271f91df27816180aecd3060dc2a0 pass

Author: Joel Sherrill

2026-08-18T18:01:25.009Z

approved this merge request

282 - Adjust GDB versions after general move to gdb 17.2

Id

282

State

merged

Merged by

Kinsey Moore

Merged at

2026-07-09T23:08:53.911Z

Assignee(s)

Joel Sherrill

Created

2026-07-01T15:50:39.576Z

Updated

2026-07-09T23:08:53.904Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/282

Commit

5dbc1e0855820578661fa4bf8384abc8dda21357

Summary

Previous move to gdb 17.2 missed:

  • rtems-mipstx39 was not updated

  • rtems-nios2 cannot go to 17.2. Needs to stay on last version for nios2 support

Generative AI

None

Author: Joel Sherrill

2026-07-01T16:03:34.796Z

changed title from

rtems-mipxtx39: Updat

e to gdb 17.2

to

Adjust GDB versions after general mov

e to gdb 17.2

Author: Joel Sherrill

2026-07-01T16:03:34.824Z

changed the description

Author: Joel Sherrill

2026-07-01T16:03:34.928Z

assigned to @joel

Author: Kinsey Moore

2026-07-02T23:25:56.854Z

enabled an automatic merge when all merge checks for 80653d1657f3dd073e4d351521c897a5515dd2e3 pass

Author: Kinsey Moore

2026-07-09T23:08:51.251Z

This does not have a backport issue. Is this really intended for 6 branch?

Author: Joel Sherrill

2026-07-09T23:08:51.251Z

Yes. It was missed whenever the other targets were moved to gdb 17.2. Using gdb 17.2 isn’t as much a backport as a way to build on mac and this one was missed by https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/281.

Author: Kinsey Moore

2026-07-09T23:08:51.251Z

That should not have been merged without referencing a backport issue.

Author: Joel Sherrill

2026-07-09T23:08:51.251Z

This is the original issue. It did not impact 7 at all so it isn’t really a backport.

Author: Kinsey Moore

2026-07-09T23:08:51.251Z

I have set the parent on that issue appropriately. Please reference it in the commit message. All commits/MRs to released branches need an associated issue with the appropriate parent (even if they’re not technically backports).

Author: Joel Sherrill

2026-07-09T23:09:03.085Z

Author: Joel Sherrill

2026-07-09T23:08:14.942Z

added 2 commits

  • 05274de2 - rtems-mipxtx39: Update to gdb 17.2

  • 5dbc1e08 - rtems-nios2.bset: Revert to GDB 15.2

Compare with previous version

Author: Kinsey Moore

2026-07-09T23:08:37.578Z

approved this merge request

Author: Kinsey Moore

2026-07-09T23:08:41.378Z

enabled an automatic merge when all merge checks for 5dbc1e0855820578661fa4bf8384abc8dda21357 pass

Author: Kinsey Moore

2026-07-09T23:08:51.271Z

resolved all threads

281 - 6/rtems-default.bset: Update to gdb 17.2

Id

281

State

merged

Merged by

Chris Johns

Merged at

2026-06-30T00:29:19.970Z

Assignee(s)

Joel Sherrill

Created

2026-06-29T21:53:32.564Z

Updated

2026-06-30T00:29:40.703Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/281

Commit

5d642fa4a69a3fbac5d749d3fc71f0cf8291f31f

Summary

6/rtems-default.bset: Update to gdb 17.2

Updating gdb to the latest is expected to resolve build issues on newer hosts.

Generative AI

None

Author: Joel Sherrill

2026-06-29T21:53:32.728Z

assigned to @joel

Author: Chris Johns

2026-06-30T00:29:15.632Z

approved this merge request

Author: Chris Johns

2026-06-30T00:29:40.761Z

changed title from

6/rtems-default.bset: Update to gdb 17

,

2

to

6/rtems-default.bset: Update to gdb 17

.

2

Author: Chris Johns

2026-06-30T00:29:40.787Z

changed the description

Author: Chris Johns

2026-06-30T01:14:25.980Z

mentioned in issue #197

Author: Joel Sherrill

2026-07-09T22:41:00.824Z

mentioned in merge request !282

254 - sb: Back port main to the 6 branch

Id

254

State

merged

Merged by

Chris Johns

Merged at

2026-05-28T22:37:03.283Z

Assignee(s)

Chris Johns

Created

2026-05-15T05:57:10.716Z

Updated

2026-05-28T22:37:03.220Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/254

Commit

ca9f8ede09aa9e90c639765ef5f9a501b660ed0d

Summary

sb: Back port main to the 6 branch

  • This adds host_c_std and host_cxx_std

Updates #184

Generative AI

no

Author: Chris Johns

2026-05-15T05:57:10.861Z

assigned to @chris

Author: Joel Sherrill

2026-05-15T21:13:32.317Z

Why is it commented ou

Author: Chris Johns

2026-05-15T21:13:32.317Z

This is a back port from main. Please fix on that branch and it can be back ported.

Author: Joel Sherrill

2026-05-15T12:58:18.391Z

requested changes

Author: Chris Johns

2026-05-15T21:13:32.339Z

resolved all threads

Author: Kinsey Moore

2026-05-16T03:57:33.108Z

enabled an automatic merge when all merge checks for 1320790f9a3d280eb4cb10eb29d80f6077864e93 pass

Author: Kinsey Moore

2026-05-21T19:38:39.056Z

aborted the automatic merge because target branch was updated

Author: Kinsey Moore

2026-05-24T03:31:18.855Z

added 2 commits

  • dd3a820c - 1 commit from branch rtems/tools:6

  • 0421ebb9 - sb: Back port main to the 6 branch

Compare with previous version

Author: Kinsey Moore

2026-05-28T22:35:59.858Z

The python and defaults updates look fine and some of the package updates make sense, but this also pulls in many .cfg files that aren’t referenced at all. This likely results from the 6 branch having already had its unused files pruned and those still existing on main. This likely needs the prune operation applied again and squashed with this commit.

Author: Chris Johns

2026-05-28T22:35:59.858Z

Thanks for review. The only configurations files pulled in are the common base ones and they cannot be used without a version level build set or configuration file. The nice things about the approach used is a single simple git command run in the top directory of:

git checkout main -- source-builder

Pruning means we would have to remove the unused files and a further back pork would add them again. We can:

  1. Leave the files

  2. Back port from main, commit, prune and a further commit

  3. Back port from main and prune with a single commit

Note, other configuration files maybe needed if we need to use more recent configuration files. This complicates the build and testing if pruning.

Running:

../source-builder/sb-track --not-referenced

reports:

Not referenced (25):

rtems/config/tools/rtems-lwip-6.cfg
source-builder/config/clang-format-common-1.cfg
source-builder/config/fmt-1.cfg
source-builder/config/gcc-10.cfg
source-builder/config/gcc-14.cfg
source-builder/config/gcc-15.cfg
source-builder/config/gcc-4.3-1.cfg
source-builder/config/gcc-4.4-1.cfg
source-builder/config/gcc-4.5-1.cfg
source-builder/config/gcc-4.7-1.cfg
source-builder/config/gcc-4.8-1.cfg
source-builder/config/gcc-6-1.cfg
source-builder/config/gcc-7-1.cfg
source-builder/config/gcc-7.2-1.cfg
source-builder/config/gcc-9.cfg
source-builder/config/gcc-head.cfg
source-builder/config/gdb-6-1.cfg
source-builder/config/libslirp-4-1.cfg
source-builder/config/m4-1-1.cfg
source-builder/config/pcre-8-1.cfg
source-builder/config/pixman-0-2.cfg
source-builder/config/portablegl-1.cfg
source-builder/config/qemu-1-1.cfg
source-builder/config/qemu-9-1.cfg

How does this look?

Author: Chris Johns

2026-05-28T22:35:59.877Z

resolved all threads

Author: Chris Johns

2026-05-28T22:36:16.470Z

added 5 commits

  • 0421ebb9…d8cc3d15 - 4 commits from branch rtems/tools:6

  • ca9f8ede - sb: Back port main to the 6 branch

Compare with previous version

Author: Chris Johns

2026-05-28T22:36:34.148Z

enabled an automatic merge when all merge checks for ca9f8ede09aa9e90c639765ef5f9a501b660ed0d pass

Author: Joel Sherrill

2026-05-28T22:37:00.077Z

resolved all threads

Author: Joel Sherrill

2026-05-28T22:37:00.476Z

approved this merge request

263 - sb/defaults: Add C and C++ standard option support for packages

Id

263

State

merged

Merged by

Kinsey Moore

Merged at

2026-05-28T15:03:16.685Z

Assignee(s)

Joel Sherrill

Created

2026-05-28T14:06:52.325Z

Updated

2026-05-28T15:03:16.673Z

Milestone

6.3

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/263

Commit

d8cc3d157b18d5bac50457bdab6f6338c881bad2

Summary

sb/defaults: Add C and C++ standard option support for packages

Closes #176

Generative AI

None

Closes #188

Author: Joel Sherrill

2026-05-28T14:06:52.478Z

assigned to @joel

Author: Kinsey Moore

2026-05-28T15:03:13.410Z

enabled an automatic merge when all merge checks for d8cc3d157b18d5bac50457bdab6f6338c881bad2 pass

Author: Kinsey Moore

2026-05-28T15:03:14.498Z

approved this merge request

260 - rtems/c++: Patch to support C++17 filesystem namespace calls

Id

260

State

merged

Merged by

Kinsey Moore

Merged at

2026-05-21T19:38:36.839Z

Assignee(s)

Joel Sherrill

Created

2026-05-21T19:29:07.746Z

Updated

2026-05-21T19:38:36.829Z

Milestone

6.3

Labels

arch:riscv

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/260

Commit

dd3a820c2eb666dadc7161b49a9d8ab474f030e1

Summary

rtems/c++: Patch to support C++17 filesystem namespace calls

Updates #46

(cherry picked from commit 8d96b6fc4419a14b6f5be7c1b792805041e014e6)

Co-authored-by: Chris Johns <chrisj@rtems.org>

Generative AI

None

Closes #188

Author: Joel Sherrill

2026-05-21T19:29:07.984Z

assigned to @joel

Author: Kinsey Moore

2026-05-21T19:38:00.144Z

changed target branch from main to 6

Author: Kinsey Moore

2026-05-21T19:38:31.887Z

enabled an automatic merge when all merge checks for dd3a820c2eb666dadc7161b49a9d8ab474f030e1 pass

Author: Kinsey Moore

2026-05-21T19:38:34.106Z

approved this merge request

248 - sis-2-1.cfg: Define host_c_std as GNU17

Id

248

State

merged

Merged by

Kinsey Moore

Merged at

2026-05-14T15:22:32.526Z

Assignee(s)

Joel Sherrill

Created

2026-05-14T14:45:00.199Z

Updated

2026-05-14T15:22:32.516Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/248

Commit

7c3fffecf84f0333c940bdda3f9f19f8ed8398f4

Summary

sis-2-1.cfg: Define host_c_std as GNU17

SIS does not build using C23 which is the default for newer GCC versions. Using GNU17 allows use of GNU extensions. This corresponds to the default for pre-C23 GCC versions.

Generative AI

Assistance from KiwiChrisAI

Author: Joel Sherrill

2026-05-14T14:45:00.726Z

assigned to @joel

Author: Kinsey Moore

2026-05-14T15:22:23.261Z

enabled an automatic merge when all merge checks for 7c3fffecf84f0333c940bdda3f9f19f8ed8398f4 pass

Author: Kinsey Moore

2026-05-14T15:22:30.305Z

approved this merge request

207 - sb/config: Fix sb-set-builder -with-lto option (opened)

Id

207

State

opened

Created

2026-01-02T19:40:31.892Z

Updated

2026-08-25T03:49:04.877Z

Milestone

6.3

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/207

Commit

40a863c1e7e96f4dc3dd2b3302eef06af29bef32

Summary

sb/config: Fix sb-set-builder -with-lto option

Default enable_lto to 0 (Off). Fixes a build failure when sb-set-builder is run with the --enable-lto option and enable_lto is not defined.

Closes #151

Author: Teresa Triolo

2026-01-02T19:51:00.357Z

Hello! First time contributor here. This change almost certainly needs to be merged to main. However I’m unable to build main at this time.

Author: Chris Johns

2026-01-08T04:33:14.364Z

I thought LTO default was on? I think it should be on for 7 and later tools.

Author: Teresa Triolo

2026-01-08T15:57:57.450Z

You’re right. I didn’t see that before. I believe the correct change for source-builder/config/checks.cfg is to match source-builder/config/gcc-common-1.cfg. With no default, I get the following error:

reporting: tools/rtems-binutils-2.43.cfg -> arm-rtems6-binutils-2.43-x86_64-linux-gnu-1.xml
making dir: /home/ttriolo/rtems/source-builder-git/rtems/build/tmp/arm-rtems6-binutils-2.43-x86_64-linux-gnu-1-0/usr/local/toolchain/rtems-6/share/rtems/rsb
config: tools/rtems-gcc-13.3-newlib-head.cfg
error: gcc-common-1.cfg:171: macro '%{enable_lto}' not found

when I run:

sb-set-builder --prefix=/usr/local/toolchain/rtems-6_git 6/rtems-arm --with-lto

which should still be a valid configuration, even if I’m request the default. Do you agree that my change to address the above failure is correct, but the default should be 1 to match source-builder/config/gcc-common-1.cfg?

Author: Chris Johns

2026-03-12T23:54:46.935Z

I just checked on 6 and LTO is on by default for GCC. Check gcc-common-1.cfg.

Author: Teresa Triolo

2026-03-13T13:36:20.100Z

I agree. How do you recommend I go about amending this MR to keep commit history tidy?

Author: Chris Johns

2026-08-25T03:49:04.854Z

I think remove the option. We should make all tools builds consistent and so we should have LTO enabled in the tools. Having LTO does means it is being used when building RTEMS code.

Author: Chris Johns

2026-03-12T23:54:47.199Z

left review comments