RTEMS / Tools / RTEMS Source Builder

Go to Issues or Merge Requests


Issues

103 - Update git package regerences for 6

Id

103

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Kinsey Moore

Created

2025-05-23T02:42:39.665Z

Closed

2025-05-23T14:01:33.691Z

Updated

2025-05-23T14:01:33.710Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/103

Merges

1

Update the package references for git to allow testing.

Author: Chris Johns

2025-05-23T02:42:39.775Z

assigned to @chris

Author: Chris Johns

2025-05-23T02:45:38.168Z

mentioned in merge request !146

Author: Chris Johns

2025-05-23T02:47:10.863Z

mentioned in merge request !147

98 - Can not Build gdb-15.2-arm64-apple-darwin

Id

98

State

closed

Type

ISSUE

Author

Heinz Junkes

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-04-10T10:43:48.170Z

Closed

2025-05-23T02:39:38.969Z

Updated

2025-05-23T02:39:38.980Z

Milestone

6.2

Labels

tool::gdb

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/98

Merges

1

Summary

Can not build gdb-15.2 on arm64-apple-darwin.

Apple clang version 17.0.0 (clang-1700.0.13.3)
Target: arm64-apple-darwin24.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Steps to reproduce

I have tried it with RTEMS6.1 release and the current one (7-origin/main).

...
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make sets $(MAKE)... yes
checking for style of include used by /Applications/Xcode.app/Contents/Developer/usr/bin/make... GNU
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... yes
checking dependency style of /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/Volumes/Epics/rtems-bbb/tools/rtems-source-builder/rtems/build/tmp/sb-501/tools/rtems-default-tools/Volumes/Epics/rtems-bbb/install/rtems/7/include -I/Volumes/Epics/rtems-bbb/tools/rtems-source-builder/rtems/build/tmp/sb-501-internal/include... gcc3
checking whether /Applications/Xcode.app/Contents/Developer/usr/bin/make supports nested variables... (cached) yes
checking whether ln -s works... yes
checking for arm64-apple-darwin24.4.0-ranlib... ranlib
checking for arm64-apple-darwin24.4.0-ar... (cached) ar
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile.gnulib.inc
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
make[1]: *** [all] Error 2
shell cmd failed: /bin/sh -ex  /Volumes/Epics/rtems-bbb/tools/rtems-source-builder/rtems/build/arm-rtems7-gdb-15.2-arm64-apple-darwin24.4.0-1/do-build
error: building arm-rtems7-gdb-15.2-arm64-apple-darwin24.4.0-1

Problems with zlib?

...
checking whether mbrtowc and mbstate_t are properly declared... (cached) yes
checking for iswlower... (cached) yes
In file included from ../../gdb-15.2/zlib/zutil.c:8:
../../gdb-15.2/zlib/zutil.h:170:11: warning: 'OS_CODE' macro redefined [-Wmacro-redefined]
170 | #  define OS_CODE 19
|           ^
../../gdb-15.2/zlib/zutil.h:141:11: note: previous definition is here
141 | #  define OS_CODE  7
|           ^
In file included from ../../gdb-15.2/zlib/zutil.c:10:
In file included from ../../gdb-15.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
|          ^
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                ^
In file included from ../../gdb-15.2/zlib/zutil.c:10:
In file included from ../../gdb-15.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen(checking whether basename is declared... ) */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
(cached)    26 | #define NULL (no
(void*)0)
|                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:15: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|               ^
In file included from ../../gdb-15.2/zlib/zutil.c:10:
In file included from ../../gdb-15.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
|          ^
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-15.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|              ^
../../gdb-15.2/zlib/zutil.c:133:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
133 | const char * ZEXPORT zError(err)
|                      ^
../../gdb-15.2/zlib/zutil.c:305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
305 | voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
|                      ^
../../gdb-15.2/zlib/zutil.c:315:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
315 | void ZLIB_INTERNAL zcfree (opaque, ptr)
|                    ^
4 warnings and 3 errors generated.
make[2]: *** [libz_a-zutil.o] Error 1
make[1]: *** [all-zlib] Error 2
make[1]: *** Waiting for unfinished jobs....
checking for gawk... (cached) awk
Pre-set options

Author: Heinz Junkes

2025-04-10T10:44:37.539Z

changed the description

Author: Chris Johns

2025-04-18T22:34:03.205Z

assigned to @chris

Author: Chris Johns

2025-04-18T22:39:28.023Z

I wonder if we need to upgrade GDB to 16 like we have on RTEMS 7? I think some testing is needed.

Author: Heinz Junkes

2025-05-23T02:39:28.956Z

Unfortunately, it looks to me like a problem with the Apple OSx. Everything works perfectly with Sequoia 15.0. I got the problems after upgrading to 15.4. The main problem I see is that XCode is usually also updated during an upgrade of the OS and then problems like this occur. Unfortunately I can’t select an older XCode on a new Apple OS? Apple simply changes too much at their own discretion :-(

Author: Amar Takhar

2025-05-23T02:39:28.956Z

There’s no option to use homebrew / macports or just install the CLI tools without XCode? XCode is always a moving target and very hard to do longterm development for anything non-GUI. If you’re doing GUI work then you need to accept that Apple does this if you want your software to work.

Author: Heinz Junkes

2025-04-22T09:40:33.211Z

It would be really nice if we had a builder-config that would work with the homebrew - installation only.

Author: Heinz Junkes

2025-04-22T14:48:25.853Z

Same error with rtems7 and gdb16:

checking whether ln -s works... yes
checking for arm64-apple-darwin24.4.0-ranlib... ranlib
checking for arm64-apple-darwin24.4.0-ar... (cached) ar
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile.gnulib.inc
config.status: creating Makefile
config.status: creating import/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex  /Volumes/Epics/RTEMS_BBB/rsb/rtems/build/arm-rtems7-gdb-16.2-arm64-apple-darwin24.4.0-1/do-build
error: building arm-rtems7-gdb-16.2-arm64-apple-darwin24.4.0-1
In file included from ../../gdb-16.2/zlib/zutil.c:8:
../../gdb-16.2/zlib/zutil.h:170:11: warning: 'OS_CODE' macro redefined [-Wmacro-redefined]
170 | #  define OS_CODE 19
|           ^
../../gdb-16.2/zlib/zutil.h:141:11: note: previous definition is here
141 | #  define OS_CODE  7
|           ^
checking whether snprintf is declared... (cached) In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '('
yes
318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
|          ^
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                ^
In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:16: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:15: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|               ^
In file included from ../../gdb-16.2/zlib/zutil.c:10:
In file included from ../../gdb-16.2/zlib/gzguts.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:61:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected ')'
318 | FILE    *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen));
|          ^
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* No fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:22: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: note: to match this '('
../../gdb-16.2/zlib/zutil.h:147:33: note: expanded from macro 'fdopen'
147 | #        define fdopen(fd,mode) NULL /* Nchecking whether <netinet/in.h> is self-contained... o fdopen() */
|                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/17/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
|              ^
(cached) yes
checking whether open recognizes a trailing slash... (cached) no
../../gdb-16.2/zlib/zutil.c:133:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
133 | const char * ZEXPORT zError(err)
|                      ^
../../gdb-16.2/zlib/zutil.c:305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
305 | voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
|                      ^
../../gdb-16.2/zlib/zutil.c:315:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
315 | void ZLIB_INTERNAL zcfree (opaque, ptr)
|                    ^
4 warnings and 3 errors generated.
make[2]: *** [libz_a-zutil.o] Error 1
checking for opendir... (cached) yes
make[1]: *** [all-zlib] Error 2
make[1]: *** Waiting for unfinished jobs....

Author: Heinz Junkes

2025-04-22T15:11:35.960Z

I found this at the Homebrew Docu: “Homebrew depends on having an up-to-date version of Xcode because it comes with specific versions of build tools, e.g. clang.”

Author: Chris Johns

2025-05-03T00:30:32.343Z

The issue is related to the version of zlib in GDB. GDB needs a newer version as https://github.com/madler/zlib/blob/develop/zutil.h has the MACOS section removed.

Author: Chris Johns

2025-05-03T18:24:46.060Z

I was checking 16.2 which is our GDB for RTEMS 7. I checked gdb’s git repo and the ``ziib `` header is still broken. I have raised a bug on gdb: https://sourceware.org/bugzilla/show_bug.cgi?id=32933

Author: Chris Johns

2025-05-03T02:31:07.808Z

It seems binutils-2.44 has the same issue.

Author: Chris Johns

2025-05-03T09:29:22.052Z

GCC also suffers from the same issue.

Author: Chris Johns

2025-05-03T10:12:38.678Z

These patches let aarch64 tools build on Sequoia and the latest Xcode.

gcc-13.3.0-zlib-macos-fix.diff

binutils-2.44-zlib-macos-fix.diff

gdb-16.2-zlib-macos-fix.diff

Author: Chris Johns

2025-05-03T10:13:47.560Z

cloned to #100

Author: Joel Sherrill

2025-05-05T01:58:40.938Z

@chris Did you submit these patches to the upstream projects?

Author: Chris Johns

2025-05-05T01:58:40.903Z

No. Upstream needs to pick up a newer zlib but there is shared complexity across a range of projects that share this. I have raised issues or there is a known issue.

Author: Chris Johns

2025-05-05T02:34:29.090Z

We need these changes to avoid changing the release. I have no idea if a gcc-13.x will ever see an updated zlib .

Author: Heinz Junkes

2025-05-05T01:57:29.301Z

Just for the sake of completeness. I have unfortunately encountered another problem. To solve it I had to do:

ln -s /opt/homebrew/Cellar/ncurses/6.5/include/ncursesw /usr/local/include/ncursesw

Unfortunately, I have not yet understood how I can use this fixed source builder to install version 6.1? (Does this refer to Joel’s comment? ‘upstream-projects’?)

RTEMS Tools Project - Source Builder Error Report
Build: error: building arm-rtems7-gdb-16.2-arm64-apple-darwin24.4.0-1
Command Line: ../source-builder/sb-set-builder --jobs=20 --prefix=/Volumes/Epics/RTEMS_BBB/rtems/7 7/rtems-arm
Python: 3.13.1 (main, Feb  9 2025, 11:33:15) [Clang 16.0.0 (clang-1600.0.26.4)]
https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git/origin/8084e3563ebc745f14c425fdd0d0b0deb8380995
Darwin Mac.fritz.box 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:39 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6020 arm64
Tail of the build log:
checking for xsltproc... /usr/bin/xsltproc
configure: updating cache ./config.cache
configure: creating ./config.status
...

/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/Volumes/Epics/RTEMS_BBB/rsb/rtems/build/tmp/sb-501/tools/rtems-default-tools/Volumes/Epics/RTEMS_BBB/rtems/7/include -I/Volumes/Epics/RTEMS_BBB/rsb/rtems/build/tmp/sb-501-internal/include -x c++ -std=gnu++17   -I. -I../../gdb-16.2/gdb -I../../gdb-16.2/gdb/config -include ../../gdb-16.2/gdb/defs.h -DLOCALEDIR="\\"/Volumes/Epics/RTEMS_BBB/rtems/7/share/locale\\"" -DHAVE_CONFIG_H -I../../gdb-16.2/gdb/../include/opcode -I../bfd -I../../gdb-16.2/gdb/../bfd -I../../gdb-16.2/gdb/../include -I../../gdb-16.2/gdb/../readline/readline/.. -I../../gdb-16.2/gdb/../zlib  -I../libdecnumber -I../../gdb-16.2/gdb/../libdecnumber  -I../../gdb-16.2/gdb/../gnulib/import -I../gnulib/import -I../../gdb-16.2/gdb/.. -I.. -I../../gdb-16.2/gdb/../libbacktrace/ -I../libbacktrace/ -DTUI=1  -I/Volumes/Epics/RTEMS_BBB/rsb/rtems/build/tmp/sb-501-internal/include  -I/Users/junkes/.pyenv/versions/3.13.1/include/python3.13 -I/Users/junkes/.pyenv/versions/3.13.1/include/python3.13   -I../../gdb-16.2/gdb/.. -pthread    -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-mismatched-tags -Wno-error=deprecated-register -Wsuggest-override -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wvla -Wmissing-prototypes -Wformat -Wformat-nonliteral  -g -O2     -c -o record-btrace.o -MT record-btrace.o -MMD -MP -MF ./.deps/record-btrace.Tpo ../../gdb-16.2/gdb/recor
d-btrace.c
In file included from ../../gdb-16.2/gdb/python/py-tui.c:32:
../../gdb-16.2/gdb/gdb_curses.h:43:10: fatal error: 'ncursesw/ncurses.h' file not found
43 | #include <ncursesw/ncurses.h> /* IWYU pragma: export */
|          ^~~~~~~~~~~~~~~~~~~~

I have used the current version

commit 8084e3563ebc745f14c425fdd0d0b0deb8380995 (HEAD -> main, origin/main, origin/HEAD)
Author: Chris Johns <chrisj@rtems.org>
Date:   Sat May 3 20:24:59 2025 +1000

rtems: Add paches to fix building on MacOS

- The zlib packages in gdb, binutils and gcc are broken on a
current MacOS. Patch around this until fixed upstream

Author: Chris Johns

2025-05-05T01:57:29.260Z

That looks like a homebew issue. It is why I build without it as it helps us isolate what are problems we have and what are Homebrew related.

Author: Chris Johns

2025-05-04T00:50:35.434Z

The 6 branch patches:

gdb-15.2-zlib-macos-fix.diff

binutils-2.43-zlib-macos-fix.diff

Author: Chris Johns

2025-05-04T01:24:18.010Z

mentioned in merge request !143

Author: Joel Sherrill

2025-05-23T02:39:22.978Z

See GCC issue 105404 for where they are tracking issues with zlib like this. Looks like GCC 16 is the first version that might address MacOS and update to pick up CVEs.

We need to carry the patch on 7 for at least GCC 13-15.

Author: Joel Sherrill

2025-05-23T02:39:22.978Z

A response from the gcc issue:

note that the issue on macOS starts with Xcode16.3 on recent OS versions which have an up to date installed zlib (so the –with-system-zlib is a reasonable work-around).

Author: Chris Johns

2025-05-23T02:39:22.978Z

It is a work around unfortunately we have no history of adding this option to previous MacOS builds and what works and does not work. I also do not know how we could key option against MacOS version and Xocde versions.

101 - Backport UTF-8 fix to 6 branch

Id

101

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Chris Johns

Created

2025-05-08T13:30:05.384Z

Closed

2025-05-23T02:38:34.114Z

Updated

2025-05-23T02:38:34.127Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/101

Merges

1

Summary

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-05-08T13:30:05.614Z

assigned to @opticron

Author: Kinsey Moore

2025-05-08T13:30:06.809Z

Author: Kinsey Moore

2025-05-08T13:31:36.971Z

mentioned in merge request !145

86 - Add build support for LibBSD FreeBSD 14

Id

86

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Gedare Bloom

Created

2025-02-03T06:15:06.670Z

Closed

2025-04-23T21:50:41.896Z

Updated

2025-04-23T21:50:41.911Z

Milestone

6.2

Labels

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

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/86

Merges

1

Add support to build LibBSD branch 6-freebsd-14.

Author: Chris Johns

2025-02-03T06:15:06.910Z

cloned from #83

Author: Chris Johns

2025-02-03T06:15:06.730Z

assigned to @chris

Author: Chris Johns

2025-02-03T06:15:11.226Z

Author: Chris Johns

2025-02-03T06:16:08.450Z

changed the description

Author: Chris Johns

2025-04-18T22:47:41.035Z

The config naming should only reference the version of FreeBSD being built. This simplifies the external user interface between versions of RTEMS. For example 7/rtems-libbsd.bset becomes 7/rtems-libbsd-fb-14.bset and we add 6/rtems-libbsd-fb-14.bset to the 6 branch.

I have found the error codes returned by OpenSSL on FreeBSD 12 are different to the codes returned by FreeBSD 14. It is an example of why we need to remove the default branch from libbsd support and support active FreeBSD branches on an RTEMS release.

Author: Chris Johns

2025-04-19T05:32:54.777Z

marked this issue as blocking rtems-deployment#6

Author: Chris Johns

2025-04-19T05:35:14.607Z

mentioned in merge request !139

Author: Gedare Bloom

2025-04-23T21:47:46.417Z

95 - RTEMS tester fails to run correctly under python 3.13

Id

95

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-02-28T22:39:31.754Z

Closed

2025-03-02T02:21:56.001Z

Updated

2025-03-02T02:21:56.073Z

Milestone

6.2

Labels

tool::test

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/95

Merges

0

Summary

When attempting to run the RTEMS tester with Python 3.13, these error messages are produced:

.../rtems-tools/tester/rt/test.py:76: SyntaxWarning: invalid escape sequence '\\['
status_regx = re.compile('^\\[\\s*\\d+/\\s*\\d+\\] p:.+')
.../rtems-tools/tester/rt/test.py:188: SyntaxWarning: invalid escape sequence '\\.'
norun = re.compile('.*\\.norun.*')
Incorrect RTEMS Tools installation

This was tested on the 6.1 branch, but there appear to be no changes to main that would have fixed this.

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-02-28T22:39:31.957Z

assigned to @opticron

Author: Kinsey Moore

2025-02-28T22:39:32.416Z

Author: Kinsey Moore

2025-03-02T02:13:13.434Z

On further investigation, this is 2 separate issues. The escapes need to be fixed to resolve the warnings and the actual exit is caused by missing telnetlib since it was deprecated in 3.11 and removed in 3.13.

Author: Kinsey Moore

2025-03-02T02:13:13.403Z

On debian systems, there is currently a workaround for the actual exit issue by installing python3-zombie-telnetlib.

Author: Kinsey Moore

2025-03-02T02:21:56.118Z

moved to rtems-tools#22

110 - Backport mirror updates to 6 branch for future releases (opened)

Id

110

State

opened

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Created

2025-07-04T20:03:14.668Z

Updated

2025-07-15T22:33:20.220Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/110

Merges

0

The following discussion from !158 should be addressed:

  • [] @opticron started a discussion:

    This needs to be backported to 6 for future releases.

Author: Kinsey Moore

2025-07-04T20:03:14.814Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-07-04T20:03:14.919Z

assigned to @opticron

Author: Kinsey Moore

2025-07-04T20:04:15.510Z

mentioned in merge request !159

Author: Gedare Bloom

2025-07-15T22:33:20.153Z

mentioned in commit 905403bea3ec7d07a190ffa95188775927ab3077

112 - Backport glib download isolation to 6 branch (opened)

Id

112

State

opened

Type

ISSUE

Author

Kinsey Moore

Created

2025-07-07T20:06:03.248Z

Updated

2025-07-07T20:07:59.384Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/112

Merges

0

The following discussion from !161 should be addressed:

  • [] @opticron started a discussion:

    This should be checked and resolved on the 6 branch if present. It is likely that at least the glib-2.80.2 issue exists.

Author: Kinsey Moore

2025-07-07T20:06:03.387Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-07-07T20:07:59.287Z

mentioned in merge request !162

109 - Backport GDB TLS support patches to 6 branch (opened)

Id

109

State

opened

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Created

2025-06-30T20:45:24.067Z

Updated

2025-06-30T21:07:23.023Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/109

Merges

0

The following discussion from !156 should be addressed:

  • [] @opticron started a discussion:

    A version of these patches will need to be backported to the 6 branch to support the TLS usage there.

Author: Kinsey Moore

2025-06-30T20:45:24.172Z

assigned to @opticron

Author: Kinsey Moore

2025-06-30T21:07:19.108Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-06-30T21:07:47.532Z

mentioned in merge request !157

104 - Backport QEMU version update to 6 branch (opened)

Id

104

State

opened

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Created

2025-05-28T18:11:50.502Z

Updated

2025-05-28T18:16:25.434Z

Milestone

6.2

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/104

Merges

0

Summary

This needs to be updated so that QEMU is buildable.

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-05-28T18:11:50.669Z

assigned to @opticron

Author: Kinsey Moore

2025-05-28T18:11:51.060Z

Author: Kinsey Moore

2025-05-28T18:12:39.518Z

mentioned in merge request !150

Author: Kinsey Moore

2025-05-28T18:16:14.237Z

cloned to #105

39 - User manual RSB BSP build examples need updating (opened)

Id

39

State

opened

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Created

2023-07-25T02:33:00.000Z

Updated

2024-12-06T00:05:04.372Z

Milestone

6.2

Labels

priority::normal, tickettype::defect, version::6

Link

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/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

Merge Requests

157 - rtems/config/tools/gdb: Add TLS support patch

Id

157

State

merged

Merged by

Amar Takhar

Merged at

2025-07-01T14:22:47.309Z

Assignee(s)

Kinsey Moore

Created

2025-06-30T21:07:42.745Z

Updated

2025-07-01T14:22:48.620Z

Milestone

6.2

Labels

cpukit::debugger, tool::gdb

Link

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

Commit

eb0378a4a21eeae511e967829314c06226f624fa

Summary

rtems/config/tools/gdb: Add TLS support patch

This adds the preliminary patches for GDB 15.2 to support retrieval of TLS addresses from the remote GDB server.

Closes #109

Author: Kinsey Moore

2025-06-30T21:07:42.858Z

assigned to @opticron

Author: Joel Sherrill

2025-07-01T13:42:10.272Z

approved this merge request

150 - devel/qemu-5.2.0: Update to the non-RC version

Id

150

State

merged

Merged by

Chris Johns

Merged at

2025-05-28T22:20:01.865Z

Assignee(s)

Kinsey Moore

Created

2025-05-28T18:09:49.036Z

Updated

2025-05-28T22:20:02.876Z

Milestone

6.2

Link

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

Commit

005081ef48204fa8322e57b335aad4dc616b9c6f

Summary

devel/qemu-5.2.0: Update to the non-RC version

The release candidate 1 tarball has been removed from the QEMU website. This moves RSB to the 5.2.0 release which is still available.

Closes #104

Author: Kinsey Moore

2025-05-28T18:09:49.268Z

assigned to @opticron

Author: Kinsey Moore

2025-05-28T18:11:02.512Z

marked this merge request as draft

Author: Kinsey Moore

2025-05-28T18:12:21.317Z

added 1 commit

  • 005081ef - devel/qemu-5.2.0: Update to the non-RC version

Compare with previous version

Author: Kinsey Moore

2025-05-28T18:12:39.449Z

changed the description

Author: Kinsey Moore

2025-05-28T18:12:45.945Z

marked this merge request as ready

Author: Chris Johns

2025-05-28T22:19:13.805Z

approved this merge request

147 - rtems: Update package git references

Id

147

State

merged

Merged by

Kinsey Moore

Merged at

2025-05-23T14:01:25.937Z

Assignee(s)

Chris Johns

Created

2025-05-23T02:47:03.843Z

Updated

2025-05-23T14:01:27.707Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

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

Commit

3d76465c1d9e28e7ceef04ebb2c04f0c41528b73

rtems: Update package git references

Closes #103

Author: Chris Johns

2025-05-23T02:47:04.357Z

assigned to @chris

Author: Kinsey Moore

2025-05-23T14:01:17.943Z

approved this merge request

88 - gmp: Use ftp.gnu.org mirror

Id

88

State

merged

Merged by

Joel Sherrill

Merged at

2024-12-16T19:07:29.329Z

Created

2024-12-12T23:05:00.408Z

Updated

2025-05-09T00:14:44.978Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

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

Commit

e139977d351305775c4effa3c0b4a52531e38083

Summary

gmplib.org blocks IPs associated with Microsoft/GitHub for performance reasons. This poses a problem for GitHub CI/CD configurations that build the toolchains using rtems-source-builder, although it’s easy to fix with a quick patch.

Nonetheless, it might be a good idea to reduce traffic to gmplib.org, since their infrastructure doesn’t seem particularly beefy.

Email thread: https://gmplib.org/list-archives/gmp-devel/2023-June/006162.html

Author: Joel Sherrill

2024-12-16T19:06:18.708Z

added 3 commits

  • af5dee32…7d8bc0af - 2 commits from branch rtems/tools:6

  • e139977d - gmp: Use ftp.gnu.org mirror

Compare with previous version

Author: Joel Sherrill

2024-12-16T19:07:03.680Z

approved this merge request

Author: Joel Sherrill

2024-12-16T19:07:25.931Z

Is this also addressed on the main branch?

143 - rtems: Fix building on recent MacOS

Id

143

State

merged

Merged by

Kinsey Moore

Merged at

2025-05-08T22:54:09.608Z

Assignee(s)

Chris Johns

Created

2025-05-04T01:24:11.091Z

Updated

2025-05-08T22:54:09.594Z

Milestone

6.2

Labels

tool::gdb

Link

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

Commit

86fb2d4645ee6197198fb4755fbe8db1967c454c

Fix building on recent MacOS

Closes #98

Author: Chris Johns

2025-05-04T01:24:11.530Z

assigned to @chris

Author: Kinsey Moore

2025-05-08T22:53:40.685Z

approved this merge request

Author: Joel Sherrill

2025-05-08T22:53:46.921Z

approved this merge request

Author: Kinsey Moore

2025-05-08T22:53:51.172Z

added 2 commits

  • 15e5be5a - 1 commit from branch rtems/tools:6

  • 86fb2d46 - rtems: Fix building on recent MacOS

Compare with previous version

Author: Kinsey Moore

2025-05-08T22:54:04.580Z

enabled an automatic merge when the pipeline for 86fb2d4645ee6197198fb4755fbe8db1967c454c succeeds

145 - source-builder/sb/path.py: Avoid discarding utf-8

Id

145

State

merged

Merged by

Chris Johns

Merged at

2025-05-08T22:13:29.634Z

Assignee(s)

Kinsey Moore

Created

2025-05-08T12:55:26.646Z

Updated

2025-05-08T22:13:31.286Z

Milestone

6.2

Link

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

Commit

15e5be5a328d099369dcba795ccc6ff33b82d055

Summary

source-builder/sb/path.py: Avoid discarding utf-8

On MSYS2 on Windows 10, non-ASCII utf-8 characters should not be discarded since filesystems on this platform can support them. This fixes a build issue in GCC where a Go test file includes a non-ASCII character.

Closes #101

Author: Kinsey Moore

2025-05-08T12:55:27.133Z

assigned to @opticron

Author: Kinsey Moore

2025-05-08T12:55:45.664Z

mentioned in merge request !144

Author: Kinsey Moore

2025-05-08T13:31:04.102Z

added 1 commit

  • 15e5be5a - source-builder/sb/path.py: Avoid discarding utf-8

Compare with previous version

Author: Kinsey Moore

2025-05-08T13:31:36.905Z

changed the description

Author: Chris Johns

2025-05-08T22:13:25.113Z

approved this merge request

139 - Add support for the 6-freebsd-14 branch to RTEMS 6

Id

139

State

merged

Merged by

Gedare Bloom

Merged at

2025-04-23T21:48:02.616Z

Assignee(s)

Chris Johns

Created

2025-04-19T05:35:06.449Z

Updated

2025-04-23T21:50:42.296Z

Milestone

6.2

Labels

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

Link

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

Commit

435961510b8e363936b091914f9ca53512f8a218

Add support for the 6-freebsd-14 branch to RTEMS 6

  • Fix sb-rtems-pkg configuration for LwIP

  • Fix the LwIP build set and configuration file

Closes #86

Author: Chris Johns

2025-04-19T05:35:07.207Z

assigned to @chris

Author: Gedare Bloom

2025-04-23T21:44:05.828Z

added 2 commits

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

  • 43596151 - rtems/libbsd: Add support for the 6-freebsd-14 branch to RTEMS 6

Compare with previous version

Author: Gedare Bloom

2025-04-23T21:47:58.361Z

approved this merge request

Author: Gedare Bloom

2025-04-23T21:50:42.085Z

mentioned in issue #86

146 - Update package git references to allow testing (closed)

Id

146

State

closed

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2025-05-23T02:45:27.261Z

Closed

2025-05-23T02:45:53.376Z

Updated

2025-05-23T02:45:53.364Z

Milestone

6.2

Labels

tool::rtems-source-builder

Link

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

Commit

3d76465c1d9e28e7ceef04ebb2c04f0c41528b73

Update package git references to allow testing.

Closes #103

Author: Chris Johns

2025-05-23T02:45:27.477Z

assigned to @chris

Author: Chris Johns

2025-05-23T02:46:11.774Z

Forgot to select the right branch

162 - Backport download isolation fixes to 6 branch (opened)

Id

162

State

opened

Assignee(s)

Kinsey Moore

Created

2025-07-07T20:07:54.420Z

Updated

2025-07-07T20:08:00.099Z

Milestone

6.2

Link

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

Commit

dd8ba890c904ef3c54cd2a439aa2674c98dccce2

Summary

Updates #112

Author: Kinsey Moore

2025-07-07T20:07:54.557Z

assigned to @opticron