RTEMS / Tools / RTEMS Source Builder

Go to Issues or Merge Requests

Issues Summary

Merge Requests Summary

89 - bare/texinfo: Add back texinfo-7.0.3.cfg which was removed by sb-track

87 - Remove lwIP build set

85 - RTEMS: Remove 7 build sets

81 - RTEMS Packages Update to the 6 branch packages

80 - RTEMS C++ Patch to support C++17 filesystem namespace calls

77 - rtems/x86_64: Do not build grub or makefs on MacOS

76 - RTEMS Packages Updates for 6

74 - Fix sb-rtems-pkg and update the packages

73 - expat: disable docbook to avoid man page generation error

72 - Updated qemu patch to point to rtems.org domain from geisler.se which now 404s

71 - rtems: Update packages

70 - rtems-tools needs the Waf build root workaround for windows

67 - rtems-gdb-15.2.cfg: Correct using 14.2 instead of 15.2

66 - dtc: do not attempt to build on windows

65 - sb:sources: Do not raise an error adding a hash if one is present

64 - sys.getwindowsversion only exists on Windows.

63 - Fixes for Windows 10 and Windows 11

62 - Update to GDB 15.2

61 - linux.py: Recognize Rocky Linux distribution

60 - rtems/www: Add civetweb web server package

59 - rtems/devel: Add yaml-cpp package

58 - rtems: Update kernel and libbsd

57 - rtems: Update kernel and libbsd

56 - Keep RTEMS up to date with the upstream development

51 - rtems: Package updates

50 - Use 4.11 branch for rtems-tools automake patch URL

49 - Fix config file directive processing in includes

47 - Update tools, rtems, libbsd, net legacy and net services

46 - sb: Pull the repos after fetching

45 - add patch file for including rv32imf in the riscv multilib

44 - Update rtems6 tools to binutils 2.43

42 - rtems-tools: Fetch rtems-syms fixes

41 - Convert LICENSE to MarkDown

40 - sb/build:Fix reference a null object when a package is unnecessary.

39 - rtems/6: Update MicroBlaze GCC to 12

37 - rtems-gcc-13.3-newlib-head.cfg: Update hash to 1339af4

36 - rtems-tools: Fetch rtems-syms improvements

35 - RSB modifications to install stdcxx.py in gdb/python/rtems

33 - windows.py: Disable chmod on Cygwin

32 - rsb(rtems-build-dep): handle multiple library paths

31 - rtems-tools-6.cfg: Bump hash to fix build issue on Cygwin

30 - rtems/tools,kernel: Update tools after elftoolchain update

29 - Fix the handling of the hash in sb-rtems-pkg

28 - RSB tar strip components double percent

27 - rtems-tools-6.cfg: Checksum updated

26 - Update RTEMS packages after moving to gitlab.rtems.org

25 - sb/rtemspkg: Use git:// paths for download URLs

24 - rsb: Add makefs to tools and use it in 6/rtems-x86_64

23 - base/glib: Do not check for meson when getting sources

22 - Source downloads fail

21 - Fix MacOS python patch to the GDB 14.2 build and reduce down tar output

20 - Update RSB 4.11 for the gitlab migration

19 - Update RSB 5 branch for gitlab migration

18 - Bump newlib head hash to 1ed1516 in mulitple cfgs

16 - gdb: Build MPFR before GDB as it now depeneds on it

15 - Update for gitlab changes and fix minor issues

14 - gdb: Split python’s version into major/minor and check for embed option

13 - Update binutils, gdb, and gcc

12 - Format all code with yapf defaults

11 - Fix –url paths so they download the –rsb-file

10 - Update QEMU to build on FreeBSD 14.0

9 - qemu-xilinx: Allow build with conflicting libspice

8 - Update Newlib, Binutils, GDB, GCC for RTEMS 6/7

7 - sync in changes from master

2 - Change README to markdown


Issues

55 - Remove upstream lwIP from build configurations in favor of using rtems-lwip

Id

55

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Gedare Bloom

Created

2024-12-05T23:03:45.565Z

Closed

2024-12-07T02:57:18.780Z

Updated

2024-12-07T02:57:18.793Z

Milestone

6.1

Labels

network::lwip

Link

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

Merges

0

Summary

Having an upstream lwIP build package is confusing since we want to push users to rtems-lwip. The upstream lwIP build package should be removed.

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2024-12-05T23:03:45.773Z

cloned from #54

Author: Kinsey Moore

2024-12-05T23:03:45.665Z

assigned to @opticron

Author: Kinsey Moore

2024-12-05T23:04:16.181Z

Author: Kinsey Moore

2024-12-05T23:10:08.141Z

Author: Kinsey Moore

2024-12-05T23:20:29.453Z

marked this issue as blocked by #57

Author: Kinsey Moore

2024-12-06T03:46:27.506Z

mentioned in merge request !87

6 - CI to update file cache on ftp.rtems.org

Id

6

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Amar Takhar

Closed by

Amar Takhar

Created

2024-05-24T06:35:32.626Z

Closed

2024-05-26T19:27:41.058Z

Updated

2024-12-06T03:46:27.565Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

0

Summary

This issue is to add a CI that runs after a merge is pushed to the repo. It runs the RSB’s source download. There is a file cache per active branch in the RSB.

The URL is https://ftp.rtems.org/pub/rtems/cache/rsb and branches are subdirectories under this. For example the main branch is https://ftp.rtems.org/pub/rtems/cache/rsb/main

Reason for the Cache

The cache is provided for user sites that are locked down. The RSB will not work because it fetches source from a number of hosts and IT support staff tend to not want to add the list of places the RSB references. The cache provides a single machine which is can be made accessible allowing the RSB to build tools.

Command

The command to run is:

cd rtems-source-builder/rtems
../source-builder/sb-get-sources

The command will check all buildsets and configuration files for all support hosts.

The files can be found in sources and patches and the contents of both can be copied to the cache directory.

Author: Chris Johns

2024-05-24T06:35:32.739Z

assigned to @amar

Author: Amar Takhar

2024-05-26T19:27:41.184Z

moved to administration/integration#6

Author: Amar Takhar

2024-05-26T19:29:13.796Z

Moved because the correct place for these issues is in the integration group otherwise they will get lost.

Author: Kinsey Moore

2024-12-06T03:46:27.545Z

mentioned in merge request !87

46 - Add std::filesystem chdir and mkdir support to libstdc++v3

Id

46

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Kinsey Moore

Created

2024-11-13T10:29:37.913Z

Closed

2024-11-27T15:27:27.605Z

Updated

2024-11-27T15:27:27.619Z

Milestone

6.1

Labels

lang::c++, tool::gcc

Link

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

Merges

1

The libstc++-v3 configure uses links tests to check for the calls chdir and mkdir. These checks fail because the calls are in rtems/rtos/rtems.git and we need a compiler to built RTEMS.

Author: Chris Johns

2024-11-13T10:29:38.018Z

assigned to @chris

Author: Chris Johns

2024-11-13T10:34:29.051Z

This patch sets the defines for RTEMS so std::filesystem directory management works.

gcc-13.3.0-libstdc-filesystem.diff

Author: Sebastian Huber

2024-11-13T11:06:42.228Z

The right place is probably:

diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
index e59bcdb2944..79512a398c2 100644
--- a/libstdc++-v3/configure.ac
+++ b/libstdc++-v3/configure.ac
@@ -353,6 +353,31 @@ else

AC_DEFINE(HAVE_ICONV)
AC_DEFINE(HAVE_MEMALIGN)
+
+    case "${target}" in
+      *-rtems*)
+        case "${target}" in
+          bfin* | lm32* | mips* | moxie* | or1k* | v850*)
+            ;;
+          *)
+            AC_DEFINE(HAVE_TLS)
+            ;;
+        esac
+        AC_DEFINE(HAVE_ALIGNED_ALLOC)
+        AC_DEFINE(HAVE_AT_QUICK_EXIT)
+        AC_DEFINE(HAVE_LINK)
+        AC_DEFINE(HAVE_POLL)
+        AC_DEFINE(HAVE_QUICK_EXIT)
+        AC_DEFINE(HAVE_READLINK)
+        AC_DEFINE(HAVE_SETENV)
+        AC_DEFINE(HAVE_SLEEP)
+        AC_DEFINE(HAVE_SOCKATMARK)
+        AC_DEFINE(HAVE_STRERROR_L)
+        AC_DEFINE(HAVE_SYMLINK)
+        AC_DEFINE(HAVE_TRUNCATE)
+        AC_DEFINE(HAVE_USLEEP)
+        ;;
+    esac
elif test "x$with_headers" != "xno"; then
GLIBCXX_CROSSCONFIG
fi

See

commit e0466d32eb3422e6d206a16845e4e594d3a0f2b2
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Wed Jun 8 08:44:36 2022 +0200

Enable some features for RTEMS in libstdc++

Remove RTEMS support from crossconfig.m4 since this code is not used due to
"with_newlib" being "yes".

libstdc++-v3/ChangeLog:

* configure: Regnerate.
* configure.ac (newlib, *-rtems*): Enable TLS support for all RTEMS
targets except bfin, lm32, mips, moxie, or1k, and v850.
For all RTEMS targets, define HAVE_ALIGNED_ALLOC, HAVE_AT_QUICK_EXIT,
HAVE_LINK, HAVE_POLL, HAVE_QUICK_EXIT, HAVE_READLINK, HAVE_SETENV,
HAVE_SLEEP, HAVE_SOCKATMARK, HAVE_STRERROR_L, HAVE_SYMLINK,
HAVE_TRUNCATE, and HAVE_USLEEP.
* crossconfig.m4 (*-rtems*): Remove.

Author: Chris Johns

2024-11-13T20:47:26.243Z

That would also work. The header file was easier to sort out because I did not need to regenerate configure

Would the change be as simple as bringing across the defines I have in the header file?

Author: Kinsey Moore

2024-11-14T23:24:55.412Z

changed title from Add std::filesystem c{-d-}dir and mkdir support to libstdc++v3 to Add std::filesystem c{+h+}dir and mkdir support to libstdc++v3

Author: Sebastian Huber

2024-11-16T23:38:37.048Z

There is already this change in GCC:

commit 5955c18dfb970740d55d432aeee5cb5a6f51cf65
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu May 30 04:01:15 2024 -0300

[libstdc++-v3] [rtems] enable filesystem support

mkdir, chdir and chmod functions are defined in librtemscpu, that
doesn't get linked in during libstdc++-v3 configure, but applications
use -qrtems for linking, which brings those symbols in, so it makes
sense to mark them as available so that the C++ filesystem APIs are
enabled.


for  libstdc++-v3/ChangeLog

* configure.ac [*-*-rtems*]: Set chdir, chmod and mkdir as
available.
* configure: Rebuilt.

Author: Chris Johns

2024-11-16T23:38:37.048Z

I searched https://gcc.gnu.org/git/?p=gcc and could not find that commit?

Author: Chris Johns

2024-11-16T23:38:37.048Z

Found the patch on master. I have commented below.

Author: Sebastian Huber

2024-11-16T23:42:57.171Z

Proposal for GCC trunk:

0001-libstdc-v3-Enable-features-for-RTEMS.patch

Author: Chris Johns

2024-11-16T23:42:57.171Z

This looks great. I will test it and then make a MR for the RSB to use it.

Author: Chris Johns

2024-11-16T23:42:57.171Z

The patch does not work.

Author: Chris Johns

2024-11-16T23:00:01.176Z

It does not fix the directory management because the tests fail. The configure test results I can see are:

checking for chmod... no
checking for mkdir... no
checking for chdir... no
checking for getcwd... yes
checking for realpath... no
checking for utimensat... no
checking for utime... no
checking for lstat... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for fchmod... yes
checking for fchmodat... no
checking for sendfile that can copy files... no
checking for link... no
checking for readlink... no
checking for symlink... no
checking for truncate... no
checking for fdopendir... yes
checking for dirfd... yes
checking for openat... no
checking for unlinkat... no

In acinclude.m4 the mkdir change says:

AC_DEFINE(_GLIBCXX_USE_MKDIR, 1, [Define if usable mkdir is available in <sys/stat.h>.])

I will test defining this by manually hacking the patch to add the _GLIBCXX_USE_* defines.

Author: Chris Johns

2024-11-16T23:39:55.930Z

This patch works vCJ-0001-libstdc-v3-Enable-features-for-RTEMS.patch. Manually hacked!

I found the patch from Alexandre on GCC’s master branch and I could not find it on release/gcc-13 branch.

I prefer the approach I have taken because it is the method detailed in the check’s help. I am concerned directly tweaking the configure vars depends on the implementation which would need to be kept in sync.

Author: Chris Johns

2024-11-23T06:10:10.686Z

@sebhub any update on this change?

Author: Sebastian Huber

2024-11-23T06:10:10.686Z

Sorry, I am busy with other things right now.

Author: Chris Johns

2024-11-23T06:10:10.686Z

Thanks and I am only asking because of branching this week.

Author: Chris Johns

2024-11-23T06:11:05.126Z

I have created a v2 patch and regenerated configure.

v2-0001-libstdc-v3-Enable-features-for-RTEMS.patch

Author: Chris Johns

2024-11-23T21:54:58.170Z

mentioned in merge request !78

Author: Joel Sherrill

2024-11-25T22:45:06.929Z

Please change from closes Issue 46 to updates 46.

Author: Chris Johns

2024-11-25T22:59:01.992Z

The issue was closed when we only had Updates in the MR and commit.

Author: Chris Johns

2024-11-26T01:12:54.196Z

mentioned in commit d53112736f76dc50995cda023ba4b20c2055c89f

Author: Chris Johns

2024-11-26T01:13:40.082Z

mentioned in merge request !80

Author: Chris Johns

2024-11-27T15:07:31.044Z

mentioned in commit 6a0772b8a2cc58389b298873bf94324316579076

Author: Kinsey Moore

2024-11-27T15:27:27.254Z

Closing since !80 is merged now.

35 - x86_64 breaks on MacOS M machines

Id

35

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Amar Takhar

Created

2024-10-02T03:37:57.339Z

Closed

2024-11-15T10:31:55.206Z

Updated

2024-11-15T10:31:55.281Z

Milestone

6.1

Labels

arch:x86_64, tool::rtems-source-builder

Link

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

Merges

1

Building the x86_64 tools on MacOS M silicon fails with:

config: tools/rtems-grub-2.06.cfg
grub2.cfg:11: "Darwin does not support Grub2 compilation by default."
grub2.cfg:12: "If you need Grub2 on Darwin, please install objconv"
grub2.cfg:13: "and enable it by removing '%undefine grub2_platform_supported' above"
config: tools/rtems-makefs-r12.cfg
package: makefs-v12-arm64-apple-darwin23.6.0-1
download: https://codeload.github.com/kusumi/makefs/tar.gz/r12 -> sources/makefs-r12.tar.gz
downloading: sources/makefs-r12.tar.gz - 646.2kB
building: makefs-v12-arm64-apple-darwin23.6.0-1
error: building makefs-v12-arm64-apple-darwin23.6.0-1
Build FAILED
See error report: rsb-report-makefs-v12-arm64-apple-darwin23.6.0-1.txt
Note: In some cases the error appears only in
the complete build log (see --log option)
error: building makefs-v12-arm64-apple-darwin23.6.0-1

Why is grub being built?

Author: Chris Johns

2024-10-02T03:37:57.560Z

assigned to @joel

Author: Amar Takhar

2024-10-02T04:45:12.766Z

Grub has been built for x86_64 since 2021. Something else has changed somewhere.

Author: Chris Johns

2024-10-17T23:44:40.564Z

I do not know. Why is it needed? The build could become dependent on MacOS?

Author: Chris Johns

2024-10-17T23:44:58.959Z

assigned to @amar

Author: Chris Johns

2024-10-17T23:45:36.908Z

unassigned @joel

Author: Amar Takhar

2024-10-25T19:59:18.826Z

I don’t have access to a macos M machine not sure what I can do here.

Author: Amar Takhar

2024-10-25T20:00:03.175Z

unassigned @amar

Author: Chris Johns

2024-10-31T22:51:32.956Z

assigned to @chris

Author: Sam Price

2024-11-15T11:13:50.394Z

I am building this inside of a ubuntu 20 container on a m1 mac

Author: Amar Takhar

2024-11-15T11:13:50.394Z

So you’re saying that it works or you are testing it? :)

Author: Sam Price

2024-11-15T11:13:50.394Z

Im just saying i can build the tools inside a docker container running ubuntu on a m1 chip. Im not sure i would attempt this on a local install of my mac.

Author: Amar Takhar

2024-11-15T11:13:50.394Z

Ah, thanks this support is for those running on MacOS which we support directly good to know that it works there thanks!

Author: Chris Johns

2024-11-15T08:59:07.969Z

The build fails with gmp-6.3.0-arm64-apple-darwin24.0.0-1 . Some sort of compiler error.

In file included from fib_table.c:4:
../gmp-impl.h:1356:43: error: unexpected type name 'mpz_srcptr': expected identifier
1356 |   void (*randseed_fn) (gmp_randstate_ptr, mpz_srcptr);
|                                           ^
../gmp-impl.h:1356:24: error: a parameter list without types is only allowed in a function definition
1356 |   void (*randseed_fn) (gmp_randstate_ptr, mpz_srcptr);
|                        ^
../gmp-impl.h:1357:42: error: unexpected type name 'mp_ptr': expected identifier
1357 |   void (*randget_fn) (gmp_randstate_ptr, mp_ptr, unsigned long int);
|                                          ^
../gmp-impl.h:1357:50: error: expected identifier
1357 |   void (*randget_fn) (gmp_randstate_ptr, mp_ptr, unsigned long int);
|                                                  ^
../gmp-impl.h:1357:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
1357 |   void (*randget_fn) (gmp_randstate_ptr, mp_ptr, unsigned long int);
|                      ^
|                                                                   void
../gmp-impl.h:1358:25: error: a parameter list without types is only allowed in a function definition
1358 |   void (*randclear_fn) (gmp_randstate_ptr);
|                         ^
../gmp-impl.h:1359:24: error: a parameter list without types is only allowed in a function definition
1359 |   void (*randiset_fn) (gmp_randstate_ptr, gmp_randstate_srcptr);
|                        ^
../gmp-impl.h:1377:47: error: a parameter list without types is only allowed in a function definition
1377 | __GMP_DECLSPEC void __gmp_randinit_mt_noseed (gmp_randstate_ptr);
|                                               ^
1 warning and 7 errors generated.

Author: Chris Johns

2024-11-15T08:59:07.969Z

The error was an old include in a build temp directory. I deleted the directory and GMP builds.

Author: Chris Johns

2024-11-15T10:12:14.705Z

mentioned in merge request !77

44 - expat picking up dockbook2man and erroring when XML support is not enabled.

Id

44

State

closed

Type

ISSUE

Author

Amar Takhar

Closed by

Amar Takhar

Created

2024-10-29T22:47:08.778Z

Closed

2024-10-29T22:58:18.313Z

Updated

2024-10-29T22:58:18.364Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Summary

Found by ita on Discord

By following these steps:

Steps to reproduce

Pre-set options

Author: Gedare Bloom

2024-10-29T22:57:04.472Z

mentioned in merge request !73

42 - gaisler.se qemu patch download fails

Id

42

State

closed

Type

ISSUE

Author

CHARLES TAYLOR

Closed by

Joel Sherrill

Created

2024-10-23T21:10:15.793Z

Closed

2024-10-24T22:24:09.301Z

Updated

2024-10-24T22:24:09.390Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Summary

During the build process of the QEMU source builder, a patch fails to apply due to an unresolved link to a non-RTEMS resource. Specifically, the gaisler.se URL times out and returns a 404 error. This prevents the completion of the cross-compiler emulator tool suite installation.

Config: devel/qemu-5.2.0-1.cfg
package: qemu-5.2.0-rc1-x86_64-linux-gnu-1
download:
https://gaisler.se/qemu/qemu-5.2.0-leon3.patch
-> patches/qemu-5.2.0-leon3.patch
download:
https://gaisler.se/qemu/qemu-5.2.0-leon3.patch:
error: HTTP Error 404: Not Found
error: downloading
https://gaisler.se/qemu/qemu-5.2.0-leon3.patch:
all paths have failed, giving up
Build FAILED
See error report: rsb-report-qemu-5.2.0-rc1-x86_64-linux-gnu-1.txt
Note: In some cases the error appears only in
the complete build log (see --log option)
error: downloading
https://gaisler.se/qemu/qemu-5.2.0-leon3.patch:
all paths have failed, giving up
Build Set: Time 0:02:22.412941
Build FAILED

Steps to reproduce

  1. Run sudo ../source-builder/sb-set-builder --prefix=/opt/rtems/6 devel/qemu

  2. Encounter failure on download of the following qemu patch https://gaisler.se/qemu/qemu-5.2.0-leon3.patch

Workaround

  1. Navigate to https://ftp.rtems.org/pub/rtems/releases/5/5.2/sources/

  2. Download the relevant patch (qemu-5.2.0-leon3.patch)

  3. Place it inside the patches directory under patches/qemu-5.2.0-leon3.patch

  4. re-run install

Author: Amar Takhar

2024-10-23T21:28:58.896Z

marked this issue as related to #18

Author: Amar Takhar

2024-10-23T21:29:41.290Z

Thank you for the report

Author: Joel Sherrill

2024-10-24T14:41:55.142Z

We have the perception that content on the Internet is forever but things disappear or move. :disappointed:

You seem to be in a good position to fix and test this. The solution should be to just change the line in the RSB Qemu configuration file with the URL to point to the RTEMS release directory. The hash should not change.

I don’t think using the patch from an RTEMS release directory is an issue. Those are intended to be very permanent.

If it works, just create a merge request and submit the fix.

Please and thank you.

Author: CHARLES TAYLOR

2024-10-24T14:41:41.147Z

@joel I updated the suggested file and posted the MR here: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/72 let me know if I did anything out of style.

Author: CHARLES TAYLOR

2024-10-24T18:06:46.097Z

mentioned in merge request !72

36 - dtc build failure on msys2 - all rtems6 target tools fail to build on Windows 10

Id

36

State

closed

Type

ISSUE

Author

Trac Migrate

Assignee(s)

Joel Sherrill

Closed by

Chris Johns

Created

2021-11-11T21:08:30.000Z

Closed

2024-10-18T21:24:10.584Z

Updated

2024-10-18T21:24:10.697Z

Milestone

6.1

Labels

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

Link

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

Merges

1

Original author: kgardas

I’m testing RSB git source updated 2021-11-10 and it fails on freshly installed msys2/windows 10 platform with:

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
$ ../source-builder/sb-check
RTEMS Source Builder - Check, 6 (efa44e47a7d2 modified)
Environment is ok

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
$ ../source-builder/sb-set-builder --prefix=/c/r/rr 6/rtems-sparc
RTEMS Source Builder - Set Builder, 6 (efa44e47a7d2 modified)
Build Set: 6/rtems-sparc
config: devel/dtc-1.6.0-1.cfg
package: dtc-1.6.0-x86_64-w64-mingw32-1
building: dtc-1.6.0-x86_64-w64-mingw32-1
error: building d1xwm1
Build FAILED
See error report: rsb-report-dtc-1.6.0-x86_64-w64-mingw32-1.txt
error: building d1xwm1
Build Set: Time 0:00:28.232196
Build FAILED

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems
$

the problem report is attached.

Joel adds: dtc does not build on msys2. It requires fnmatch.h which is not present. Alternative fixes include finding an alternative for fnmatch on msys2, providing an implementation to be used on msys2, or adding gnulib which is a portability package to our RSB packages on msys2.

Also there may be other tickets for the same issue.

Possible Mentors: Karel Gardas Skills: C Difficulty: Medium

Author: Amar Takhar

2024-10-03T02:38:52.661Z

assigned to @tracmigrate

Author: Amar Takhar

2024-04-26T01:34:53.550Z

assigned to @tracmigrate

Author: Trac Migrate

2021-11-11T21:09:20.000Z

Original author: kgardas

dtc compilation failure problem report.

Author: Joel Sherrill

2022-02-02T14:23:22.000Z

Original author: kgardas

  • Milestone set to rtems%”6.1”

Adding SoC as a ticket because I think this is a possible small SoC project. Possible solutions include adding gnulib to the RSB bset for msys2 or modifying dtc to use other APIs for this functionality.

Author: Joel Sherrill

2022-02-04T20:05:29.000Z

Original author: kgardas

  • Description changed

I'm testing RSB git source updated 2021-11-10 and it fails on freshly installed msys2/windows 10 platform with:

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems $ ../source-builder/sb-check RTEMS Source Builder - Check, 6 (efa44e47a7d2 modified) Environment is ok

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems $ ../source-builder/sb-set-builder –prefix=/c/r/rr 6/rtems-sparc RTEMS Source Builder - Set Builder, 6 (efa44e47a7d2 modified) Build Set: 6/rtems-sparc config: devel/dtc-1.6.0-1.cfg package: dtc-1.6.0-x86_64-w64-mingw32-1 building: dtc-1.6.0-x86_64-w64-mingw32-1 error: building d1xwm1 Build FAILED See error report: rsb-report-dtc-1.6.0-x86_64-w64-mingw32-1.txt error: building d1xwm1 Build Set: Time 0:00:28.232196 Build FAILED

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems $

the problem report is attached.
+
+ Joel adds: dtc does not build on msys2. It requires fnmatch.h which is not present. Alternative fixes include finding an alternative for fnmatch on msys2, providing an implementation to be used on msys2, or adding gnulib which is a portability package to our RSB packages on msys2.
+
+ Also there may be other tickets for the same issue.
  • Summary changed from RSB can’t build rtems-sparc target tools on Windows 10. to dtc build failure on msys2 - all rtems6 target tools fail to build on Windows 10

Author: Joel Sherrill

2022-02-25T21:15:50.000Z

Original author: kgardas

  • Description changed

I'm testing RSB git source updated 2021-11-10 and it fails on freshly installed msys2/windows 10 platform with:

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems $ ../source-builder/sb-check RTEMS Source Builder - Check, 6 (efa44e47a7d2 modified) Environment is ok

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems $ ../source-builder/sb-set-builder –prefix=/c/r/rr 6/rtems-sparc RTEMS Source Builder - Set Builder, 6 (efa44e47a7d2 modified) Build Set: 6/rtems-sparc config: devel/dtc-1.6.0-1.cfg package: dtc-1.6.0-x86_64-w64-mingw32-1 building: dtc-1.6.0-x86_64-w64-mingw32-1 error: building d1xwm1 Build FAILED See error report: rsb-report-dtc-1.6.0-x86_64-w64-mingw32-1.txt error: building d1xwm1 Build Set: Time 0:00:28.232196 Build FAILED

karel@DESKTOP-755H9VE MINGW64 /c/r/rtems-source-builder/rtems $

the problem report is attached.

Joel adds: dtc does not build on msys2. It requires fnmatch.h which is not present. Alternative fixes include finding an alternative for fnmatch on msys2, providing an implementation to be used on msys2, or adding gnulib which is a portability package to our RSB packages on msys2.

Also there may be other tickets for the same issue.
+
+ Possible Mentors: Karel Gardas
+ Skills: C
+ Difficulty: Medium

Author: Chris Johns

2022-11-29T23:48:28.000Z

Original author: kgardas

status update?

Author: Gedare Bloom

2024-02-17T05:15:05.000Z

Original author: kgardas

  • Owner set to kgardas

  • Status changed from new to assigned

Author: Amar Takhar

2024-04-25T20:49:19.387Z

changed the description

Author: Amar Takhar

2024-04-26T01:34:53.864Z

moved from rtems/rtos/rtems#4547

Author: Amar Takhar

2024-10-03T02:38:53.196Z

moved from rtems/programs/gsoc#76

Author: Amar Takhar

2024-10-03T02:39:04.891Z

unassigned @tracmigrate

Author: Gedare Bloom

2024-10-06T18:22:18.034Z

assigned to @joel

Author: Gedare Bloom

2024-10-06T21:56:30.608Z

marked this issue as related to #25

Author: Gedare Bloom

2024-10-06T22:11:07.024Z

mentioned in merge request !63

Author: Gedare Bloom

2024-10-10T04:44:21.038Z

mentioned in merge request !66

25 - dtc builds fail on MSYS2 for RTEMS 6

Id

25

State

closed

Type

ISSUE

Author

xiaojun zheng

Closed by

Chris Johns

Created

2024-07-19T02:18:03.490Z

Closed

2024-10-18T21:24:10.610Z

Updated

2024-10-18T21:24:10.690Z

Milestone

6.1

Link

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

Merges

1

Summary

MSYS2, target arm,aarch64

build command

../source-builder/sb-set-builder --log=l-arm.txt --prefix=/opt/rtems/6.1 6/rtems-arm

rsb-report-dtc-1.6.1-x86_64-w64-mingw32-1.txt

Author: xiaojun zheng

2024-07-19T02:19:08.785Z

changed the description

Author: Gedare Bloom

2024-10-06T21:56:30.668Z

marked this issue as related to #36

Author: Gedare Bloom

2024-10-06T22:11:06.516Z

mentioned in merge request !63

Author: Gedare Bloom

2024-10-10T04:44:20.984Z

mentioned in merge request !66

40 - Adding a hash in a release build generates an error

Id

40

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Amar Takhar

Created

2024-10-09T18:33:59.533Z

Closed

2024-10-09T22:08:02.520Z

Updated

2024-10-09T22:08:02.611Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Releases provide the release tar file hash in the VERSION file. This is read and loaded when the RSB starts a set build. If the package being built has a development hash in its configuration file the addition of that hash to the hash table results in an error because the hash is present and the value is different.

If the RSB is in release mode (%{release} == 1) do not raise an error. This lets the error happen during development if there is a duplicate and lets us ship untouched config files with the release versions of the tar files and hashes defined in VERSION.

Author: Chris Johns

2024-10-09T18:33:59.663Z

assigned to @chris

Author: Chris Johns

2024-10-09T22:05:19.096Z

mentioned in merge request !65

38 - Windows only code in common area in path.py

Id

38

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Gedare Bloom

Closed by

Chris Johns

Created

2024-10-07T07:09:52.783Z

Closed

2024-10-07T12:55:56.197Z

Updated

2024-10-07T12:55:56.244Z

Milestone

6.1

Link

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

Merges

1

The change to detect Windows 11 in !63 is in the common area and should have been guarded with a check of nt. It has broken non-Windows builds:

windows11 = sys.getwindowsversion().build >= 22000
^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'sys' has no attribute 'getwindowsversion'

Author: Chris Johns

2024-10-07T07:09:52.886Z

assigned to @gedare

Author: Chris Johns

2024-10-07T07:12:03.637Z

changed title from Windows only code in common area i{-s-} path.py to Windows only code in common area i{+n+} path.py

Author: Amar Takhar

2024-10-07T07:27:45.537Z

mentioned in merge request !64

32 - Can’t build everything with all locales

Id

32

State

closed

Type

ISSUE

Author

Christian Mauderer

Assignee(s)

Christian Mauderer

Closed by

Christian Mauderer

Created

2024-09-07T14:16:44.108Z

Closed

2024-09-07T16:07:57.350Z

Updated

2024-09-07T16:07:57.364Z

Milestone

6.1

Link

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

Merges

0

Summary

I wanted to build the qemu-xilinx on an Archlinux System with a German language setting. With that, downloading the sources for qemu-xilinx-v2023.2-1 failed. It seems that the source-builder/sb/git.py module tries to parse some language specific strings. My problem is at that line:

https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/blob/8488d28da6bfa233a90c2e80898696fd8de15534/source-builder/sb/git.py#L241

With a LANG=’C’ or LANG=’en_US’ setting, the output of git remote show origin has a line

HEAD branch: main

that is parsed by that module. With a LANG=’de_DE’, I instead get a

Hauptbranch: main

With that output, no default branch can be found and the source builder crashes at source-builder/sb/download.py in line 511:

repo.checkout(default_branch)

I’m not sure whether that’s the only place where a language specific string is parsed.

Steps to reproduce

On a system with a German locale, try

../source-builder/sb-set-builder –source-only-download devel/qemu-xilinx

Possible solutions

I can think of multiple solutions:

  • Setting the locale to ‘C’ for all RSB applications using the python locale.setlocale(...). Problem is: I’m not sure whether that works on Windows. I didn’t find any clear cross-platform solution.

  • Replacing the current git.py with the python git module. Most likely difficult due to dependencies.

  • Handle strings of all languages.

Any better ideas?

Author: Christian Mauderer

2024-09-07T14:16:44.287Z

assigned to @c-mauderer

Author: Christian Mauderer

2024-09-07T16:07:56.823Z

I did not analyze the problem enough. It was a problem with a broken clone of the repo in the sources directory. Sorry for creating the issue without analyzing enough.

13 - sb-rtems-pkg does not update rtems-tools checksum

Id

13

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Amar Takhar

Created

2024-06-15T03:22:23.484Z

Closed

2024-06-15T18:26:25.620Z

Updated

2024-09-05T11:27:37.864Z

Milestone

6.1

Link

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

Merges

2

Summary

Running the sb-rtems-pkg tool does not update the checksum

Steps to reproduce

cd rtems
../source-builder/sb-rtems-pkg
git diff

The error is no checksum update when the hash is updated:

diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg
index 7e4bfb0..8e7edc8 100644
--- a/rtems/config/tools/rtems-tools-6.cfg
+++ b/rtems/config/tools/rtems-tools-6.cfg
@@ -10,7 +10,7 @@
%define rtems_tools_source rtems-tools-%{rtems_tools_version}
%define rtems_tools_ext xz
%else
-%define rtems_tools_version ed300ed6061779ca6802b183e09d86e99649407d
+%define rtems_tools_version 9cd5599e468eaf847b690a4608906ca9bece10c7
%define rtems_tools_ext bz2
%endif

Author: Chris Johns

2024-06-15T03:22:23.637Z

assigned to @chris

Author: Chris Johns

2024-06-15T05:26:40.062Z

mentioned in merge request !29

Author: Frank Kuehndel

2024-09-05T11:27:37.803Z

mentioned in merge request !55

24 - Update newlib hash for RUSAGE_PTHREAD and remove sys/tree.h

Id

24

State

closed

Type

ISSUE

Author

Joel Sherrill

Assignee(s)

Joel Sherrill

Closed by

Chris Johns

Created

2024-07-15T19:13:17.634Z

Closed

2024-07-15T22:18:49.160Z

Updated

2024-08-28T23:15:01.481Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Summary

Update newlib hash per Title.

Author: Joel Sherrill

2024-07-15T19:13:17.790Z

assigned to @joel

Author: Joel Sherrill

2024-07-15T19:19:59.241Z

mentioned in merge request !37

Author: Sebastian Huber

2024-08-28T23:15:01.447Z

mentioned in merge request !54

28 - Update to binutils 2.34 for rtems 6

Id

28

State

closed

Type

ISSUE

Author

Joel Sherrill

Assignee(s)

Joel Sherrill

Closed by

Chris Johns

Created

2024-08-05T22:51:01.470Z

Closed

2024-08-07T02:53:55.645Z

Updated

2024-08-07T02:53:55.784Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Summary

Update binutils to 2.34 on all architectures possible

Author: Joel Sherrill

2024-08-05T22:51:01.569Z

assigned to @joel

Author: Joel Sherrill

2024-08-05T22:51:27.201Z

changed the description

Author: Joel Sherrill

2024-08-06T13:50:50.795Z

mentioned in merge request !44

23 - Microblaze Tools Fails to Build

Id

23

State

closed

Type

ISSUE

Author

Joel Sherrill

Closed by

Chris Johns

Created

2024-07-12T15:02:17.691Z

Closed

2024-07-16T22:30:37.013Z

Updated

2024-07-16T22:30:37.534Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Summary

Tools for microblaze-rtems6 fail to build with the issue being an XXX version conflict that results in a compile error for gcc. This is the error message from the RSB log:

libtool: compile:  gcc -O2 -g -pipe -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1000/6/rtems-microblaze/home/joel/rtems-work/tools/6/include -I/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-1000-internal/include -DHAVE_CONFIG_H -I. -I../../../gnu-mirror-gcc-d04fe55/mpc/src -I.. -g -O2 -MT mul.lo -MD -MP -MF .deps/mul.Tpo -c ../../../gnu-mirror-gcc-d04fe55/mpc/src/mul.c -o mul.o
../../../gnu-mirror-gcc-d04fe55/mpc/src/mul.c:175:1: error: conflicting types for \ |md_0_8216|\ mpfr_fmma\ |md_0_8217|\ ; have \ |md_0_8216|\ int(__mpfr_struct *, const __mpfr_struct *, const __mpfr_struct *, const __mpfr_struct *, const __mpfr_struct *, int,  mpfr_rnd_t)\ |md_0_8217|\
175 | mpfr_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
| ^~~~~~~~~
In file included from ../../../gnu-mirror-gcc-d04fe55/mpc/src/mpc.h:25,
from ../../../gnu-mirror-gcc-d04fe55/mpc/src/mpc-impl.h:30,
from ../../../gnu-mirror-gcc-d04fe55/mpc/src/mul.c:22:
/usr/include/mpfr.h:765:21: note: previous declaration of \ |md_0_8216|\ mpfr_fmma\ |md_0_8217|\  with type \ |md_0_8216|\ int(__mpfr_struct *, const __mpfr_struct *, const __mpfr_struct *, const __mpfr_struct *, const __mpfr_struct *, mpfr_rnd_t)\ |md_0_8217|\
765 | __MPFR_DECLSPEC int mpfr_fmma (mpfr_ptr, mpfr_srcptr, mpfr_srcptr, mpfr_srcptr,
|                     ^~~~~~~~~

I ran git bisect and it identified this as the breaking commit:

423d98d2058a7dac0921f9a13113b024696236b9 is the first bad commit
commit 423d98d2058a7dac0921f9a13113b024696236b9
Author: Chris Johns <chrisj@rtems.org>
Date:   Sat Jun 8 09:04:11 2024 +1000

gdb: Build MPFR before GDB as it now depeneds on it

Closes #7

bare/config/devel/expat-internal.bset       | 14 +++++++++
bare/config/devel/gmp-internal.bset         | 14 +++++++++
bare/config/devel/mpfr-4.2.1.cfg            | 18 +++++++++++
bare/config/devel/mpfr-internal.bset        | 14 +++++++++
rtems/config/6/rtems-default.bset           |  1 +
rtems/config/tools/rtems-default-tools.bset | 16 ++++++++--
source-builder/config/expat-2-1.cfg         | 47 ++++++++++++++++++++++++---
source-builder/config/gcc-13.cfg            |  8 ++---
source-builder/config/gcc-common-1.cfg      | 16 ++--------
source-builder/config/gdb-common-1.cfg      |  2 +-
source-builder/config/gmp.cfg               | 48 +++++++++++++++++++++++++---
source-builder/config/mpfr.cfg              | 49 ++++++++++++++++++++++++++---
source-builder/defaults.mc                  | 19 +++++++----
13 files changed, 223 insertions(+), 43 deletions(-)
create mode 100644 bare/config/devel/expat-internal.bset
create mode 100644 bare/config/devel/gmp-internal.bset
create mode 100644 bare/config/devel/mpfr-4.2.1.cfg
create mode 100644 bare/config/devel/mpfr-internal.bset

This is the git bisect log:

$ git bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [c085b3bafb66e7cf2f9afd8b2622b5c1799e1616] rtems-tools: Fetch rtems-syms improvements
git bisect bad c085b3bafb66e7cf2f9afd8b2622b5c1799e1616
# status: waiting for good commit(s), bad commit known
# good: [93321bacf219039a02b3150c83ed1114d5bd1657] Change README to markdown
git bisect good 93321bacf219039a02b3150c83ed1114d5bd1657
# good: [b7be268a79710ad267e967a112644b105b2c4133] config/rtems-kernel: Update for gitlab
git bisect good b7be268a79710ad267e967a112644b105b2c4133
# bad: [80f8bdb11dd373dfa26376c1beb378f0c16d7943] bare/expat-internal: Fix the default version
git bisect bad 80f8bdb11dd373dfa26376c1beb378f0c16d7943
# bad: [423d98d2058a7dac0921f9a13113b024696236b9] gdb: Build MPFR before GDB as it now depeneds on it
git bisect bad 423d98d2058a7dac0921f9a13113b024696236b9
# good: [d68c65b2e03ac7512922dc167f3573badc7d1cfe] config/rtems-net-services: Update for gitlab
git bisect good d68c65b2e03ac7512922dc167f3573badc7d1cfe
# good: [f39e9584775a0bccdbd6959a9c55d473330d08e2] Migrate devel links to gitlab
git bisect good f39e9584775a0bccdbd6959a9c55d473330d08e2
# first bad commit: [423d98d2058a7dac0921f9a13113b024696236b9] gdb: Build MPFR before GDB as it now depeneds on it

The microblaze target is using a specific version of binutils and gcc with patches extracted from the Xilinx repo. Updating to FSF versions is not possible. There is an effort underway to submit work but the person who reached out to the binutils and gcc communities says it may take a year. So we are stuck needing to get the Microblaze target back to its state before this patch.

The contrib/download_prerequisites script with the Xilinx gcc version cites these:

gmp-6.1.0.tar.bz2
mpfr-3.1.6.tar.bz2
mpc-1.0.3.tar.gz
isl-0.18.tar.bz2

Steps to reproduce

cd
rtems
../source-builder/sb-set-builder --prefix=${HOME}/rtems-work/tools/6 --log=l-microblaze.txt  6/rtems-microblaze

/milestone %6.1

Author: Joel Sherrill

2024-07-12T15:35:07.099Z

changed the description

Author: Alex White

2024-07-16T14:32:33.824Z

mentioned in merge request !39

22 - All Builds Fail on Cygwin From chmod Returning an Error

Id

22

State

closed

Type

ISSUE

Author

Joel Sherrill

Closed by

Chris Johns

Created

2024-07-08T16:58:19.497Z

Closed

2024-07-09T20:49:28.912Z

Updated

2024-07-09T20:49:28.992Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Summary

For some unknown reason, the _chmod_ has begun to fail on Cygwin. This is done after untar-ing the source files and results in all Cygwin RSB builds failing.

Steps to reproduce

Build any target on Cygwin. The generated do-build script is run with “sh -ex” which will exit on any command returning non-zero. The following shows the results of manually “sh -ex do-build ; echo $?”

+ tar_exit=0
+ cd sourceware-mirror-newlib-cygwin-7947581
+ chmod -R a+rX,g-w,o-w .
1

Author: Amar Takhar

2024-07-08T17:00:20.169Z

What version of Windows?

Author: Amar Takhar

2024-07-08T17:00:33.055Z

marked this issue as related to #21

Author: Amar Takhar

2024-07-08T17:08:22.824Z

If it’s Windows 10+ chmod isn’t going to be needed and those flags will cause issues for sure especially the group perms. If we want to just say “You need at least Windows 10” then deleting all of them would be fine.

Author: Joel Sherrill

2024-07-08T17:11:58.600Z

mentioned in merge request !33

11 - Source downloads fail

Id

11

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Amar Takhar

Created

2024-06-11T23:29:31.177Z

Closed

2024-06-12T01:41:26.609Z

Updated

2024-06-12T01:41:26.668Z

Milestone

6.1

Link

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

Merges

1

Summary

Running sb-get-sources fails because of incorrect logic in:

  1. config/tools/rtems-kernel-common.cfg

  2. source-builder/config/glib-2-meson.cfg

The changes are:

-%if %{_dry_run} && %{defined with_download}
+%if %{_dry_run} || %{defined with_download}

GNU GCC git upgrades has broken building gcc-4.9 compilers as the common support contains patches from git. Remove the GCC 4.9 builds from bare.

Changes to fix #9 in !21 breaks building RTEMS 7. The MPFR define is not present.

Steps to reproduce

cd rtems
../source-builder/sb-get-sources --stop-on-error

Author: Chris Johns

2024-06-11T23:29:31.261Z

assigned to @chris

Author: Chris Johns

2024-06-11T23:34:32.748Z

changed the description

Author: Chris Johns

2024-06-12T00:29:28.446Z

Reviewing the comments in config/tools/rtems-kernel-common.cfg it says:

# If a dry-run and with download ignore errors and correct setting for tools
# and BSPs. Only after the source to download.

and this means --dry-run and --with-download should be set. Reviewing the sb-get-sources command it is only providing --with-download as a default option:

opts = simhost.load_options(args, argopts, extras=['--with-download'])

Add --dry-run is a better solution.

Further review of source-builder/sb/getsources.py dry run returns True and the %{_dry_run} macro is 0. I will add a set of extra defaults to simhost.py to match the option defaults.

Author: Chris Johns

2024-06-12T01:01:30.305Z

changed title from Source downloads fail{- with incorrect logic-} to Source downloads fail

Author: Chris Johns

2024-06-12T01:01:30.329Z

changed the description

Author: Chris Johns

2024-06-12T01:36:16.362Z

mentioned in merge request !22

9 - GDB 14.2 fails to build on MacOS

Id

9

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Amar Takhar

Created

2024-06-11T04:28:05.144Z

Closed

2024-06-11T04:48:36.646Z

Updated

2024-06-12T01:01:30.418Z

Milestone

6.1

Link

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

Merges

1

From https://lists.rtems.org/pipermail/users/2024-June/068991.html

when trying to build the arm-tools with the Rtems Source Builder on osX and I get this error:

It starts with Python 3.12.3

RTEMS Tools Project - Source Builder Error Report
Build: error: building arm-rtems6-gdb-14.2-arm64-apple-darwin23.5.0-1
Command Line: ../source-builder/sb-set-builder --jobs=20 --prefix=/Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rtems/6 6/rtems-arm
Python: 3.12.3 (main, Apr  9 2024, 08:09:14) [Clang 15.0.0 (clang-1500.3.9.4)]
https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git/origin/ac974f70ecdb9c9ee64ff0611b78960437efc8da
Darwin Zarquon.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64
Tail of the build log:

but at the end /usr/local/bin/python3 gets called … which exists, but older Version???

checking how to link with libexpat... /Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/tmp/sb-501-internal/lib/libexpat.a
checking for XML_StopParser... yes
checking whether to use python... /usr/local/bin/python3
checking for python... no
configure: error: no usable python found at /usr/local/bin/python3
make[1]: *** [configure-gdb] Error 1
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex  /Volumes/Epics/LONG_ISLAND/RTEMS_ARM_libBsd_stack/rsb/rtems/build/arm-rtems6-gdb-14.2-arm64-apple-darwin23.5.0-1/do-build
error: building arm-rtems6-gdb-14.2-arm64-apple-darwin23.5.0-1%
junkes at Zarquon RTEMS_ARM_libBsd_stack % /usr/local/bin/python3
Python 3.12.2 (v3.12.2:6abddd9f6a, Feb  6 2024, 17:02:06) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.




  Even if I had previously actived a python environment ``./py3.12/bin/activate``

  On Linux everything works \ |md_0_8230|\  as usual ...

Author: Chris Johns

2024-06-11T04:28:05.300Z

assigned to @chris

Author: Chris Johns

2024-06-11T04:28:49.029Z

I have investigated the problem and the MacOS specific patch to work round this issue did not make it across to the GDB 14.2 configuration.

Author: Chris Johns

2024-06-11T04:34:42.191Z

mentioned in merge request !21

Author: Chris Johns

2024-06-12T01:01:30.397Z

mentioned in issue #11

7 - GDB requires GMP 4.2+, and MPFR 3.1.0+

Id

7

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Amar Takhar, Chris Johns

Closed by

Amar Takhar

Created

2024-06-06T20:49:21.554Z

Closed

2024-06-08T19:42:26.969Z

Updated

2024-06-08T19:42:27.056Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

The change to gdb-14 has changed the dependencies it has when building when a host does not have packages installed. The change is:

  1. GMP 4.2+

  2. MPDR 3.1.0+

We should check the change worked on MacOS with M2 processors

Author: Chris Johns

2024-06-06T20:49:21.618Z

changed due date to June 09, 2024

Author: Chris Johns

2024-06-06T20:49:21.668Z

assigned to @joel

Author: Chris Johns

2024-06-07T05:18:39.764Z

The RTEMS defaults tools for 6 builds GMP 6.3.0 so that is ok. The error must be MPFR.

The RSB bare has support for MPFR 4.2.0. This will be added to the defaults tools build.

Author: Chris Johns

2024-06-07T05:21:49.779Z

GCC 13 is building MPFR 4.2.1. The bare package should be moved to 4.2.1 and support in GCC 13 removed.

Author: Chris Johns

2024-06-07T22:30:20.731Z

assigned to @chris and unassigned @joel

Author: Chris Johns

2024-06-07T22:32:29.250Z

assigned to @joel

Author: Chris Johns

2024-06-08T04:44:19.340Z

@joel it seems MPFR and GDB use libtool and this is the error:

libtool: link: warning: library `/opt/work/chris/rtems/deploy/rtems-deployment.git/build/tmp/sb-500/tools/rtems-default-tools/opt/rtems/deploy/lib/libmpfr.la' was moved.
libtool: link: cannot find the library `/opt/rtems/deploy/lib/libgmp.la' or unhandled argument `/opt/rtems/deploy/lib/libgmp.la'
make[2]: *** [Makefile:2173: gdb] Error 1

It seems libtool does not like using staged libraries in a build and wants the library in the final location.

Author: Chris Johns

2024-06-08T04:44:19.340Z

If you have an existing install under the build prefix the build may work as libgmp.a etc are found. If you use:

--prefix=/never-exist --no-install

you will see the problem. This is a simple RSB set of options for the command line tests the RSB build works for a clean install.

The issue is the .la files libtool uses being installed into the _tmproot path used to stage internally used libraries. If they are deleted before the GDB build runs with:

rm -f $(find %{_tmproot} -name \\*.la)

before make runs in the gdb-common-1.cfg the build and GDB and GCC build.

I think the solution is to make GPM and MPFR internal packages so the prefix they have is internal and libtool should not see a problem.

Author: Chris Johns

2024-06-08T04:44:19.340Z

I have made the changes to build Expat, GMP and MPFR as internal packages. The build installs static libraries into a temporary internal path in the RSB’s build area and GDB and GCC link against these. The packages are not installed which I think is a good thing.

The MR !16 has the changes.

Author: Chris Johns

2024-06-07T23:06:16.806Z

assigned to @amar and unassigned @chris and @joel

Author: Chris Johns

2024-06-07T23:07:27.322Z

I have a patch on https://gitlab.rtems.org/chris/rtems-source-builder/-/tree/7-gdb-requires-gmp-4-2-and-mpfr-3-1-0?ref_type=heads which shows the error

Author: Chris Johns

2024-06-07T23:30:44.676Z

mentioned in issue #8

Author: Chris Johns

2024-06-08T00:47:06.901Z

mentioned in merge request !16

Author: Chris Johns

2024-06-08T04:44:42.974Z

assigned to @chris

8 - Change GDB back to 13

Id

8

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2024-06-07T23:30:44.306Z

Closed

2024-06-08T01:12:24.941Z

Updated

2024-06-08T01:12:24.952Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

0

Change the 6 version of GDB back to 13 until #7 is resolved.

Author: Chris Johns

2024-06-07T23:30:44.394Z

assigned to @chris

Author: Chris Johns

2024-06-07T23:53:49.093Z

Changing GDB to 13.2 lets it build however GCC fails with:

libtool: warning: library '/opt/work/chris/rtems/deploy/rtems-deployment.git/build/tmp/sb-500/tools/rtems-default-tools/opt/rtems/deploy/lib/libmpfr.la' was moved.
/usr/bin/grep: /opt/rtems/deploy/lib/libgmp.la: No such file or directory
/usr/bin/sed: can't read /opt/rtems/deploy/lib/libgmp.la: No such file or directory
libtool:   error: '/opt/rtems/deploy/lib/libgmp.la' is not a valid libtool archive

Another but similar error to the GDB MPFR one reported in #7

This is on Rocky 9

Author: Chris Johns

2024-06-08T01:12:11.875Z

I am closing this. It looks like the problem in #7 is related to deployment builds in rpmbuild to make an RPM. The updates from @joel build cleanly on FreeBSD 14 and Rocky 9 from the RSB command line.

4 - Move devel.rtems.org patches to gitlab.rtems.org

Id

4

State

closed

Type

ISSUE

Author

Gedare Bloom

Assignee(s)

Chris Johns

Closed by

Kinsey Moore

Created

2024-05-16T18:06:24.945Z

Closed

2024-06-06T23:26:44.614Z

Updated

2024-06-06T23:26:44.626Z

Milestone

6.1

Labels

infra::migration, tool::rtems-source-builder

Link

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

Merges

0

Summary

There are approx. 73 references to devel.rtems.org in RSB and most of them appear to be linking to patches. The patch attachment links appear to be mechanically fixable by replacing:

https://devel.rtems.org/raw-attachment/ticket/####/FILENAME with https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_attachments/FILENAME.patch

Steps to reproduce

Author: Gedare Bloom

2024-05-16T18:06:25.054Z

assigned to @chris

Author: Amar Takhar

2024-05-16T18:23:13.241Z

This won’t work. The directory structure was flattened so there are no more subdirectories I did this to future-proof in the hopes that they can actually be imported into GitLab in the future. So if there were previously 5 patch.diff files they will now be patch.diff, patch-1.diff, patch-2.diff etc.

I’ll see if I can generate a log so we can easily replace these not sure though due to how tracboat is written.

Author: Kinsey Moore

2024-06-05T21:04:36.562Z

mentioned in merge request !15

Author: Kinsey Moore

2024-06-06T23:26:44.321Z

This is fixed now that !15 is merged.

3 - Move git.rtems.org configurations to gitlab.rtems.org

Id

3

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Kinsey Moore

Created

2024-05-16T05:54:50.654Z

Closed

2024-06-06T23:26:30.996Z

Updated

2024-06-06T23:26:31.011Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

0

Summary

A number of configuration files reference git.rtems.org and they need to be changed to reference gitlab.rtems.org.

Author: Chris Johns

2024-05-16T05:54:50.758Z

assigned to @chris

Author: Kinsey Moore

2024-06-05T16:58:06.143Z

I’m working on this patch set, just FYI.

Author: Amar Takhar

2024-06-05T17:03:31.699Z

If there are any comments required outside of the changes we should keep them here and point users to this ticket if they have issues the MR should give them an indication of what URLs they need to switch ot.

Author: Kinsey Moore

2024-06-05T18:20:17.005Z

mentioned in merge request !15

Author: Kinsey Moore

2024-06-05T18:20:44.964Z

created branch 3-move-git-rtems-org-configurations-to-gitlab-rtems-org to address this issue

Author: Kinsey Moore

2024-06-05T18:22:05.220Z

Ignore that created branch…the MR is !15 to fix main/6/7.

Author: Kinsey Moore

2024-06-06T23:26:30.695Z

This is fixed now that !15 is merged.

5 - The –url command line option does not dowload all paths

Id

5

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2024-05-16T22:40:13.794Z

Closed

2024-05-23T22:08:28.464Z

Updated

2024-05-23T22:08:28.507Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Summary

When using --url some paths are not redirected:

download: https://sourceware.org/bugzilla/attachment.cgi?id=14783&format=raw -> patches/gdb-14067-python-config.diff

Steps to reproduce

Use:

../source-builder/sb-set-builder --log=ppc-6-ppc.txt --prefix=/opt/rtems/6 --url=https://ftp.rtems.org/pub/rtems/cache/rsb/main 6/rtems-powerpc

Author: Chris Johns

2024-05-16T22:40:13.883Z

assigned to @chris

Author: Chris Johns

2024-05-17T05:59:35.715Z

changed title from The –url command line option does not {-move-} all paths to The –url command line option does not {+dowload+} all paths

Author: Chris Johns

2024-05-17T06:00:56.961Z

I will clean up releases with the change. Releases where being treated as special when the --url option should be the same.

The requirement for --url is the path is to a cache of all the files.

Author: Chris Johns

2024-05-17T06:03:35.561Z

mentioned in merge request !11

2 - QEMU failed to build on FreeBSD 14

Id

2

State

closed

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Closed by

Amar Takhar

Created

2024-05-13T07:21:47.963Z

Closed

2024-05-16T05:07:07.237Z

Updated

2024-05-16T05:07:07.302Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

1

Pixman and GLib fail to build on FreeBSD 14

Pixman update to 0.42.2 build however GLib 2.69.3 requires meson and ninja to build. This is a major changed.

Steps to reproduce

cd bare
../source-builder/sb-set-builder --prefix=/opt/rtems/qemu --log=qemu.txt devel/qemu

Author: Chris Johns

2024-05-13T07:21:48.106Z

assigned to @chris

Author: Chris Johns

2024-05-14T04:16:16.059Z

Glib uses pkg-config via meson and meson checks for --version to determine if pkg-config is usable. I have added --version to the RSB pkg-config and meson seems happier:

Found pkg-config: YES (/opt/work/chris/rtems/rsb/rtems-source-builder.git/source-builder/pkg-config) version: 1.2.3

The Glib build now fails due to:

Run-time dependency libpcre found: NO (tried pkgconfig and cmake)
Run-time dependency libpcre found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libpcre
Downloading libpcre source from https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2 is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2 is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2 is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2 is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
WARNING: failed to download with error: could not get https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2 is the internet available?. Trying after a delay...
<urlopen error [Errno 8] Name does not resolve>
A fallback URL could be specified using source_fallback_url key in the wrap file

meson.build:2002:9: ERROR: could not get https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2 is the internet available?

Oh hmm

Author: Chris Johns

2024-05-14T04:16:16.059Z

FreeBSD has pcre2-10.43 installed and the following is present:

$ pkg which /usr/local/lib/libpcre2-16.a
/usr/local/lib/libpcre2-16.a was installed by package pcre2-10.43

and:

$ find /usr/local/libdata/ -name \\*.pc | grep pcre
/usr/local/libdata/pkgconfig/libpcre2-32.pc
/usr/local/libdata/pkgconfig/libpcre2-posix.pc
/usr/local/libdata/pkgconfig/libpcre2-16.pc
/usr/local/libdata/pkgconfig/libpcre2-8.pc

The RSB’s pkg-config has meson reporting:

Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Found pkg-config: YES (/opt/work/chris/rtems/rsb/rtems-source-builder.git/source-builder/pkg-config) version: 1.2.3
Determining dependency 'libpcre' with pkg-config executable '/opt/work/chris/rtems/rsb/rtems-source-builder.git/source-builder/pkg-config'
env[PKG_CONFIG_BUILD_TOP_DIR]: /opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/tmp/sb-1001/devel/qemu
env[PKG_CONFIG_PATH]: /opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/tmp/sb-1001/devel/qemu/opt/work/rtems/qemu/lib/pkgconfig
env[PKG_CONFIG]: /opt/work/chris/rtems/rsb/rtems-source-builder.git/source-builder/pkg-config
-----------
Called: `/opt/work/chris/rtems/rsb/rtems-source-builder.git/source-builder/pkg-config --modversion libpcre` -> 1

Using the FreeBSD pkg installed pkg-config gives:

Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Found pkg-config: YES (/usr/local/bin/pkg-config) 2.0.3
Determining dependency 'libpcre' with pkg-config executable '/usr/local/bin/pkg-config'
env[PKG_CONFIG_BUILD_TOP_DIR]: /opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/tmp/sb-1001/devel/qemu
env[PKG_CONFIG_PATH]: /opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/tmp/sb-1001/devel/qemu/opt/work/rtems/qemu/lib/pkgconfig
env[PKG_CONFIG]: /usr/local/bin/pkg-config
-----------
Called: `/usr/local/bin/pkg-config --modversion libpcre` -> 1

Both report no pcre present. The RSB pkg-config is not the issue. The question is why glib and/or meson does not find pcre?

The glib support in meson.build is:

pcre = dependency('libpcre', version: '>= 8.31', required : false) # Should check for Unicode support, too. FIXME
if not pcre.found()
if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl'
# MSVC: Search for the PCRE library by the configuration, which corresponds
# to the output of CMake builds of PCRE.  Note that debugoptimized
# is really a Release build with .PDB files.
if vs_crt == 'debug'
pcre = cc.find_library('pcred', required : false)
else
pcre = cc.find_library('pcre', required : false)
endif
endif
endif

# Try again with the fallback
if not pcre.found()
pcre = dependency('libpcre', required : true, fallback : ['libpcre', 'pcre_dep'])
use_pcre_static_flag = true
elif host_system == 'windows'
pcre_static = cc.links('''#define PCRE_STATIC
#include <pcre.h>
int main() {
void *p = NULL;
pcre_free(p);
return 0;
}''',
dependencies: pcre,
name : 'Windows system PCRE is a static build')
use_pcre_static_flag = pcre_static
else
use_pcre_static_flag = false
endif

Author: Chris Johns

2024-05-14T04:16:16.059Z

Updating to 2.80.2 as @amar kindly pointed out has resolved the PCRE issue

Author: Amar Takhar

2024-05-14T02:18:37.043Z

http://pcre.org/:

  • Note that the former ftp.pcre.org FTP site is no longer available. You will need to update any scripts that download PCRE source code to download via HTTPS, Git, or Subversion from the new home on GitHub instead.

Author: Amar Takhar

2024-05-14T04:17:22.081Z

https://github.com/PCRE2Project/pcre2/releases

Author: Chris Johns

2024-05-14T04:17:22.081Z

It is not yet clear what the issue is to trigger meson to take the path it has. And I would discourage letting glib build a package like this. Too easy to be manipulated.

Author: Amar Takhar

2024-05-14T04:17:22.081Z

You mean why glib can’t find libpcre or why it’s trying to download it?

Author: Amar Takhar

2024-05-14T04:17:22.081Z

What version of glib is this?

Author: Chris Johns

2024-05-14T04:17:22.081Z

Attempting to build glib-2.69.3

Author: Chris Johns

2024-05-14T04:17:22.081Z

I wonder if glib wants PCRE, ie 8.45 (or something), and not PCRE2?

Author: Amar Takhar

2024-05-14T04:17:22.081Z

glib stable is at 2.80 any reason to build an old version like that? Might be why it’s failing certainly why it’s looking for an old ftp.

Author: Chris Johns

2024-05-14T04:17:22.081Z

Ah thanks and no reason other than scanning the list of files and getting the wrong one. I will take a look.

Author: Chris Johns

2024-05-14T04:17:22.081Z

@amar The glib site says 2.81.0 (https://docs.gtk.org/glib/) but I cannot find it in the Releases on their gitlab site. I have paged through a lot of dot releases and got bored?

Author: Amar Takhar

2024-05-14T04:17:22.081Z

I think that is the version of the documentation which is probably HEAD. 2.81 isn’t released yet:

Author: Chris Johns

2024-05-14T04:17:22.081Z

Using 2.80.2 has sorted this issue. Thanks.

Author: Chris Johns

2024-05-14T04:42:02.723Z

Fixed the RSB pkg-config to support --modversion so meson is happy however there is a new issue with glib:

Found pkg-config: YES (/opt/work/chris/rtems/rsb/rtems-source-builder.git/source-builder/pkg-config) version: 1.2.3
Run-time dependency libpcre2-8 found: YES 10.43

meson.build:2214:0: ERROR: Subproject exists but has no meson.build file.

Author: Amar Takhar

2024-05-14T04:42:02.723Z

Do you have any build artifacts around? That error can happen from previous builds/downloads that have failed.

Author: Amar Takhar

2024-05-14T04:42:02.723Z

Are you using the ‘source code’ or ‘release tarball’?? Make sure you’re using the release tarball it has all the submodules already.

Author: Chris Johns

2024-05-14T04:42:02.723Z

Ah OK. I took the source tarball.

Author: Amar Takhar

2024-05-14T04:42:02.723Z

Okay probably source of the error then they don’t do a good job of making it clear you want the release tarball and not source.

Author: Chris Johns

2024-05-14T04:42:02.723Z

The released sources has resolved that issue

Author: Chris Johns

2024-05-14T04:52:24.733Z

The glib build has now moved onto fail with:

Dependency gvdb found: YES 0.0 (overridden)
Library m found: YES
Run-time dependency libffi found: YES 3.0.13
Run-time dependency zlib found: YES 1.3
Run-time dependency intl found: YES
Checking for function "ngettext" with dependency intl: YES
Checking for function "bind_textdomain_codeset" with dependency intl: YES
Checking for function "getxattr" : NO
Header "attr/xattr.h" has symbol "getxattr" : NO

meson.build:2318:4: ERROR: Problem encountered: No getxattr implementation found in C library or libxattr

Author: Chris Johns

2024-05-14T04:52:24.733Z

I do not have:

pxattr-2.1.0                   Portable utility to work with file extended attributes

installed. I do not like adding further dependencies into what we need.

Author: Amar Takhar

2024-05-14T04:52:24.733Z

You can pass -Dxattr=false To meson.

Author: Amar Takhar

2024-05-14T04:52:24.733Z

Actually the FreeBSD port may give you some ideas:

Author: Chris Johns

2024-05-14T04:52:24.733Z

Thanks, happy to borrow those options.

Author: Chris Johns

2024-05-15T02:47:29.135Z

Glib’s meson support does not like the staging used by the RSB. The RSB builds and installs packages into an internal temporary work space (using DESTDIR) and those packages are referenced using LDFLAGS etc when building on top of earlier packages. This is mostly working expect when running gio/glib-compile-resources. This tool does a compile and link as it does not include the LDFLAGS or LD. The LDFLAGS are used else where by meson without an issue so it seems this is specific to this type of build target. In this case iconv is built however there is:

[986/1597] /opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/glib-2.80.2-x86_64-freebsd14.0-1/glib-2.80.2/_build/gio/glib-compile-resources --compiler=clang --target=gio/tests/plugin-resources.c --sourcedir=/opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/glib-2.80.2-x86_64-freebsd14.0-1/glib-2.80.2/gio/tests --internal --generate-source --c-name _g_plugin ../gio/tests/test4.gresource.xml
FAILED: gio/tests/plugin-resources.c
/opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/glib-2.80.2-x86_64-freebsd14.0-1/glib-2.80.2/_build/gio/glib-compile-resources --compiler=clang --target=gio/tests/plugin-resources.c --sourcedir=/opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/glib-2.80.2-x86_64-freebsd14.0-1/glib-2.80.2/gio/tests --internal --generate-source --c-name _g_plugin ../gio/tests/test4.gresource.xml
ld-elf.so.1: /opt/work/chris/rtems/rsb/rtems-source-builder.git/bare/build/glib-2.80.2-x86_64-freebsd14.0-1/glib-2.80.2/_build/gio/../glib/libglib-2.0.so.0: Undefined symbol "libiconv_open"

Author: Amar Takhar

2024-05-15T02:47:29.135Z

There’s probably a different environment variable that’s used to avoid pulling in the system libraries and use the internal ones. Not sure why it isn’t adding the directories it may not be detecting them. Did you look at the FreeBSD Makefile to see what it does?

Author: Chris Johns

2024-05-15T02:47:29.135Z

It is a custom command so env handling would have to be in compiler as a child process.

While looking into the issue I notice the name gio/tests/test4.gresource.xml is a test so I checked meson_options.txt and found I could disable the tests. The build completes and qemu is now building.

Author: Chris Johns

2024-05-16T04:51:20.683Z

QEMU has built and install however the iconv shared library is not being installed:

$ /opt/work/rtems/qemu/bin/qemu-system-aarch64 --version
ld-elf.so.1: Shared object "libintl.so.9" not found, required by "libgio-2.0.so.0"

The installed shared libraries are:

$ find /opt/work/rtems/qemu -name \\*.so
/opt/work/rtems/qemu/lib/libgirepository-2.0.so
/opt/work/rtems/qemu/lib/libgettextsrc.so
/opt/work/rtems/qemu/lib/libpixman-1.so
/opt/work/rtems/qemu/lib/libgthread-2.0.so
/opt/work/rtems/qemu/lib/libffi.so
/opt/work/rtems/qemu/lib/libasprintf.so
/opt/work/rtems/qemu/lib/libintl.so
/opt/work/rtems/qemu/lib/libgettextsrc-0.18.3.so
/opt/work/rtems/qemu/lib/libgio-2.0.so
/opt/work/rtems/qemu/lib/libgettextlib-0.18.3.so
/opt/work/rtems/qemu/lib/libgettextlib.so
/opt/work/rtems/qemu/lib/libglib-2.0.so
/opt/work/rtems/qemu/lib/libgmodule-2.0.so
/opt/work/rtems/qemu/lib/libgobject-2.0.so
/opt/work/rtems/qemu/lib/libgettextpo.so

Author: Amar Takhar

2024-05-16T04:51:20.683Z

Is libintl.so.9 actually there? What is the link pointing to?

Author: Chris Johns

2024-05-16T04:51:20.683Z

It is built as part of the vertical stack if not present. I am looking into where the problem could be. I think this is an RSB issue.

Author: Chris Johns

2024-05-16T04:51:20.683Z

Hmm is is not being built:

config: devel/libiconv-1.14-1.cfg
config: devel/gettext-0.18.3.1-1.cfg
package: gettext-0.18.3.1-x86_64-freebsd14.0-1
building: gettext-0.18.3.1-x86_64-freebsd14.0-1

The package is in the stack but not built. It is only built on Windows.

Author: Amar Takhar

2024-05-16T04:51:20.683Z

If it’s not built how is there a libintl.so?? Is that being created somewhere else?

Author: Chris Johns

2024-05-16T04:51:20.683Z

I cleaned the build and install ${prefix} path and it is now failing with:

ld-elf.so.1: Shared object "libpixman-1.so.0" not found, required by "qemu-system-aarch64"

I cannot build pixman as static and adding --static to the qemu build gave me an error looking for libxml2 which I have not looked into. The shared library libpixman-1.so.0 is installed into ${prefix}/lib however qemu does not know to search there.

Author: Chris Johns

2024-05-16T04:51:20.683Z

The RSB configures qemu with:

--extra-ldflags="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}"

to set the search path in the executable. I am not sure why this has broken?

Author: Amar Takhar

2024-05-16T04:51:20.683Z

How come -rpath is empty? That might be your problem.

Author: Chris Johns

2024-05-16T04:51:20.683Z

It should not be empty as $SB_PREFIX_CLEAN is a clean version of the $prefix which is /opt/work/rtems/qemu? These options are (should be?) passed to cc which calls the ld with -rpath /opt/work/rtems/qemu/lib. The build system is meson and a make wraper which is calling ninja. I am not yet sure how to get a verbose option into that path.

Building with the path hard coded to the prefix:

--extra-ldflags="-Wl,-rpath -Wl,/opt/work/rtems/qemu/lib"

results in:

$ readelf -d /opt/work/rtems/qemu/bin/qemu-system-aarch64 | grep RUNPATH
$

If I change the path to something else:

--extra-ldflags="-Wl,-rpath -Wl,/chris/lib"

I get:

$ readelf -d /opt/work/rtems/qemu/bin/qemu-system-aarch64 | grep RUNPATH
0x000000000000001d RUNPATH              Library runpath: [/chris/lib]
$

Something must be touching these options if the path is based on the $prefix is not being set. The linker does not know about prefixing.

Author: Chris Johns

2024-05-16T04:51:20.683Z

And to prove there must be a simple pattern match I have made the path /$SB_PREFIX_CLEAN/lib/../lib and it works:

$ readelf -d /opt/work/rtems/qemu/bin/qemu-system-aarch64 | grep RUNPATH
0x000000000000001d RUNPATH              Library runpath: [/opt/work/rtems/qemu/lib/../lib]

Weird

Author: Chris Johns

2024-05-16T04:51:20.683Z

I think reason libintl.so.9 was not found by libgio-2.0.so.0 is gio is not built with a suitable -rpath option. I guess the rpath needs to be set for all packages in the vertical stack?

Author: Amar Takhar

2024-05-16T04:51:20.683Z

Oh sorry I was confused by the separate use of -Wl I usually use -Wl,-rpath=<path>

Yes it might need to be set for all of them but your find only showed the *.so files was libintl.so.9 actually there or another version?

Author: Chris Johns

2024-05-16T04:51:20.683Z

I am reluctant to change -rpath /a/b to -rpath=/a/b given it has been working for years.

Yes that library is installed but it is not found by gpio.

Also using /$SB_PREFIX_CLEAN/lib/ works as an -rpath.

Author: Chris Johns

2024-05-16T04:51:20.683Z

I have added -rpath to the packages in the stack and it works:

$ /opt/work/rtems/qemu/bin/qemu-system-aarch64  --version
QEMU emulator version 5.1.91
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

@amar thanks for your help and feedback, it has saved my sanity.

Author: Amar Takhar

2024-05-16T04:51:20.683Z

hah no problem I deal with this sort of thing a _lot_.

Also the only reason I use rpath=<path> is to make sure the path always sticks with the argument. I’ve had that not be the case but that was a long time ago.

Author: Chris Johns

2024-05-16T04:51:20.683Z

I agree on using = but I think the GNU doco was separate at the time but I cannot remember.

Author: Amar Takhar

2024-05-16T04:51:20.683Z

I think it was a bug in automake this was a really long time ago I’m sure it’s not an issue anymore but who knows..

Author: Chris Johns

2024-05-16T04:51:50.363Z

mentioned in merge request !10

1 - Migrate commits from master to main after gitlab transition

Id

1

State

closed

Type

ISSUE

Author

Gedare Bloom

Assignee(s)

Chris Johns

Closed by

Gedare Bloom

Created

2024-04-29T15:53:22.953Z

Closed

2024-05-02T04:57:55.003Z

Updated

2024-05-02T04:57:55.066Z

Milestone

6.1

Link

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

Merges

2

Summary

sync commits from master

Steps to reproduce

Author: Gedare Bloom

2024-04-29T15:53:28.235Z

created branch 1-migrate-commits-from-master-to-main-after-gitlab-transition to address this issue

Author: Gedare Bloom

2024-04-29T15:54:05.830Z

mentioned in merge request !1

Author: Gedare Bloom

2024-05-01T16:12:37.261Z

assigned to @chris

Author: Chris Johns

2024-05-02T00:29:13.078Z

Is this issue done?

Author: Gedare Bloom

2024-05-02T00:46:20.672Z

No

Author: Gedare Bloom

2024-05-02T04:27:57.779Z

mentioned in merge request !7

60 - RSB: All toolset builds fail on 6.1rc4 looking for texinfo (opened)

Id

60

State

opened

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Created

2024-12-15T23:25:49.007Z

Updated

2024-12-15T23:44:48.922Z

Milestone

6.1

Link

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

Merges

0

Summary

Attempting to build tools for rc4, set builder for all architectures failed with this output:

Build Set: print/texinfo-internal.bset
config: print/texinfo.cfg
error: no config file found: /home/joel/rtems-cron-6.1-rc4/rtems-source-builder-6.1-rc4/rtems/config/print/texinfo-7.0.3.cfg,/home/joel/rtems-cron-6.1-rc4/rtems-source-builder-6.1-rc4/source-builder/config/print/texinfo-7.0.3.cfg,/home/joel/rtems-cron-6.1-rc4/rtems-source-builder-6.1-rc4/bare/config/print/texinfo-7.0.3.cfg,/home/joel/rtems-cron-6.1-rc4/rtems-source-builder-6.1-rc4/rtems/config/print/texinfo-7.0.3.cfg

Steps to reproduce

../source-builder/sb-set-builder --prefix=/home/joel/rtems-cron-6.1-rc4//tools 6/rtems-aarch64

Pre-set options

Author: Chris Johns

2024-12-15T23:25:49.160Z

cloned from #58

Author: Chris Johns

2024-12-15T23:25:49.076Z

assigned to @chris

Author: Chris Johns

2024-12-15T23:26:13.413Z

Author: Chris Johns

2024-12-15T23:27:45.012Z

The file was removed from the release after the branch because the track tool was run on FreeBSD that had a texinfo package installed. The issue #58 tracks the change needed to fix the tool on main.

Author: Chris Johns

2024-12-15T23:44:48.754Z

mentioned in merge request !89

53 - RSB: clean unused buildsets and configurations (opened)

Id

53

State

opened

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Created

2024-11-27T04:05:26.733Z

Updated

2024-12-05T23:55:40.269Z

Milestone

6.1

Labels

release, tool::rtems-source-builder

Link

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

Merges

0

Remove buildset and configuration files not used by the RTEMS 6 release.

Author: Chris Johns

2024-11-27T04:05:27.225Z

Author: Chris Johns

2024-11-27T04:05:41.198Z

assigned to @chris

Author: Chris Johns

2024-11-27T04:06:30.717Z

changed the description

Author: Chris Johns

2024-11-27T05:52:54.211Z

The list of configuration files not referenced is rsb-6-cfgs-remove.txt. The list was created from the output of this command:

../source-builder/sb-track --not-referenced --output=rsb-6.txt

The list in from the un-referenced section of the output.

Author: Chris Johns

2024-11-28T01:02:20.465Z

mentioned in merge request !85

Author: Chris Johns

2024-12-04T00:30:32.924Z

Author: Chris Johns

2024-12-05T23:55:40.233Z

57 - Add rtems-lwip build set (opened)

Id

57

State

opened

Type

ISSUE

Author

Chris Johns

Assignee(s)

Kinsey Moore

Created

2024-12-05T23:13:12.755Z

Updated

2024-12-05T23:20:29.442Z

Milestone

6.1

Labels

network::lwip, tool::rtems-source-builder

Link

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

Merges

0

Add an rtems-lwip build set to the rtems/config/net directory to build the RTEMS LWIP package.

Author: Chris Johns

2024-12-05T23:13:12.873Z

cloned from #56

Author: Chris Johns

2024-12-05T23:13:12.805Z

assigned to @opticron

Author: Chris Johns

2024-12-05T23:15:30.269Z

marked this issue as blocking rtems/rtos/rtems-release#6

Author: Chris Johns

2024-12-05T23:18:04.401Z

Author: Kinsey Moore

2024-12-05T23:20:29.411Z

marked this issue as blocking #55

52 - 6: Add –release-branch option to use on release branches (opened)

Id

52

State

opened

Type

ISSUE

Author

Chris Johns

Assignee(s)

Chris Johns

Created

2024-11-26T03:43:51.598Z

Updated

2024-12-04T21:39:41.192Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Merges

0

Author: Chris Johns

2024-11-26T03:43:52.046Z

Author: Chris Johns

2024-11-26T03:44:31.371Z

assigned to @chris

Author: Chris Johns

2024-11-26T03:48:56.733Z

mentioned in merge request !83

Author: Chris Johns

2024-11-27T02:38:17.040Z

mentioned in merge request !84

Author: Gedare Bloom

2024-12-04T21:39:42.287Z

Merge Requests

89 - bare/texinfo: Add back texinfo-7.0.3.cfg which was removed by sb-track

Id

89

State

merged

Merged by

Amar Takhar

Merged at

2024-12-16T04:28:29.333Z

Assignee(s)

Chris Johns

Created

2024-12-15T23:44:44.831Z

Updated

2024-12-16T04:28:30.817Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

7dd6535a46a08e80fb1bf7713899ed66df029bde

Summary

Add back texinfo-7.0.3.cfg which was removed by sb-track

The tool will be fixed on main. This is isolated to the 6 release branch.

Closes #60

Author: Chris Johns

2024-12-15T23:44:45.032Z

assigned to @chris

Author: Amar Takhar

2024-12-16T04:28:24.005Z

approved this merge request

87 - Remove lwIP build set

Id

87

State

merged

Merged by

Gedare Bloom

Merged at

2024-12-07T02:55:17.629Z

Assignee(s)

Kinsey Moore

Created

2024-12-06T03:46:22.360Z

Updated

2024-12-07T02:55:19.441Z

Milestone

6.1

Labels

network::lwip, tool::rtems-source-builder

Link

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

Commit

733a9b18b9e5ae9500f3adf903c0a94656d430e7

Summary

Remove lwIP build set

Closes #55

Author: Kinsey Moore

2024-12-06T03:46:22.560Z

assigned to @opticron

Author: Kinsey Moore

2024-12-06T03:48:26.391Z

changed the description

Author: Gedare Bloom

2024-12-07T02:55:11.837Z

approved this merge request

85 - RTEMS: Remove 7 build sets

Id

85

State

merged

Merged by

Amar Takhar

Merged at

2024-11-28T04:54:08.615Z

Assignee(s)

Chris Johns

Created

2024-11-28T01:02:13.252Z

Updated

2024-11-28T04:54:10.892Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

c8f5eea268f28f7ad4085671fc12a296d87858ef

Summary

Remove 7 build sets and non-referenced configuration files.

Updates #53

Author: Chris Johns

2024-11-28T01:02:13.443Z

assigned to @chris

Author: Amar Takhar

2024-11-28T04:53:51.186Z

approved this merge request

Author: Amar Takhar

2024-11-28T04:53:58.583Z

added 3 commits

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

  • 30d2f8c3 - rtems: Remove 7 build sets

  • c8f5eea2 - rtems: Remove unreferenced configuration files from the release

Compare with previous version

80 - RTEMS C++ Patch to support C++17 filesystem namespace calls

Id

80

State

merged

Merged by

Kinsey Moore

Merged at

2024-11-27T15:25:51.833Z

Assignee(s)

Chris Johns

Reviewer(s)

Joel Sherrill

Created

2024-11-26T01:13:35.655Z

Updated

2024-11-27T15:27:28.568Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

6a0772b8a2cc58389b298873bf94324316579076

Summary

Patch to support C++17 filesystem namespace calls.

Updates #46

(cherry picked from commit 8d96b6fc4419a14b6f5be7c1b792805041e014e6)

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

Author: Chris Johns

2024-11-26T01:13:35.873Z

requested review from @joel

Author: Chris Johns

2024-11-26T01:13:35.890Z

assigned to @chris

Author: Kinsey Moore

2024-11-27T15:07:23.551Z

approved this merge request

Author: Kinsey Moore

2024-11-27T15:07:32.678Z

added 2 commits

  • afd2a47d - 1 commit from branch 6

  • 6a0772b8 - rtems/c++: Patch to support C++17 filesystem namespace calls

Compare with previous version

Author: Kinsey Moore

2024-11-27T15:27:28.318Z

mentioned in issue #46

81 - RTEMS Packages Update to the 6 branch packages

Id

81

State

merged

Merged by

Gedare Bloom

Merged at

2024-11-27T02:36:10.570Z

Assignee(s)

Chris Johns

Created

2024-11-26T03:39:46.485Z

Updated

2024-11-27T02:36:13.293Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

afd2a47d08a47fff60a7060ac9e0a6f4962e0ac6

Update the packages in the RSB to the 6 branches.

Author: Chris Johns

2024-11-26T03:39:46.659Z

assigned to @chris

Author: Gedare Bloom

2024-11-27T02:36:03.906Z

approved this merge request

77 - rtems/x86_64: Do not build grub or makefs on MacOS

Id

77

State

merged

Merged by

Amar Takhar

Merged at

2024-11-15T10:31:54.871Z

Assignee(s)

Chris Johns

Created

2024-11-15T10:12:09.995Z

Updated

2024-11-20T23:43:37.970Z

Milestone

6.1

Labels

arch:x86_64, tool::rtems-source-builder

Link

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

Commit

fbe7b1b93767ed29ec942fa50b3ff73e5ff87360

Do not build grub or makefs on MacOS when building X86_64 tools

Closes #35

Author: Chris Johns

2024-11-15T10:12:10.205Z

assigned to @chris

Author: Chris Johns

2024-11-15T10:13:16.616Z

added 2 commits

  • 93a8b66a - 1 commit from branch rtems/tools:main

  • fbe7b1b9 - rtems/x86_64: Do not build grub or makefs on MacOS

Compare with previous version

Author: Amar Takhar

2024-11-15T10:31:50.357Z

approved this merge request

Author: Chris Johns

2024-11-20T23:43:37.822Z

mentioned in issue #15

76 - RTEMS Packages Updates for 6

Id

76

State

merged

Merged by

Amar Takhar

Merged at

2024-11-15T07:39:52.297Z

Assignee(s)

Chris Johns

Created

2024-11-15T07:22:10.384Z

Updated

2024-11-15T07:39:54.253Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

93a8b66a3460c89a979e92170082536c4f594111

Update RTEMS and Tools for RSB builds of these packages.

Author: Chris Johns

2024-11-15T07:22:10.549Z

assigned to @chris

Author: Amar Takhar

2024-11-15T07:39:46.153Z

approved this merge request

74 - Fix sb-rtems-pkg and update the packages

Id

74

State

merged

Merged by

Amar Takhar

Merged at

2024-11-01T05:06:28.033Z

Assignee(s)

Chris Johns

Reviewer(s)

Kinsey Moore

Created

2024-11-01T02:14:28.237Z

Updated

2024-11-01T05:06:29.891Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

d82e3f433ba1441dc97e9d3c78eb0eb93212ed16

Fix the sb-rtems-pkg and update the packages. This fixes building rtems-net-legacy.

Author: Chris Johns

2024-11-01T02:14:28.404Z

assigned to @chris

Author: Kinsey Moore

2024-11-01T04:16:40.509Z

Should this also be fixed to point at tools/rtems-libbsd-%{rtems_version}.cfg?

Author: Chris Johns

2024-11-01T04:16:25.173Z

changed this line in version 2 of the diff

Author: Chris Johns

2024-11-01T04:16:40.509Z

Yes and thanks. Fixed.

Author: Chris Johns

2024-11-01T04:16:25.400Z

added 2 commits

  • fcfc4108 - sb/rtems-pkg: Fix the libbsd and net-legacy config for rtems_waf

  • d82e3f43 - rtems: Update packages with release related changes

Compare with previous version

Author: Chris Johns

2024-11-01T04:16:40.532Z

resolved all threads

Author: Chris Johns

2024-11-01T04:17:04.888Z

requested review from @opticron

Author: Amar Takhar

2024-11-01T05:06:22.425Z

approved this merge request

73 - expat: disable docbook to avoid man page generation error

Id

73

State

merged

Merged by

Amar Takhar

Merged at

2024-10-29T22:58:18.073Z

Created

2024-10-29T22:56:59.060Z

Updated

2024-10-29T22:58:20.409Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

e52d2288c8a0df64466010839ca1eb40c6d243ed

Summary

expat: disable docbook to avoid man page generation error

The error occurs when building with the docbook-utils package installed on Ubuntu. Disabling docbook prevents the man page for xmlwf from being created.

Fixes #44.

Author: Amar Takhar

2024-10-29T22:57:56.603Z

approved this merge request

32 - rsb(rtems-build-dep): handle multiple library paths

Id

32

State

merged

Merged by

Kinsey Moore

Merged at

2024-07-05T21:15:57.539Z

Created

2024-06-29T16:49:54.435Z

Updated

2024-10-26T14:58:37.028Z

Milestone

6.1

Link

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

Commit

eda555d1d75f24fd816090e352f77f668ef02437

Summary

The script rtems-build-dep might fail to find a library if multiple -L path arguments are passed.

The argument parser only keeps the last library path provided:

# source-builder/sb/rtems-build-dep
libraries="$2"; shift;
shift;;

Take the following example. We are trying to find libpython3.so, which can be found on /usr/lib:

$ rtems-build-dep -c gcc -L /usr/lib -l libpython3.so # this works because we only pass -L once


  found

  $ rtems-build-dep -c gcc -L /tmp/ -L /usr/lib -l libpython3.so # this also works because /usr/lib is the last path provided


    found

    $ rtems-build-dep -c gcc -L /usr/lib -L /tmp/ -l libpython3.so # this fails because /usr/lib is discarded


      not-found


  I've made a change to handle multiple library paths in the same fashion multiple include directories are handled.

  --

  I don't know the implications of this change. So far, I've managed to build the ``6/rtems-arm`` bset successfully using this changes.

Author: Agustin Catellani

2024-06-29T17:00:33.854Z

changed the description

Author: Gedare Bloom

2024-07-05T20:59:13.913Z

requested review from @chris

Author: Gedare Bloom

2024-07-05T20:59:55.824Z

removed review request for @chris

Author: Gedare Bloom

2024-07-05T21:00:15.560Z

approved this merge request

Author: Agustin Catellani

2024-10-26T14:58:36.954Z

mentioned in issue #43

50 - Use 4.11 branch for rtems-tools automake patch URL

Id

50

State

merged

Merged by

Chris Johns

Merged at

2024-10-25T21:07:29.557Z

Created

2024-08-21T07:49:30.453Z

Updated

2024-10-25T21:07:31.221Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

6b76c4c7baa6557a068f2082a15bf5cdf410671a

Summary

Use 4.11 branch for rtems-tools automake patch URL

The automake-1.12.6-bugzilla.redhat.com-1239379.diff patch used for the 4.11 toolchain does not exist in the “5” branch in the rtems-tools repository, but does exist in the “4.11” branch, so change the URL used to get rtems-tools files to use the “4.11” branch instead.

This should resolve errors like this in the build:

Creating source directory: patches
download: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/raw/5/tools/4.11/automake/automake-...<see log> -> patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff
download: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/raw/5/tools/4.11/automake/automake-...<see log>: error: HTTP Error 404: Not Found
error: downloading https://gitlab.rtems.org/rtems/tools/rtems-tools/-/raw/5/tools/4.11/automake/automake-1.12.6-bugzilla.redhat.com-1239379.diff?h=4.11: all paths have failed, giving up
Build FAILED
See error report: rsb-report-automake-1.12.6-x86_64-linux-gnu-1.txt
error: downloading https://gitlab.rtems.org/rtems/tools/rtems-tools/-/raw/5/tools/4.11/automake/automake-1.12.6-bugzilla.redhat.com-1239379.diff?h=4.11: all paths have failed, giving up
Build Set: Time 0:00:08.019691
error: downloading https://gitlab.rtems.org/rtems/tools/rtems-tools/-/raw/5/tools/4.11/automake/automake-1.12.6-bugzilla.redhat.com-1239379.diff?h=4.11: all paths have failed, giving up
Build Set: Time 0:00:08.020617
error: downloading https://gitlab.rtems.org/rtems/tools/rtems-tools/-/raw/5/tools/4.11/automake/automake-1.12.6-bugzilla.redhat.com-1239379.diff?h=4.11: all paths have failed, giving up
Build Set: Time 0:00:08.022781
Build FAILED

Author: Martin Werner

2024-08-21T07:50:15.811Z

changed the description

Author: Chris Johns

2024-10-25T21:07:14.390Z

Why use the bare/config/devel/automake-1.12.6-1.cfg branch of the RSB?

Author: Martin Werner

2024-10-25T21:07:14.390Z

I’m assuming there’s a “not” missing in that question? Since at the moment it does not use a copy of that file.

The diff between them contains quite a bit more, of which I assume quite a bit is rtems-specific and cannot be replaced wholesale:

$ git diff origin/4.11:rtems/config/tools/rtems-automake-1.12.6-1.cfg origin/5:bare/config/devel/automake-1.12.6-1.cfg
diff --git a/rtems/config/tools/rtems-automake-1.12.6-1.cfg b/bare/config/devel/automake-1.12.6-1.cfg
index a9c2bbb..d294216 100644
--- a/rtems/config/tools/rtems-automake-1.12.6-1.cfg
+++ b/bare/config/devel/automake-1.12.6-1.cfg
@@ -2,28 +2,23 @@
# Automake 1.12.6
#

-%if %{rtems_arch} == none
- %define _target %{_host}
+%if %{release} == %{nil}
+%define release 1
%endif

-%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg
-%include %{_configdir}/versions.cfg

-%define rtems_automake_version 1.12.6
+%define automake_version 1.12.6
+
+%hash sha256 automake-%{automake_version}.tar.gz 0cbe570db487908e70af7119da85ba04f7e28656b26f717df0265ae08defd9ef

#
# Fix the warning on new perl versions.
#
-%patch add automake -p1 %{rtems_automake_patches}/automake-1.12.6-bugzilla.redhat.com-1239379.diff?h=4.11
-%hash  md5 automake-1.12.6-bugzilla.redhat.com-1239379.diff 8f53b687f9eae7c00c460e80bbef9276
+%patch add automake -p1 https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_attachments/automake-1.12.6-bugzilla.redhat.com-1239379.diff
+%hash  sha256 automake-1.12.6-bugzilla.redhat.com-1239379.diff a406f23667f3e7844ebc77b6f4f43811b9e39046365b686cc689cb0ae9c88b8b

#
-# Check the version of automake in the path.
+# The automake build instructions. We use 1.xx Release 1.
#
-%if %{__automake_ver} < %{rtems_automake_version}
- #
- # Tools configuration.
- #
- %include %{_configdir}/devel/automake-1.12.6-1.cfg
-%endif
+%include %{_configdir}/automake-1-1.cfg

But I guess it might make sense to use the same tracmigration url (and the nicer sh256 checksum) from that file into the 4.11 branch, if that’s what you mean?: https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_attachments/automake-1.12.6-bugzilla.redhat.com-1239379.diff

Using the tracmigration url solves the build issue similarly for me as far as I can tell.

Would it still make sense to update %{rtems_git_tools} to point at 4.11 instead of 5?

Author: Kinsey Moore

2024-10-25T21:07:14.390Z

@chris I’ve updated the patch set to resolve related issues. Could you could give this a once-over to see if this thread is now resolvable?

Author: Kinsey Moore

2024-10-25T21:07:14.390Z

Just FYI, I ran through all of the toolchain builds and QEMU and this patchset now resolves all download errors, but several toolchains were not compilable because my native toolchain was too new and threw errors about certain syntax no longer being allowed in C++17.

Author: Kinsey Moore

2024-10-22T13:24:11.620Z

approved this merge request

Author: Kinsey Moore

2024-10-22T13:25:37.028Z

unapproved this merge request

Author: Kinsey Moore

2024-10-22T20:59:37.314Z

added 3 commits

  • ef217406 - sb: %if checks are numeric if the left and right values are numbers

  • 7efeb59d - gdb: Split python’s version into major/minor and check for embed option

  • 6b76c4c7 - Update ARM toolchain build for the new newlib patch path

Compare with previous version

Author: Kinsey Moore

2024-10-22T21:00:26.958Z

I’ve updated this patch set to include a backport of a couple fixes that were required on modern systems plus a change to handle path issues on ARM.

Author: Kinsey Moore

2024-10-22T21:00:33.666Z

approved this merge request

Author: Chris Johns

2024-10-25T21:07:14.407Z

resolved all threads

71 - rtems: Update packages

Id

71

State

merged

Merged by

Amar Takhar

Merged at

2024-10-25T19:58:31.608Z

Assignee(s)

Chris Johns

Reviewer(s)

Amar Takhar

Created

2024-10-24T06:03:21.733Z

Updated

2024-10-25T19:58:33.712Z

Milestone

6.1

Link

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

Commit

78680c889c2458f26170fe6e4a05c37791aacc87

Update the package to the current main for each repo effected.

Author: Chris Johns

2024-10-24T06:03:22.281Z

assigned to @chris

Author: Chris Johns

2024-10-24T20:50:59.938Z

mentioned in issue rtems/pkg/rtems-net-services#3

Author: Chris Johns

2024-10-24T23:06:20.408Z

marked this merge request as draft

Author: Chris Johns

2024-10-25T05:29:56.917Z

added 2 commits

  • 0fc8e056 - sb/rtems-pkg: Add support for submodules

  • 303a1e12 - rtems: Update packages

Compare with previous version

Author: Chris Johns

2024-10-25T06:25:39.102Z

added 2 commits

  • f7ba8466 - sb/rtems-pkg: Add support for submodules

  • fec227c7 - rtems: Update packages

Compare with previous version

Author: Chris Johns

2024-10-25T06:25:48.647Z

marked this merge request as ready

Author: Chris Johns

2024-10-25T06:27:22.273Z

I have fixed sb-rtems-pkg to handle submodules so rtems-net-services``will pick up the updated ``rtems_waf. I have tested it with the rtems-deployment change got AMD K26.

Author: Chris Johns

2024-10-25T06:29:12.073Z

mentioned in merge request rtems-deployment!12

Author: Chris Johns

2024-10-25T19:56:50.155Z

requested review from @amar

Author: Amar Takhar

2024-10-25T19:58:01.521Z

added 3 commits

  • d7870131 - 1 commit from branch rtems/tools:main

  • 875c1c7f - sb/rtems-pkg: Add support for submodules

  • 78680c88 - rtems: Update packages

Compare with previous version

Author: Amar Takhar

2024-10-25T19:58:26.875Z

approved this merge request

72 - Updated qemu patch to point to rtems.org domain from geisler.se which now 404s

Id

72

State

merged

Merged by

Joel Sherrill

Merged at

2024-10-24T22:24:08.845Z

Created

2024-10-24T14:41:02.508Z

Updated

2024-10-24T22:24:12.133Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

d7870131e4de88f35ed137e62c83874597ccee82

Summary

This resolves issue https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/42

RTEMS Source Builder - Set Builder, 6 (d7870131e4de)
Build Set: devel/qemu
Build Set: devel/autotools-internal.bset
config: devel/autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
download: https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz -> sources/autoconf-2.69.tar.gz
downloading: sources/autoconf-2.69.tar.gz - 1.8MB of 1.8MB (100%)
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 7.496MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
config: devel/automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
download: https://ftp.gnu.org/gnu/automake/automake-1.12.6.tar.gz -> sources/automake-1.12.6.tar.gz
downloading: sources/automake-1.12.6.tar.gz - 2.0MB of 2.0MB (100%)
download: https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_atta...<see log> -> patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff
downloading: patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff - 0.0 bytedownloading: patches/automake-1.12.6-bugzilla.redhat.com-1239379.diff - 408.0 bytes of 408.0 bytes (100%)
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 8.090MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
config: devel/libtool-2.4.7-1.cfg
package: libtool-2.4.7-x86_64-linux-gnu-1
download: https://ftp.gnu.org/gnu/libtool/libtool-2.4.7.tar.gz -> sources/libtool-2.4.7.tar.gz
downloading: sources/libtool-2.4.7.tar.gz - 1.8MB of 1.8MB (100%)
building: libtool-2.4.7-x86_64-linux-gnu-1
sizes: libtool-2.4.7-x86_64-linux-gnu-1: 9.905MB (installed: 0.000B)
cleaning: libtool-2.4.7-x86_64-linux-gnu-1
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
cleaning: libtool-2.4.7-x86_64-linux-gnu-1
Build Sizes: usage: 9.905MB total: 183.120MB (sources: 183.098MB, patches: 22.901KB, installed 0.000B)
Build Set: Time 0:00:16.995923
config: devel/libiconv-1.14-1.cfg
config: devel/gettext-0.18.3.1-1.cfg
package: gettext-0.18.3.1-x86_64-linux-gnu-1
download: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz -> sources/gettext-0.18.3.1.tar.gz
downloading: sources/gettext-0.18.3.1.tar.gz - 15.6MB of 15.6MB (100%)
building: gettext-0.18.3.1-x86_64-linux-gnu-1
sizes: gettext-0.18.3.1-x86_64-linux-gnu-1: 182.624MB (installed: 23.443MB)
cleaning: gettext-0.18.3.1-x86_64-linux-gnu-1
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-linux-gnu-1.txt
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-linux-gnu-1.xml
config: devel/libffi-3.0.13-1.cfg
package: libffi-3.0.13-x86_64-linux-gnu-1
download: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz -> sources/libffi-3.0.13.tar.gz
downloading: sources/libffi-3.0.13.tar.gz - 825.9kB of 825.9kB (100%)
download: http://gitlab.rtems.org/rtems/tools/rtems-tools/-/raw/main/tools/libffi/libffi-pkg-con...<see log> -> patches/libffi-pkg-config-lib64-fix.diff
redirect: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/raw/main/tools/libffi/libffi-pkg-co...<see log>
downloading: patches/libffi-pkg-config-lib64-fix.diff - 0.0 bytes of 451.0 bytesdownloading: patches/libffi-pkg-config-lib64-fix.diff - 451.0 bytes of 451.0 bytes (100%)
building: libffi-3.0.13-x86_64-linux-gnu-1
sizes: libffi-3.0.13-x86_64-linux-gnu-1: 6.699MB (installed: 666.614KB)
cleaning: libffi-3.0.13-x86_64-linux-gnu-1
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-linux-gnu-1.txt
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-linux-gnu-1.xml
config: devel/pixman-0.42.2.cfg
package: pixman-0.42.2-x86_64-linux-gnu-1
download: http://cairographics.org/releases/pixman-0.42.2.tar.gz -> sources/pixman-0.42.2.tar.gz
redirect: https://www.cairographics.org/releases/pixman-0.42.2.tar.gz
downloading: sources/pixman-0.42.2.tar.gz - 937.2kB of 937.2kB (100%)
building: pixman-0.42.2-x86_64-linux-gnu-1
sizes: pixman-0.42.2-x86_64-linux-gnu-1: 115.544MB (installed: 23.267MB)
cleaning: pixman-0.42.2-x86_64-linux-gnu-1
reporting: devel/pixman-0.42.2.cfg -> pixman-0.42.2-x86_64-linux-gnu-1.txt
reporting: devel/pixman-0.42.2.cfg -> pixman-0.42.2-x86_64-linux-gnu-1.xml
config: devel/glib-2.80.2.cfg
package: glib-2.80.2-x86_64-linux-gnu-1
download: https://download.gnome.org/sources/glib/2.80/glib-2.80.2.tar.xz -> sources/glib-2.80.2.tar.xz
redirect: https://mirror.umd.edu/gnome/sources/glib/2.80/glib-2.80.2.tar.xz
downloading: sources/glib-2.80.2.tar.xz - 5.3MB of 5.3MB (100%)
building: glib-2.80.2-x86_64-linux-gnu-1
sizes: glib-2.80.2-x86_64-linux-gnu-1: 308.029MB (installed: 85.753MB)
cleaning: glib-2.80.2-x86_64-linux-gnu-1
reporting: devel/glib-2.80.2.cfg -> glib-2.80.2-x86_64-linux-gnu-1.txt
reporting: devel/glib-2.80.2.cfg -> glib-2.80.2-x86_64-linux-gnu-1.xml
config: devel/qemu-5.2.0-1.cfg
package: qemu-5.2.0-rc1-x86_64-linux-gnu-1
download: https://download.qemu.org/qemu-5.2.0-rc1.tar.xz -> sources/qemu-5.2.0-rc1.tar.xz
downloading: sources/qemu-5.2.0-rc1.tar.xz - 101.9MB of 101.9MB (100%)
download: http://patchwork.ozlabs.org/patch/406903/raw -> patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
redirect: http://patchwork.ozlabs.org/project/qemu-devel/patch/1415176522-5944-1-git-send-email-...<see log>
downloading: patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch - 0.0 bytes of 666.0downloading: patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch - 666.0 bytes of 666.0 bytes (100%)
**download: https://ftp.rtems.org/pub/rtems/releases/5/5.2/sources/qemu-5.2.0-leon3.patch -> patches/qemu-5.2.0-leon3.patch
downloading: patches/qemu-5.2.0-leon3.patch - 747.0 bytes of 747.0 bytes (100%) **
download: https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_atta...<see log> -> patches/cgem_zynqmp_versal.patch
downloading: patches/cgem_zynqmp_versal.patch - 5.8kB of 5.8kB (100%)
download: https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/assets/tracmigration/ticket_atta...<see log> -> patches/gdbus_codegen.patch
downloading: patches/gdbus_codegen.patch - 1.5kB of 1.5kB (100%)
building: qemu-5.2.0-rc1-x86_64-linux-gnu-1
sizes: qemu-5.2.0-rc1-x86_64-linux-gnu-1: 8.026GB (installed: 895.367MB)
cleaning: qemu-5.2.0-rc1-x86_64-linux-gnu-1
reporting: devel/qemu-5.2.0-1.cfg -> qemu-5.2.0-rc1-x86_64-linux-gnu-1.txt
reporting: devel/qemu-5.2.0-1.cfg -> qemu-5.2.0-rc1-x86_64-linux-gnu-1.xml
staging: gettext-0.18.3.1-x86_64-linux-gnu-1 -> /home/cfc/workspace/rtems-source-builder/rtems/build/tmp/sb-0-staging
installing: gettext-0.18.3.1-x86_64-linux-gnu-1 -> /opt/rtems/6
staging: libffi-3.0.13-x86_64-linux-gnu-1 -> /home/cfc/workspace/rtems-source-builder/rtems/build/tmp/sb-0-staging
installing: libffi-3.0.13-x86_64-linux-gnu-1 -> /opt/rtems/6
staging: pixman-0.42.2-x86_64-linux-gnu-1 -> /home/cfc/workspace/rtems-source-builder/rtems/build/tmp/sb-0-staging
installing: pixman-0.42.2-x86_64-linux-gnu-1 -> /opt/rtems/6
staging: glib-2.80.2-x86_64-linux-gnu-1 -> /home/cfc/workspace/rtems-source-builder/rtems/build/tmp/sb-0-staging
installing: glib-2.80.2-x86_64-linux-gnu-1 -> /opt/rtems/6
staging: qemu-5.2.0-rc1-x86_64-linux-gnu-1 -> /home/cfc/workspace/rtems-source-builder/rtems/build/tmp/sb-0-staging
installing: qemu-5.2.0-rc1-x86_64-linux-gnu-1 -> /opt/rtems/6
cleaning: gettext-0.18.3.1-x86_64-linux-gnu-1
cleaning: libffi-3.0.13-x86_64-linux-gnu-1
cleaning: pixman-0.42.2-x86_64-linux-gnu-1
cleaning: glib-2.80.2-x86_64-linux-gnu-1
cleaning: qemu-5.2.0-rc1-x86_64-linux-gnu-1
Build Sizes: usage: 9.031GB total: 1.305GB (sources: 307.593MB, patches: 32.042KB, installed 1.004GB)
installing: devel/qemu -> /opt/rtems/6
clean staging: devel/qemu
Staging Size: 1.004GB
Build Set: Time 0:15:54.767931

Author: CHARLES TAYLOR

2024-10-24T14:41:41.762Z

mentioned in issue #42

Author: CHARLES TAYLOR

2024-10-24T18:06:45.980Z

changed the description

Author: Joel Sherrill

2024-10-24T22:24:00.738Z

approved this merge request

70 - rtems-tools needs the Waf build root workaround for windows

Id

70

State

merged

Merged by

Amar Takhar

Merged at

2024-10-21T23:36:32.704Z

Created

2024-10-21T23:31:11.483Z

Updated

2024-10-21T23:36:34.028Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

8fc070bc4a6b4382e4fefbe5872aebb009f976e9

Summary

On Windows there is a workaround to handle the drive letter in the prefix that needs to be picked up when installing rtems-tools.

Author: Amar Takhar

2024-10-21T23:36:12.715Z

approved this merge request

66 - dtc: do not attempt to build on windows

Id

66

State

merged

Merged by

Chris Johns

Merged at

2024-10-18T21:24:10.114Z

Assignee(s)

Chris Johns

Created

2024-10-10T04:44:12.552Z

Updated

2024-10-18T21:24:15.269Z

Milestone

6.1

Labels

os::windows

Link

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

Commit

4cf0f0c6fa7e33e9fed6961ccc27e2d8fc051e7d

Summary

dtc: do not attempt to build on windows

fixes #25, #36

Author: Gedare Bloom

2024-10-10T04:44:12.823Z

assigned to @chris

Author: Gedare Bloom

2024-10-10T04:48:53.453Z

I confirmed the build still runs on linux (ubuntu).

Author: Chris Johns

2024-10-18T21:09:10.626Z

This should be indented but I get why you have not.

Would it be nicer and simpler to have the RSB _finish_ the config processing?

Author: Gedare Bloom

2024-10-18T21:09:10.626Z

“nicer and simpler” in what way?

I’m not sure what action has to be taken to close out a partial configuration.

Author: Chris Johns

2024-10-18T21:09:10.626Z

Would adding a new command to the config processing to %``finish`` be cleaner for this type of solution?

Author: Gedare Bloom

2024-10-18T21:09:10.626Z

Having a generic way to terminate a config would be cleaner, but, we don’t have that functionality at the moment unless I’m missing something. It would be some work to add a new feature if that is what you are suggesting.

Currently this dtc config blocks building on Windows.

Author: Gedare Bloom

2024-10-18T21:09:11.380Z

created #41 to continue this discussion

Author: Gedare Bloom

2024-10-18T21:09:10.646Z

resolved all threads

Author: Gedare Bloom

2024-10-18T21:09:10.918Z

mentioned in issue #41

Author: Chris Johns

2024-10-18T21:23:20.579Z

approved this merge request

Author: Chris Johns

2024-10-18T21:23:47.252Z

added 3 commits

  • 4f780eb6…4ea7e721 - 2 commits from branch rtems/tools:main

  • 4cf0f0c6 - dtc: do not attempt to build on windows

Compare with previous version

67 - rtems-gdb-15.2.cfg: Correct using 14.2 instead of 15.2

Id

67

State

merged

Merged by

Amar Takhar

Merged at

2024-10-17T18:22:41.852Z

Created

2024-10-17T16:29:23.419Z

Updated

2024-10-17T18:22:43.829Z

Milestone

6.1

Labels

tool::gdb

Link

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

Commit

4ea7e721857fdc32ddad9ed5ea76052d38419bad

Summary

rtems-gdb-15.2.cfg: Correct using 14.2 instead of 15.2

Updates previous commit to really use 15.2.

Author: Amar Takhar

2024-10-17T18:22:29.302Z

approved this merge request

62 - Update to GDB 15.2

Id

62

State

merged

Merged by

Amar Takhar

Merged at

2024-10-16T04:33:07.227Z

Assignee(s)

Joel Sherrill

Created

2024-10-01T00:23:37.534Z

Updated

2024-10-16T04:33:10.502Z

Milestone

6.1

Labels

tool::gdb

Link

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

Commit

7ebed67752d4b2a630e2213f40d1473a26495340

Update to GDB 15.2

Author: Joel Sherrill

2024-10-01T00:23:37.751Z

assigned to @joel

Author: Joel Sherrill

2024-10-01T00:24:00.430Z

added 2 commits

  • 88afb1da - 1 commit from branch rtems/tools:main

  • 68ad3195 - Update to GDB 15.2

Compare with previous version

Author: Joel Sherrill

2024-10-01T02:33:59.422Z

added 1 commit

  • b9587182 - Update to GDB 15.2

Compare with previous version

Author: Amar Takhar

2024-10-16T04:32:35.165Z

approved this merge request

Author: Amar Takhar

2024-10-16T04:32:47.826Z

added 8 commits

  • b9587182…989ec634 - 7 commits from branch rtems/tools:main

  • 7ebed677 - Update to GDB 15.2

Compare with previous version

65 - sb:sources: Do not raise an error adding a hash if one is present

Id

65

State

merged

Merged by

Amar Takhar

Merged at

2024-10-09T22:08:02.013Z

Assignee(s)

Chris Johns

Created

2024-10-09T22:05:01.293Z

Updated

2024-10-09T22:08:05.277Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

989ec6342f410f21e6585e4828a4c5f4f8da5e83

Do not raise an error adding a hash if one is present

Fixes #40

Closes #40

Author: Chris Johns

2024-10-09T22:05:01.531Z

assigned to @chris

Author: Amar Takhar

2024-10-09T22:07:55.119Z

approved this merge request

64 - sys.getwindowsversion only exists on Windows.

Id

64

State

merged

Merged by

Chris Johns

Merged at

2024-10-07T12:55:56.020Z

Assignee(s)

Amar Takhar

Created

2024-10-07T07:26:37.627Z

Updated

2024-10-07T12:55:59.307Z

Milestone

6.1

Link

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

Commit

8c8156d2133a08d5b93de33828ae1e7009f49974

Summary

sys.getwindowsversion only exists on Windows.

Fixes #38

Author: Amar Takhar

2024-10-07T07:26:37.903Z

assigned to @amar

Author: Amar Takhar

2024-10-07T07:27:41.416Z

added 1 commit

  • 8c8156d2 - sys.getwindowsversion only exists on Windows.

Compare with previous version

Author: Amar Takhar

2024-10-07T07:27:45.446Z

changed the description

Author: Christian Mauderer

2024-10-07T12:16:10.103Z

approved this merge request

63 - Fixes for Windows 10 and Windows 11

Id

63

State

merged

Merged by

Amar Takhar

Merged at

2024-10-06T23:24:32.428Z

Assignee(s)

Gedare Bloom

Created

2024-10-06T22:10:55.082Z

Updated

2024-10-07T07:09:53.372Z

Milestone

6.1

Link

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

Commit

badbcdd61924c88c6bed7844b69d323ab5e62d3a

Summary

The Windows10 and Windows11 builds with MSYS2 encounter a few problems. This should fix most of those problems.

It doesn’t deal with https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/25 https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/36

Fixes #27 Fixes https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/4191

Author: Gedare Bloom

2024-10-06T22:10:55.852Z

assigned to @gedare

Author: Amar Takhar

2024-10-06T23:24:26.616Z

approved this merge request

Author: Chris Johns

2024-10-07T07:09:53.282Z

mentioned in issue #38

61 - linux.py: Recognize Rocky Linux distribution

Id

61

State

merged

Merged by

Joel Sherrill

Merged at

2024-09-30T21:30:40.236Z

Assignee(s)

Joel Sherrill

Reviewer(s)

Chris Johns, Gedare Bloom

Created

2024-09-30T19:02:35.262Z

Updated

2024-09-30T21:30:40.210Z

Milestone

6.1

Labels

tool

Link

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

Commit

88afb1daa87355afa14f4c142a99355e550540db

linux.py: Recognize Rocky Linux distribution

Rocky was slipping through the list of distributions and only needed adding to the list.

Author: Joel Sherrill

2024-09-30T19:02:35.512Z

requested review from @chris and @gedare

Author: Joel Sherrill

2024-09-30T19:02:35.585Z

assigned to @joel

Author: Joel Sherrill

2024-09-30T19:33:28.525Z

enabled an automatic merge when all merge checks for 88afb1daa87355afa14f4c142a99355e550540db pass

Author: Amar Takhar

2024-09-30T21:30:32.046Z

approved this merge request

60 - rtems/www: Add civetweb web server package

Id

60

State

merged

Merged by

Amar Takhar

Merged at

2024-09-30T05:19:00.107Z

Assignee(s)

Chris Johns

Created

2024-09-30T05:09:54.451Z

Updated

2024-09-30T05:19:00.076Z

Milestone

6.1

Labels

network

Link

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

Commit

d2f00ca6c06f0f5c78eab1128121e9c58fba0443

Add support to build civetweb as a package.

Note:

  1. The thread type and thread stack size is currently hard coded and not part of the configuration.

  2. I have created Github PR rtems: Add support for RTEMS for the patch in my repo.

  3. Only tested with libbsd.

Author: Chris Johns

2024-09-30T05:09:54.714Z

assigned to @chris

Author: Amar Takhar

2024-09-30T05:18:49.013Z

enabled an automatic merge when all merge checks for d2f00ca6c06f0f5c78eab1128121e9c58fba0443 pass

Author: Amar Takhar

2024-09-30T05:18:54.878Z

approved this merge request

59 - rtems/devel: Add yaml-cpp package

Id

59

State

merged

Merged by

Amar Takhar

Merged at

2024-09-27T04:28:10.318Z

Assignee(s)

Chris Johns

Created

2024-09-27T04:22:12.322Z

Updated

2024-09-27T04:28:12.294Z

Milestone

6.1

Link

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

Commit

5743fb6f1802c44989f37916906726930a61d6cc

Add yaml-cpp as a package.

Author: Chris Johns

2024-09-27T04:22:12.534Z

assigned to @chris

Author: Amar Takhar

2024-09-27T04:28:05.998Z

approved this merge request

58 - rtems: Update kernel and libbsd

Id

58

State

merged

Merged by

Amar Takhar

Merged at

2024-09-19T02:56:33.676Z

Assignee(s)

Chris Johns

Created

2024-09-19T02:51:20.679Z

Updated

2024-09-19T02:56:35.320Z

Milestone

6.1

Labels

libbsd, rtems::kernel

Link

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

Commit

46a5bfdc3fc95d503a63f9bee515e73d9198aa71

Summary

Kernel

  • Minor fixes

LibBSD

  • Fix build failure installing different files to the install file

Author: Chris Johns

2024-09-19T02:51:20.917Z

assigned to @chris

Author: Amar Takhar

2024-09-19T02:56:27.409Z

approved this merge request

57 - rtems: Update kernel and libbsd

Id

57

State

merged

Merged by

Amar Takhar

Merged at

2024-09-18T22:33:50.974Z

Assignee(s)

Chris Johns

Created

2024-09-18T22:32:17.706Z

Updated

2024-09-18T22:33:52.655Z

Milestone

6.1

Labels

libbsd::freebsd-12, rtems::kernel, tool::rtems-source-builder

Link

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

Commit

feb5e8b8c36c24105673f0f1a3844977f41063fc

Summary

rtems: Update kernel and libbsd

Kernel: * Updates to ARM exceptions * POSIX support for lio_listio * Remove poll.h from the kernel * Use time_t for ntptime * Updated Zynq and pl001 UART drivers

LibBSD: * Dangling pointer fix in DHCP

Author: Chris Johns

2024-09-18T22:32:17.930Z

assigned to @chris

Author: Amar Takhar

2024-09-18T22:33:43.753Z

approved this merge request

56 - Keep RTEMS up to date with the upstream development

Id

56

State

merged

Merged by

Chris Johns

Merged at

2024-09-11T22:18:49.834Z

Assignee(s)

Sebastian Huber

Created

2024-09-05T14:29:28.666Z

Updated

2024-09-11T22:18:51.348Z

Milestone

6.1

Link

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

Commit

2e6e83660f259d28327ac042b4960716781e24d0

Summary

For build logs, see build@rtems.org. The microblaze failures are due to:

checking for recent MPFR... checking whether fwrite_unlocked is declared... checking for basename... yes
config.status: executing depfiles commands
checking for g++ -O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-microblaze/opt/rtems/6/include -I/home/EB/sebastian_h/src/rtems-sou
rce-builder/rtems/build/tmp/sb-21112-internal/include option to produce PIC... -fPIC -DPIC
checking if g++ -O2 -g -pipe -I/home/EB/sebastian_h/src/rtems-source-builder/rtems/build/tmp/sb-21112/6/rtems-microblaze/opt/rtems/6/include -I/home/EB/sebastian_h/src/rtems-sour
ce-builder/rtems/build/tmp/sb-21112-internal/include PIC flag -fPIC -DPIC works... yes
checking for stpcpy... yes
checking mach-o/dyld.h usability... no
configure: error: MPFR version >= 4.1.0 required

This seems to be unrelated to my update.

Author: Sebastian Huber

2024-09-05T14:29:28.770Z

assigned to @sebhub

Author: Sebastian Huber

2024-09-05T14:30:39.557Z

changed title from 6/7: Update Newlib to 6/7: Update Newlib{+Keep RTEMS up to date with the upstream development+}

Author: Sebastian Huber

2024-09-05T14:32:24.664Z

changed title from {-6/7: Update Newlib-}Keep RTEMS up to date with the upstream development to Keep RTEMS up to date with the upstream development

Author: Sebastian Huber

2024-09-05T14:32:24.692Z

changed the description

Author: Chris Johns

2024-09-11T22:18:30.214Z

approved this merge request

Author: Chris Johns

2024-09-11T22:18:42.509Z

added 4 commits

  • 8488d28d - 1 commit from branch rtems/tools:main

  • d078bf88 - 6/7: Update Newlib

  • c0a16881 - 6: Update GCC 12 and 13

  • 2e6e8366 - 7: Update Binutils, GDB, and GCC

Compare with previous version

51 - rtems: Package updates

Id

51

State

merged

Merged by

Amar Takhar

Merged at

2024-08-28T06:15:37.922Z

Assignee(s)

Chris Johns

Created

2024-08-28T05:22:03.828Z

Updated

2024-08-28T06:15:39.167Z

Milestone

6.1

Labels

libbsd, rtems::kernel, tool::rtems-tools

Link

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

Commit

7298cc8103d90177f46517d577f9b661de8424b9

Package updates

  • Libbsd

  • Install memstat.h

  • Net Services

  • Fixed spelling in ntpsim

  • Kernel

  • Coverity fixes

  • X86_64 updates

  • Fix racecondition in close

  • Close all valids FD in libblock

  • Fix DOSFS file truncation to length 0

  • Fatal error refactor

  • ZynqMP ECC memory support

  • ZynqMP memory support great than 2G

  • RTEMS Tools

  • Add x86_64 config

  • Add niosvc10lp config

  • Update RTEMS pretty printers

Author: Chris Johns

2024-08-28T05:22:04.313Z

assigned to @chris

Author: Amar Takhar

2024-08-28T06:15:34.478Z

approved this merge request

45 - add patch file for including rv32imf in the riscv multilib

Id

45

State

merged

Merged by

Joel Sherrill

Merged at

2024-08-23T17:17:25.103Z

Created

2024-08-06T21:15:35.568Z

Updated

2024-08-23T17:17:25.061Z

Milestone

6.1

Labels

arch:riscv

Link

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

Commit

7aec6d55b060f89a35608cc8d9dbb374f333f7b3

Summary

Issue #5101

The NIOS V/g processor with FPU enabled needs the rv32imf risc-v architecture. This patch adds that support.

Author: Joel Sherrill

2024-08-15T00:39:26.925Z

It is probably not well documented but the patch should be somewhere other than the RSB. They usually are just attached to the RTEMS issue and the URL referenced here.

Even better would be to submit it upstream and we get it out of their mailing list or git history.

In this case, attach the patch to this issue.

Author: Kevin Kirspel

2024-08-15T00:39:26.925Z

The patch was emailed to gcc-patches. When incorporated, RSB could be updated to use that gcc version.

Author: Kevin Kirspel

2024-08-15T00:36:49.151Z

changed this line in version 3 of the diff

Author: Kevin Kirspel

2024-08-15T00:39:26.925Z

patch has been moved to an attachment in Issue #5101 and referenced from there for downloading to RSB.

Author: Joel Sherrill

2024-08-15T00:40:11.164Z

Please email this to gcc-patches@gcc.gnu.org and cc me. I will then be able to shepherd it to getting merged.

Author: Kevin Kirspel

2024-08-15T00:40:11.164Z

Any special subject and wording in the email?

Author: Kevin Kirspel

2024-08-15T00:40:11.164Z

I plan on putting this in the subject:

[PATCH] t-rtems: add rv32imf architecture to the RTEMS multilib for RISC-V

Author: Kevin Kirspel

2024-08-15T00:40:11.164Z

I sent the email. I will see what happens.

Author: Kevin Kirspel

2024-08-15T00:40:11.164Z

Patch is visible on the gcc-patches mailing list (Aug 7th). No comments so far.

Author: Joel Sherrill

2024-08-15T00:40:11.164Z

Thank you.

Author: Chris Johns

2024-08-15T00:40:11.164Z

This directory is not allowed in the repo.

Author: Amar Takhar

2024-08-15T00:40:11.164Z

@chris then should he create an issue to attach the patch for now?

Author: Amar Takhar

2024-08-15T00:40:11.164Z

Nevermind I see you have answered this.

Author: Chris Johns

2024-08-15T00:40:11.164Z

Only to reference the patch.

Author: Kevin Kirspel

2024-08-15T00:40:11.164Z

Just for my knowledge, patch files do not go in the repo (i.e. source-builder/patches)? What is the purpose of the “source-builder/patches” repo directory?

Secondly, if I have a patch file locally, how should I reference the patch file? My initial assumption was that I would reference it in “rtems/config/tools/rtems-gcc-13.3-newlib-head.cfg” but apparently that is not correct.

Author: Kevin Kirspel

2024-08-15T00:36:51.244Z

changed this line in version 3 of the diff

Author: Kevin Kirspel

2024-08-15T00:40:11.164Z

patch has been moved to an attachment in Issue #5101 and removed from this directory.

Author: Joel Sherrill

2024-08-12T14:34:39.692Z

resolved all threads

Author: Chris Johns

2024-08-23T14:08:13.790Z

The patch handling is not right. The source and patch directories should be added to the repo.

Please attach the patch to an issue or reference and get the RSB to download it. A further change can be made once merged into GCC we.

Author: Kevin Kirspel

2024-08-23T14:08:13.790Z

I attached the patch file to the issue I created for all the merge requests related to the NIOS V BSP. Issue #5101.

Author: Kevin Kirspel

2024-08-23T14:08:13.790Z

The patch I sent to gcc-patches is now merged on the trunk.

Author: Chris Johns

2024-08-14T06:04:04.897Z

marked this merge request as draft

Author: Chris Johns

2024-08-14T06:04:31.778Z

Marked as draft until the patch location is resolved.

Author: Chris Johns

2024-08-14T06:05:04.215Z

Please add rtems: to the start the commit first line.

Author: Kevin Kirspel

2024-08-14T16:32:38.390Z

added 5 commits

  • 5f4f2436…585d8ba4 - 4 commits from branch rtems/tools:main

  • 63b972dd - add patch file for including rv32imf in the riscv multilib

Compare with previous version

Author: Kevin Kirspel

2024-08-15T00:36:51.571Z

added 1 commit

  • f8a14244 - Patch file moved to Issue #5101

Compare with previous version

Author: Joel Sherrill

2024-08-23T14:08:13.810Z

resolved all threads

Author: Joel Sherrill

2024-08-23T14:08:21.501Z

approved this merge request

Author: Joel Sherrill

2024-08-23T14:08:28.507Z

marked this merge request as ready

Author: Kevin Kirspel

2024-08-23T17:12:31.833Z

added 15 commits

  • f8a14244…fc5ad593 - 13 commits from branch rtems/tools:main

  • 958a0f8d - add patch file for including rv32imf in the riscv multilib

  • 7aec6d55 - Patch file moved to Issue #5101

Compare with previous version

49 - Fix config file directive processing in includes

Id

49

State

merged

Merged by

Amar Takhar

Merged at

2024-08-23T02:15:19.554Z

Assignee(s)

Chris Johns

Created

2024-08-21T06:33:12.179Z

Updated

2024-08-23T02:15:21.214Z

Milestone

6.1

Labels

python::gdb, tool::rtems-source-builder

Link

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

Commit

fc5ad5930421d28d0c3c3861def4fec6a62f5300

Fix config file directive processing in includes

Allow includes in directives like %install to be included in the directive’s output.

The !48 needs this change to work.

Updates #29

Author: Chris Johns

2024-08-21T06:33:12.380Z

assigned to @chris

Author: Chris Johns

2024-08-21T06:38:53.093Z

mentioned in merge request !48

Author: Amar Takhar

2024-08-23T02:15:16.532Z

approved this merge request

35 - RSB modifications to install stdcxx.py in gdb/python/rtems

Id

35

State

merged

Merged by

Chris Johns

Merged at

2024-08-18T06:24:44.143Z

Created

2024-07-10T16:55:08.790Z

Updated

2024-08-19T21:12:29.555Z

Milestone

6.1

Labels

python::gdb, tool::gdb

Link

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

Commit

632ccda714fdba59c39bb126cf417f2b101c8929

Summary

The current implementation of auto-loading pretty-printers in GDB depends on a script, stdcxx.py to register the pretty-printers provided by GCC. The path to these scripts changes with every evolving version of GCC, and hence the gcc_version variable used in stdcxx.py would need updating with every new build.

Solution

Modify the gcc-common-1.cfg script in source-builder/config to:

  1. Find the current GCC version according to the target being built

  2. Add some instructions to resolve paths to the template script present in rtems/config

  3. Use that to install stdcxx.py with the correct GCC version in gdb/python/rtems in the build target directory

Closes rtems/tools/rtems-tools#5

Author: Suraj Kumar

2024-07-10T18:44:26.288Z

changed the description

Author: Suraj Kumar

2024-07-10T18:45:24.533Z

Author: Christian Mauderer

2024-07-12T06:31:47.164Z

Is that file copied from somewhere or did you write it yourself? Depending on that: Please add a standard RTEMS license header (or rather the one from the RSB LICENSE file) to it if you wrote it yourself or use the original license if you copied it from somewhere.

Author: Suraj Kumar

2024-07-12T06:31:47.164Z

I wrote this from scratch by myself, and yes, I shall update it with the license as well.

Author: Suraj Kumar

2024-07-12T06:31:47.164Z

@c-mauderer So this would be prepended to the top of the file, yes?

RTEMS Tools Project (http://www.rtems.org/)
Copyright 2010-2017 Chris Johns (chrisj@rtems.org)
All rights reserved.

This package is part of the RTEMS Tools Project.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

(Commented, of course)

Author: Christian Mauderer

2024-07-12T06:31:47.164Z

Yes. But with your copyright instead of Chris Johns’.

Author: Suraj Kumar

2024-07-12T06:31:47.164Z

Okay, I have added the license header. Please let me know if that is fine.

Author: Christian Mauderer

2024-07-12T06:31:47.164Z

Looks good. Thanks.

Author: Christian Mauderer

2024-07-11T05:20:27.849Z

Just to understand these lines:

  • gdb_path is something like ${PREFIX}/share/gdb/python, right?

  • Then your gcc_python_path is something like ${PREFIX}/share/gcc-13.2.1/python, right?

Author: Suraj Kumar

2024-07-11T05:20:27.849Z

Bingo. Is it clear enough from the name or could the file use some comments?

Author: Christian Mauderer

2024-07-11T05:20:27.849Z

That’s OK. I just wanted to make sure that I understand it correctly.

Author: Christian Mauderer

2024-07-11T05:19:23.952Z

Shouldn’t we have a %{gcc_version} already? @chris: You know the source builder a lot better.

Author: Suraj Kumar

2024-07-11T05:19:23.952Z

I had talked about this with Chris here, please check out this thread when you find the time: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/5#note_108895

Chris had said:

Would it end up being confusing? How would know which value the variable holds? Remember the gcc version internal to gcc may not match the version in the macro gcc_version. For example we could have a git hash build of the gcc 13 branch. This work needs to know the internal value to find the path gcc will look.

So, I resorted to finding the actual version from the target’s GCC compiler itself. Hope that it clear.

Author: Christian Mauderer

2024-07-11T05:19:23.952Z

OK. Thanks for the explanation.

Author: Suraj Kumar

2024-08-13T14:13:55.893Z

changed this line in version 4 of the diff

Author: Suraj Kumar

2024-07-11T21:02:01.393Z

added 1 commit

  • a375e806 - rtems/config: added license header to stdcxx-template.py

Compare with previous version

Author: Christian Mauderer

2024-07-12T06:31:47.199Z

resolved all threads

Author: Chris Johns

2024-08-18T06:24:14.862Z

This is looking good.

I think the next step is see if we can find a suitable trick to move this out here and into the RTEMS area. It may not be possible, I am not sure how to do this.

The issue is this file is used in bare configs and they do not depend on RTEMS.

Author: Suraj Kumar

2024-08-18T06:24:14.862Z

@chris I had pinged you about this on Discord, but I am not sure what you meant by:

I think the next step is see if we can find a suitable trick to move this out here and into the RTEMS area. It may not be possible, I am not sure how to do this. The issue is this file is used in bare configs and they do not depend on RTEMS.

Are you referring to the modifications or the stdcxx.py being installed or … ? I was not too sure. Please clarify this whenever you find the time. Thank you.

Author: Chris Johns

2024-08-18T06:24:14.862Z

The change is specific to building gcc for RTEMS and gcc-common-1.cfg is used by the bare builds which include gcc. This change needs to somehow be moved to just the rtems configurations.

Author: Suraj Kumar

2024-08-18T06:24:14.862Z

Okay, I see. So would that mean having some kind of check in here to see if the target is a bare GCC or moving it out to some other file itself?

Author: Chris Johns

2024-08-18T06:24:14.862Z

That is a solution. Another is to place a macro label there such a %{gcc-pre-install} and that is defined in a file in config/rtems/tools and included is included in an RTEMS tools gcc config?

Author: Suraj Kumar

2024-08-18T06:24:14.862Z

Yeah sure, that would work too. I assume that including files will have the variables/macros from the file including it too (?) so that would make for a more modular approach.

I think we can have a file, say rtems-gcc-preinstall.cfg, under rtems/config/tools, which can have the same changes as my commit, and then have a check like so:

%if %{_target} =~ ".*-rtems.*"
%include %{_configdir}/rtems/tools/gcc-pre-install.cfg
%endif

How does that sound?

Author: Chris Johns

2024-08-18T06:24:14.862Z

Would a simpler approach work? In gcc-common-1.cfg have:

%if %(defined gcc-pre-installer}
%{gcc-pre-installer}
%endif

Where you want it to execute the include. Then add in the RTEMS configs something like:

%define gcc-pre-installer %include %{_configdir}/rtems/tools/gcc-pre-install.cfg

I think should work but if not let me know.

Author: Suraj Kumar

2024-08-18T06:24:14.862Z

Okay I got what you meant, I will check out this solution and get back to you. Thanks

Author: Suraj Kumar

2024-08-18T06:24:14.862Z

@chris I had pinged you on Discord regarding this, but I take it you are buried with a lot of work

I think I have a working solution, but I am just not sure which file I can add this definition to such that it would be defined before this script is called? I tried looking at the trace output when dry running building the RSB to see which files are executed in which order but that did not give me much direction. Could you help me out with this please?

Author: Suraj Kumar

2024-08-18T06:24:14.862Z

@chris I am not sure if this what you had in mind, but here’s something:

in rtems-base.bset ({prefix}/rsb/rtems/config ), we can add the following line:

%define rtems_build 1

The extra code I initially added to gcc-common-1.cfg can be moved over to {prefix}/rtems/tools/gcc-pre-install.cfg , and this line can be added to gcc-common-1.cfg:

%define gcc_pre_installer %include %{_configdir}/rtems/tools/gcc-pre-install.cfg

Then, in gcc-common-1.cfg, we can add:

%if %{defined rtems_build}
%{gcc_pre_installer}
%endif

How does this sound? Please let me know

Author: Chris Johns

2024-08-18T06:24:14.862Z

Where does ``gcc-pre-install.cfg``get included?

I would include it in rtems/config/tools/rtems-gcc-13.3-newlib-head.cfg and then you should not need rtems_build because it is an RTEMS build. The define check in gcc-common-1.cfg can be macro name.

Also the name of the file can be what it does and not the name of macro if that helps make things clearer?

Author: Suraj Kumar

2024-08-18T06:24:14.862Z

gcc_pre_installer is defined as %include %{_configdir}/rtems/tools/gcc-pre-install.cfg, which would handle the include after the check.

I thought about adding it in rtems-gcc-13.3-newlib-head.cfg as well, but wouldn’t that make it version dependent? (Or at least I think so)

Yep sure, I’ll change the filename to reflect what it does, I was just wondering about the version update part fo the change. If that is not an issue then we can consider this issue as solved. :)

Author: Chris Johns

2024-08-18T06:24:14.862Z

It will only work on that version and later which will be based on the 13.3 version as a copy and change.

Author: Suraj Kumar

2024-08-18T06:24:14.862Z

Oh I see, so it acts as a copy + paste + edits from the older versions?

Alright, I will modify my environment as such and test. Will keep you posted on the progress. Thank you

Author: Suraj Kumar

2024-08-13T14:13:59.102Z

changed this line in version 4 of the diff

Author: Chris Johns

2024-08-18T06:24:14.862Z

Thanks

Author: Amar Takhar

2024-08-06T03:22:00.108Z

mentioned in merge request rtems/rtos/rtems!98

Author: Joel Sherrill

2024-08-12T18:13:52.347Z

Please add an SPDX license comment, then a blank line. Do it like the RTEMS code except as Python comments.

Author: Suraj Kumar

2024-08-12T18:13:52.347Z

@joel Where can I find this license comment? I googled for it but came across multiple ones, and the comments in other files in this repo seem similar to the one I have mentioned

Author: Suraj Kumar

2024-08-12T18:13:52.347Z

Nevermind, found it.

Author: Suraj Kumar

2024-08-11T14:03:41.477Z

added 1 commit

  • 21057bee - rtems/config: added SPDX license comment

Compare with previous version

Author: Suraj Kumar

2024-08-13T14:13:59.948Z

added 2 commits

  • b7895378 - rtems/config/tools: added script to install stdcxx.py to rtems/tools

  • 0a29210c - rtems/config/tools: modified gcc-13.3-newlib to define macro signifying RTEMS build

Compare with previous version

Author: Chris Johns

2024-08-18T06:23:04.457Z

This is what you put in rtems-gcc-13.3-\ |md_0_8206|\ newlib-head.cfg\ |md_0_8206|\ `` and as ``gcc_pre_install

Author: Suraj Kumar

2024-08-14T18:46:24.784Z

changed this line in version 5 of the diff

Author: Suraj Kumar

2024-08-18T06:23:04.457Z

@chris Fixed

Author: Chris Johns

2024-08-18T06:23:11.818Z

This is %{gcc_pre_install}

Author: Suraj Kumar

2024-08-14T18:46:25.260Z

changed this line in version 5 of the diff

Author: Suraj Kumar

2024-08-18T06:23:11.818Z

Fixed

Author: Chris Johns

2024-08-18T06:23:33.899Z

This will not work. You should not assume any order in that path or even need to parse it.

Why explicitly provide the path? The %include directive should search %_confdir?

I would have thought something like:

%define gcc_pre_install %include tools/rtems-install-stdcxx.cfg

should work?

Author: Suraj Kumar

2024-08-18T06:23:33.899Z

The thing is, I need a path specifically to rsb/rtems/config/stdcxx-template.py, in order to be able to cat it and filter it through sed`.

If I try doing the following:

%define stdcxx_template %{_configdir}/stdcxx-template.py

It appends stdcxx-template.py to each path in the macro, and it is not in a form which I can cat (since it is 4 paths). This is why I decided to define a separate macro for it. I hope I was able to convey the problem clearly enough?

Your solution will work for the rest of the issues I think, since it is only a matter of including the files - but it is not working for the case of running cat on stdcxx-template.py. Would another approach be to grep the pattern of rtems/config instead of assuming a specific ordering within _configdir? Please do let me know.

Author: Suraj Kumar

2024-08-14T18:46:25.757Z

changed this line in version 5 of the diff

Author: Suraj Kumar

2024-08-18T06:23:33.899Z

@chris Please let me know what you think of this change.

Author: Chris Johns

2024-08-18T06:23:33.899Z

Good.

Author: Chris Johns

2024-08-18T06:23:47.836Z

This should be something like:

%define gcc_pre_install %include tools/rtems-install-stdcxx.cfg

Author: Suraj Kumar

2024-08-14T18:46:26.289Z

changed this line in version 5 of the diff

Author: Suraj Kumar

2024-08-18T06:23:47.836Z

Fixed

Author: Chris Johns

2024-08-18T06:23:47.836Z

Thanks

Author: Suraj Kumar

2024-08-14T18:46:26.562Z

added 2 commits

  • 37ab3f20 - rtems/config/tools: modified gcc-13.3-newlib to define macro signifying RTEMS build

  • 1059bd04 - source-builder/config: added RTEMS check to install stdcxx.py script only for RTEMS builds

Compare with previous version

Author: Suraj Kumar

2024-08-14T19:37:34.010Z

added 11 commits

  • 1059bd04…585d8ba4 - 10 commits from branch rtems/tools:main

  • 5aa1b5c7 - rtems/config/tools: modified gcc-13.3-newlib to define macro signifying RTEMS build

Compare with previous version

Author: Suraj Kumar

2024-08-14T19:38:37.196Z

added 1 commit

  • 92df56fe - rtems/config/tools: modified gcc-13.3-newlib to define macro signifying RTEMS build

Compare with previous version

Author: Chris Johns

2024-08-18T06:23:55.587Z

Please move this down to line 17 and add line after so it is on its own. This way it is not in the bits that are about the version of the build.

Author: Suraj Kumar

2024-08-18T06:16:11.901Z

changed this line in version 8 of the diff

Author: Suraj Kumar

2024-08-18T06:23:55.587Z

I have made this change

Author: Suraj Kumar

2024-08-18T06:16:12.099Z

added 1 commit

  • 75fd9c66 - rtems/config/tools: modified gcc-13.3-newlib to define macro signifying RTEMS build

Compare with previous version

Author: Chris Johns

2024-08-18T06:22:00.410Z

Sorry I got the line wrong. We need:

%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg

%define gcc_version 13.3.0
%source set gcc https://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.xz
%hash sha512 gcc-%{gcc_version}.tar.xz \\
7V8vTG7Sx5b88sk3BxWenb092xugY9VJgE3WjNq7ttVQmFrhyEZa6aM2z+KSdKbrD0LiGSQ2BXTr2OXVx8moAQ==

%define newlib_version 1339af4
%define newlib_external 1
%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
%hash sha512 newlib-%{newlib_version}.tar.gz \\
mZWCoi+gMohMTLAtJse3D44qC1kaTefPxy1sDY3y9seRysOhXZCHyADWIjHYaEEJTJKTLkYQfe99mGF5zX6lQA==

%define gcc_pre_install %include tools/rtems-install-stdcxx.cfg

%define with_threads 1
%define with_plugin 0
%define with_iconv 1

%include %{_configdir}/gcc-13.cfg

Author: Suraj Kumar

2024-08-18T06:22:00.410Z

Okay, I have changed it accordingly

Author: Suraj Kumar

2024-08-18T06:19:56.204Z

added 1 commit

  • 632ccda7 - rtems/config/tools: modified gcc-13.3-newlib to define macro signifying RTEMS build

Compare with previous version

Author: Chris Johns

2024-08-18T06:24:14.900Z

resolved all threads

Author: Chris Johns

2024-08-18T06:24:36.044Z

marked this merge request as ready

Author: Chris Johns

2024-08-18T06:24:39.947Z

approved this merge request

Author: Suraj Kumar

2024-08-19T07:30:50.820Z

mentioned in merge request rtems/docs/rtems-docs!43

Author: Frank Kuehndel

2024-08-19T08:55:16.102Z

mentioned in issue #29

Author: Suraj Kumar

2024-08-19T21:12:29.405Z

mentioned in merge request !48

20 - Update RSB 4.11 for the gitlab migration

Id

20

State

merged

Merged by

Chris Johns

Merged at

2024-06-11T04:38:16.954Z

Assignee(s)

Kinsey Moore

Created

2024-06-11T03:57:11.647Z

Updated

2024-08-10T00:40:54.349Z

Milestone

6.1

Link

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

Commit

337ba081e74d8f5d57608af9178f74ec4f4796d3

Summary

Migrate devel links to gitlab

I did the best I could, but there were still some issues on my local machine. This needs to be thoroughly checked by someone familiar with it, especially since sb-get-sources in this version does not have the error flag.

Author: Kinsey Moore

2024-06-11T03:57:11.799Z

assigned to @opticron

Author: Chris Johns

2024-06-11T04:38:13.842Z

approved this merge request

18 - Bump newlib head hash to 1ed1516 in mulitple cfgs

Id

18

State

merged

Merged by

Joel Sherrill

Merged at

2024-06-10T13:55:14.073Z

Assignee(s)

Joel Sherrill

Reviewer(s)

Chris Johns

Created

2024-06-09T18:39:28.147Z

Updated

2024-08-10T00:40:54.252Z

Milestone

6.1

Labels

tool::newlib

Link

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

Commit

ac974f70ecdb9c9ee64ff0611b78960437efc8da

Summary

Bump newlib head hash to 1ed1516 in mulitple cfgs

This was needed to address a build issue with long double files on m68k, sh, and nios2.

Author: Joel Sherrill

2024-06-09T18:39:28.351Z

requested review from @chris

Author: Joel Sherrill

2024-06-09T18:39:28.374Z

assigned to @joel

Author: Chris Johns

2024-06-10T03:09:10.246Z

approved this merge request

Author: Chris Johns

2024-06-10T03:09:43.223Z

Why is this draft? Is it OK to merge?

Author: Amar Takhar

2024-06-10T03:13:28.507Z

The default is to have ‘Draft’ checked on he most likely forgot it I would say it’s OK to merge.

Author: Joel Sherrill

2024-06-10T13:55:07.416Z

marked this merge request as ready

14 - gdb: Split python’s version into major/minor and check for embed option

Id

14

State

merged

Merged by

Chris Johns

Merged at

2024-06-03T20:38:22.961Z

Created

2024-06-02T12:44:41.678Z

Updated

2024-08-10T00:40:54.162Z

Milestone

6.1

Labels

tool::gdb

Link

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

Commit

ee67f236f2f171982b1c7fa0fb7d1e533d734049

Summary

gdb: Split python’s version into major/minor and check for embed option

Cherry-pick from 70f302e08c9053637f5eff7dfb52d3442aaf76cb for rtems5, so that we can close #4897.

Author: Chris Johns

2024-06-03T20:38:15.272Z

approved this merge request

19 - Update RSB 5 branch for gitlab migration

Id

19

State

merged

Merged by

Chris Johns

Merged at

2024-06-11T04:36:25.824Z

Assignee(s)

Kinsey Moore

Created

2024-06-11T02:28:21.643Z

Updated

2024-08-10T00:40:53.871Z

Milestone

6.1

Link

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

Commit

7a6476f27a8d208b71ebce8df0944e45ab64f2fa

Summary

This updates git.rtems.org and devel.rtems.org URLs as necessary to allow “sb-get-sources –stop-on-error” to complete without error.

Author: Kinsey Moore

2024-06-11T02:28:21.892Z

assigned to @opticron

Author: Chris Johns

2024-06-11T04:36:22.125Z

approved this merge request

22 - Source downloads fail

Id

22

State

merged

Merged by

Amar Takhar

Merged at

2024-06-12T01:41:26.385Z

Assignee(s)

Chris Johns

Reviewer(s)

Amar Takhar

Created

2024-06-12T01:36:13.115Z

Updated

2024-08-10T00:40:41.938Z

Milestone

6.1

Link

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

Commit

05179d3cc8a26975f9b5e3d95797117069faeab1

This MR fixes:

  1. Fix _dry_run macro support

  2. Fix the default version in bare/devel/expat-internal

  3. Add MPFR support for RTEMS 7

  4. Remove support for gcc-4.9 because the default build config contains GCC git patches and these break everytime GNU GCC upgrades their version of git

The issue #11 details the work.

Author: Chris Johns

2024-06-12T01:36:13.239Z

requested review from @amar

Author: Chris Johns

2024-06-12T01:36:13.286Z

assigned to @chris

Author: Amar Takhar

2024-06-12T01:41:23.712Z

approved this merge request

23 - base/glib: Do not check for meson when getting sources

Id

23

State

merged

Merged by

Amar Takhar

Merged at

2024-06-12T03:34:21.315Z

Assignee(s)

Chris Johns

Reviewer(s)

Amar Takhar

Created

2024-06-12T03:30:38.480Z

Updated

2024-08-10T00:40:41.653Z

Milestone

6.1

Link

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

Commit

8037d9ad83d74b5d5eee6ac13ead3580772609cd

Do not check for meson if a dry run and downloading.

Author: Chris Johns

2024-06-12T03:30:38.591Z

requested review from @amar

Author: Chris Johns

2024-06-12T03:30:38.613Z

assigned to @chris

Author: Amar Takhar

2024-06-12T03:34:12.281Z

approved this merge request

24 - rsb: Add makefs to tools and use it in 6/rtems-x86_64

Id

24

State

merged

Merged by

Chris Johns

Merged at

2024-06-19T22:56:02.331Z

Created

2024-06-12T10:19:00.800Z

Updated

2024-08-10T00:40:27.004Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

4c6dfb7aef9811258457971aa9213d5aebb9ce8d

Summary

Add makefs needed for the amd64 test configs

Author: Matheus Pecoraro

2024-06-13T19:26:09.078Z

Author: Chris Johns

2024-06-19T22:54:53.229Z

added 7 commits

  • 47e7a6fb…d282a172 - 6 commits from branch rtems/tools:main

  • 4c6dfb7a - rsb: Add makefs to tools and use it in 6/rtems-x86_64

Compare with previous version

Author: Chris Johns

2024-06-19T22:55:58.987Z

approved this merge request

33 - windows.py: Disable chmod on Cygwin

Id

33

State

merged

Merged by

Chris Johns

Merged at

2024-07-09T20:49:28.531Z

Created

2024-07-08T17:11:54.821Z

Updated

2024-08-10T00:40:16.511Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

571791cfe50c74ff306b2aa9aa9cd36972800864

Summary

windows.py: Disable chmod on Cygwin

The command chmod as invoked by the RSB has begun to fail on Cygwin. It was determined that doing a chmod is not necessary. This disabling it was seen as a solution.

Closes #22.

Author: Chris Johns

2024-07-09T20:49:01.571Z

The macro is __setup_post so I am confused how this change helps?

Author: Joel Sherrill

2024-07-09T20:49:01.571Z

Me too. Let me sort this out.

Author: Joel Sherrill

2024-07-09T13:58:27.324Z

changed this line in version 2 of the diff

Author: Chris Johns

2024-07-08T21:37:07.361Z

requested changes

Author: Joel Sherrill

2024-07-09T13:58:27.542Z

added 2 commits

  • eda555d1 - 1 commit from branch rtems/tools:main

  • 571791cf - windows.py: Disable chmod on Cygwin

Compare with previous version

Author: Chris Johns

2024-07-09T20:49:01.588Z

resolved all threads

Author: Chris Johns

2024-07-09T20:49:22.748Z

approved this merge request

31 - rtems-tools-6.cfg: Bump hash to fix build issue on Cygwin

Id

31

State

merged

Merged by

Amar Takhar

Merged at

2024-06-27T19:53:00.958Z

Assignee(s)

Joel Sherrill

Created

2024-06-27T19:52:18.775Z

Updated

2024-08-10T00:40:16.422Z

Milestone

6.1

Labels

tool::rtems-tools

Link

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

Commit

0c685d82082ab6d821b5a4da89b2d904ea7a705c

Summary

Bump hash of rtems-tools to pick up fix for not compiling on Cygwin

Author: Joel Sherrill

2024-06-27T19:52:18.911Z

assigned to @joel

Author: Amar Takhar

2024-06-27T19:52:57.630Z

approved this merge request

36 - rtems-tools: Fetch rtems-syms improvements

Id

36

State

merged

Merged by

Chris Johns

Merged at

2024-07-11T05:34:31.052Z

Assignee(s)

Sebastian Huber

Created

2024-07-11T05:23:42.065Z

Updated

2024-08-10T00:40:03.773Z

Milestone

6.1

Link

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

Commit

c085b3bafb66e7cf2f9afd8b2622b5c1799e1616

Summary

rtems-tools: Fetch rtems-syms improvements

Update #rtos/rtems/4941.

Author: Sebastian Huber

2024-07-11T05:23:42.156Z

assigned to @sebhub

Author: Chris Johns

2024-07-11T05:34:27.311Z

approved this merge request

Author: Sebastian Huber

2024-07-11T05:37:25.894Z

mentioned in merge request rtems/rtos/rtems!111

37 - rtems-gcc-13.3-newlib-head.cfg: Update hash to 1339af4

Id

37

State

merged

Merged by

Chris Johns

Merged at

2024-07-15T22:18:48.806Z

Created

2024-07-15T19:19:56.301Z

Updated

2024-08-10T00:40:03.580Z

Milestone

6.1

Link

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

Commit

dd7e6b0c040018fcaa5f9683338c8230ea6c53d4

Summary

rtems-gcc-13.3-newlib-head.cfg: Update hash to 1339af4

This picked up the following patches of interest to RTEMS:

  • sys/tree.h: Remove from rtems includes

  • sys/resource.h: Add RUSAGE_THREAD

Closes #24.

Author: Amar Takhar

2024-07-15T19:21:45.453Z

Question .. What was the point of opening #24?

The MR has more detail and the issue is just a title and the summary says to read the title. I went and looked over the issue expecting more details but it was just a waste of time since the details are here.

You can skip opening the issue if there aren’t going to be more details there it saves everyone time and it’s easier to search as you don’t have to look in 2 places.

Author: Joel Sherrill

2024-07-15T20:46:54.390Z

To have an issue for the MR. No more. No less.

Author: Amar Takhar

2024-07-15T20:46:54.390Z

Okay.

Author: Amar Takhar

2024-07-15T20:46:54.409Z

resolved all threads

Author: Chris Johns

2024-07-15T22:18:43.155Z

approved this merge request

39 - rtems/6: Update MicroBlaze GCC to 12

Id

39

State

merged

Merged by

Chris Johns

Merged at

2024-07-16T22:30:36.745Z

Created

2024-07-16T14:32:29.819Z

Updated

2024-08-10T00:40:03.425Z

Milestone

6.1

Link

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

Commit

c4975f3bc2a9b5db87eab5290dd0f0141c947d68

Summary

rtems/6: Update MicroBlaze GCC to 12

GCC 10 fails to build.

Closes #23.

Author: Chris Johns

2024-07-16T22:30:30.957Z

approved this merge request

Author: Sebastian Huber

2024-07-19T06:33:32.248Z

I get build errors on microblaze:

/home/EB/sebastian_h/src/rtems/cpukit/libcsupport/src/getrusage.c: In function 'getrusage':
/home/EB/sebastian_h/src/rtems/cpukit/libcsupport/src/getrusage.c:113:8: error: 'RUSAGE_THREAD' undeclared (first use in this function); did you mean 'SIGEV_THREAD'?
113 |   case RUSAGE_THREAD:
|        ^~~~~~~~~~~~~
|        SIGEV_THREAD

Maybe the Newlib version is not the right one.

42 - rtems-tools: Fetch rtems-syms fixes

Id

42

State

merged

Merged by

Kinsey Moore

Merged at

2024-07-25T22:31:33.159Z

Assignee(s)

Sebastian Huber

Created

2024-07-20T15:23:51.771Z

Updated

2024-08-10T00:40:03.235Z

Milestone

6.1

Link

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

Commit

8d70e4b54d2dc813ef0884c44314a5790136fa1c

Summary

rtems-tools: Fetch rtems-syms fixes

Fix placement of symbol table.

Author: Sebastian Huber

2024-07-20T15:23:51.868Z

assigned to @sebhub

Author: Kinsey Moore

2024-07-25T22:31:29.985Z

approved this merge request

40 - sb/build:Fix reference a null object when a package is unnecessary.

Id

40

State

merged

Merged by

Chris Johns

Merged at

2024-08-07T02:48:38.820Z

Created

2024-07-19T09:53:06.388Z

Updated

2024-08-10T00:39:47.489Z

Milestone

6.1

Link

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

Commit

0884fffa90e35754762343f050fd172364f32a28

Summary

sb/build:Fix reference a null object when a package is unnecessary. close #26

Author: Kinsey Moore

2024-07-25T22:32:55.072Z

added 4 commits

  • 3f8dadc9…892e966e - 3 commits from branch rtems/tools:main

  • 0884fffa - sb/build:Fix reference a null object when a package is unnecessary.

Compare with previous version

Author: Chris Johns

2024-08-07T02:48:35.188Z

approved this merge request

46 - sb: Pull the repos after fetching

Id

46

State

merged

Merged by

Kinsey Moore

Merged at

2024-08-08T23:21:03.249Z

Assignee(s)

Chris Johns

Created

2024-08-08T22:40:05.104Z

Updated

2024-08-10T00:39:47.240Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

d534dbc0512db8e67e442396fdee6613ab83aad0

Pull the repo after fetching to get the latest.

Author: Chris Johns

2024-08-08T22:40:05.809Z

assigned to @chris

Author: Kinsey Moore

2024-08-08T23:20:58.578Z

approved this merge request

47 - Update tools, rtems, libbsd, net legacy and net services

Id

47

State

merged

Merged by

Kinsey Moore

Merged at

2024-08-08T23:27:27.479Z

Assignee(s)

Chris Johns

Created

2024-08-08T23:24:26.548Z

Updated

2024-08-08T23:27:29.052Z

Milestone

6.1

Labels

network::legacy, tool::rtems-tools

Link

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

Commit

585d8ba43f8d207cfc961a5d8eb7387c750ba407

Summary

rtems: Update tools, rtems, libbsd, net legacy and net services

  • net-services:

  • Doc to MD

  • rtems:

  • Python pretty printer section

  • X86_64 APCI support

  • move tree.h to internal

  • libdl sym fixes

  • updates to READMEs and other docs

  • libbsd

  • Memory leak fixed

  • updates to READMEs

  • net-legacy

  • updates to READMEs

  • tools

  • updates to READMEs

  • fixes to syms

  • add pdoc documentation

  • add testing

Author: Chris Johns

2024-08-08T23:24:26.709Z

assigned to @chris

Author: Kinsey Moore

2024-08-08T23:27:23.912Z

approved this merge request

44 - Update rtems6 tools to binutils 2.43

Id

44

State

merged

Merged by

Chris Johns

Merged at

2024-08-07T02:53:55.230Z

Assignee(s)

Joel Sherrill

Created

2024-08-06T13:50:46.706Z

Updated

2024-08-07T02:53:57.948Z

Milestone

6.1

Link

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

Commit

077d200e1ca1d25bdae81118098a43f65bb5996f

Summary

Update rtems6 tools to binutils 2.43

This only impacts targets using the rtems-default.bset.

Closes #28.

Author: Joel Sherrill

2024-08-06T13:50:46.874Z

assigned to @joel

Author: Chris Johns

2024-08-07T02:53:33.315Z

added 2 commits

  • 0884fffa - 1 commit from branch rtems/tools:main

  • 077d200e - Update rtems6 tools to binutils 2.43

Compare with previous version

Author: Chris Johns

2024-08-07T02:53:50.065Z

approved this merge request

41 - Convert LICENSE to MarkDown

Id

41

State

merged

Merged by

Kinsey Moore

Merged at

2024-07-25T22:32:43.392Z

Assignee(s)

Amar Takhar

Created

2024-07-20T04:59:00.116Z

Updated

2024-07-25T22:32:45.164Z

Milestone

6.1

Labels

doc

Link

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

Commit

892e966e4331f977cca8c83fc3bc22c8fa9d2754

Summary

Author: Amar Takhar

2024-07-20T04:59:00.634Z

assigned to @amar

Author: Kinsey Moore

2024-07-25T22:32:29.547Z

added 2 commits

  • 8d70e4b5 - 1 commit from branch rtems/tools:main

  • 892e966e - Convert LICENSE to MarkDown

Compare with previous version

Author: Kinsey Moore

2024-07-25T22:32:40.087Z

approved this merge request

29 - Fix the handling of the hash in sb-rtems-pkg

Id

29

State

merged

Merged by

Amar Takhar

Merged at

2024-06-15T18:26:25.386Z

Assignee(s)

Chris Johns

Created

2024-06-15T05:26:37.423Z

Updated

2024-06-15T18:26:27.273Z

Milestone

6.1

Link

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

Commit

d282a1723359dc689ca49fe6a7241423d0f10e97

Fix the handling of the hash in sb-rtems-pkg. The logic was confused of the tar file name was in another macro. Expand the macros and check for the package name.

Close #13

Author: Chris Johns

2024-06-15T05:26:37.569Z

assigned to @chris

Author: Amar Takhar

2024-06-15T18:26:18.385Z

added 2 commits

  • a961b7c5 - 1 commit from branch rtems/tools:main

  • d282a172 - sb/rtemspkg: Fix the handling of the hash

Compare with previous version

Author: Amar Takhar

2024-06-15T18:26:22.089Z

approved this merge request

30 - rtems/tools,kernel: Update tools after elftoolchain update

Id

30

State

merged

Merged by

Amar Takhar

Merged at

2024-06-15T06:57:34.690Z

Assignee(s)

Chris Johns

Created

2024-06-15T05:34:23.681Z

Updated

2024-06-15T06:57:35.796Z

Milestone

6.1

Labels

rtems::kernel, tool::rtems-tools

Link

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

Commit

a961b7c5673c2e2614760aa3ee544de04892ed16

Update tools after elftoolchain update

Pick up the latest kernel changes

Author: Chris Johns

2024-06-15T05:34:23.857Z

assigned to @chris

Author: Amar Takhar

2024-06-15T06:57:31.704Z

approved this merge request

28 - RSB tar strip components double percent

Id

28

State

merged

Merged by

Amar Takhar

Merged at

2024-06-14T05:07:38.037Z

Assignee(s)

Chris Johns

Created

2024-06-14T04:34:06.598Z

Updated

2024-06-14T05:07:39.100Z

Milestone

6.1

Link

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

Commit

3306c4aa59960df895ff8e32b631e4fb56972776

A bug was introduced when lowering the tar output in the log

Author: Chris Johns

2024-06-14T04:34:06.736Z

assigned to @chris

Author: Amar Takhar

2024-06-14T05:07:34.147Z

approved this merge request

27 - rtems-tools-6.cfg: Checksum updated

Id

27

State

merged

Merged by

Amar Takhar

Merged at

2024-06-13T17:03:37.914Z

Assignee(s)

Joel Sherrill

Created

2024-06-13T15:41:54.484Z

Updated

2024-06-14T04:08:05.369Z

Milestone

6.1

Labels

tool::rtems-tools

Link

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

Commit

c50d52d7ca55eb168b581d592e62bbde2dc0a843

Summary

rtems-tools-6.cfg: Checksum updated

The hash was updated without the checksum being updated.

Author: Joel Sherrill

2024-06-13T15:41:54.643Z

assigned to @joel

Author: Amar Takhar

2024-06-13T17:03:34.057Z

approved this merge request

Author: Chris Johns

2024-06-14T04:08:05.352Z

This checksum is automatically generated in the sb-rtems-pkg tool. This means something is broken in that tool.

26 - Update RTEMS packages after moving to gitlab.rtems.org

Id

26

State

merged

Merged by

Amar Takhar

Merged at

2024-06-13T07:28:05.156Z

Assignee(s)

Chris Johns

Created

2024-06-13T07:17:52.631Z

Updated

2024-06-13T07:28:06.311Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

87a855a763299b0af923f3fa5cd7faa857963f64

Summary

This merge request updates the RTEMS packages after moving to gitlab.rtems.org

Author: Chris Johns

2024-06-13T07:17:52.762Z

assigned to @chris

Author: Chris Johns

2024-06-13T07:23:56.857Z

added 2 commits

  • 86016e9a - 1 commit from branch rtems/tools:main

  • 87a855a7 - rtems: Update RTMES packages after moving to gitlab.rtems.org

Compare with previous version

Author: Chris Johns

2024-06-13T07:24:25.875Z

changed title from Update RT{-M-}ES packages after moving to gitlab.rtems.org to Update RTE{+M+}S packages after moving to gitlab.rtems.org

Author: Amar Takhar

2024-06-13T07:28:00.134Z

approved this merge request

25 - sb/rtemspkg: Use git:// paths for download URLs

Id

25

State

merged

Merged by

Amar Takhar

Merged at

2024-06-13T07:18:11.809Z

Assignee(s)

Chris Johns

Created

2024-06-13T07:13:07.911Z

Updated

2024-06-13T07:18:13.372Z

Milestone

6.1

Link

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

Commit

86016e9a50e3d3a5ea5e2ab6f0f3740bb1a4cd64

Use git:// paths for download URLs

Add protocol=https to support gitlab.rtems.org

Close #12

Author: Chris Johns

2024-06-13T07:13:08.088Z

assigned to @chris

Author: Amar Takhar

2024-06-13T07:18:08.291Z

approved this merge request

21 - Fix MacOS python patch to the GDB 14.2 build and reduce down tar output

Id

21

State

merged

Merged by

Amar Takhar

Merged at

2024-06-11T04:48:36.449Z

Assignee(s)

Chris Johns

Created

2024-06-11T04:34:38.110Z

Updated

2024-06-12T01:01:30.448Z

Milestone

6.1

Link

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

Commit

f788d9011bf5882d5ecad3db73b5596f59739a4f

  1. Add the MacOS python patch to the GDB 14.2 build

  2. No verbose tar output when --trace is not used

Closes #9

Author: Chris Johns

2024-06-11T04:34:38.258Z

assigned to @chris

Author: Amar Takhar

2024-06-11T04:48:20.561Z

Are these changes and the ones below intentional? Is it a different change that slipped through?

Author: Chris Johns

2024-06-11T04:48:20.561Z

Forgot the change was in the repo. I have updated the MR details to reflect the changed.

Author: Chris Johns

2024-06-11T04:47:34.175Z

changed title from {-rtems/6: Add the-} MacOS python patch to the GDB 14.2 build to {+Fix+} MacOS python patch to the GDB 14.2 build{+ and reduce down tar output+}

Author: Chris Johns

2024-06-11T04:47:34.203Z

changed the description

Author: Chris Johns

2024-06-11T04:48:20.601Z

resolved all threads

Author: Amar Takhar

2024-06-11T04:48:30.371Z

approved this merge request

Author: Chris Johns

2024-06-12T01:01:30.426Z

mentioned in issue #11

16 - gdb: Build MPFR before GDB as it now depeneds on it

Id

16

State

merged

Merged by

Amar Takhar

Merged at

2024-06-08T19:42:26.396Z

Assignee(s)

Chris Johns

Reviewer(s)

Joel Sherrill, Amar Takhar

Created

2024-06-08T00:47:02.398Z

Updated

2024-06-08T19:42:28.385Z

Milestone

6.1

Link

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

Commit

423d98d2058a7dac0921f9a13113b024696236b9

Summary

Build MPFR before GDB as it now depeneds on it

Closes #7

Author: Chris Johns

2024-06-08T00:47:02.540Z

requested review from @amar and @joel

Author: Chris Johns

2024-06-08T00:47:02.556Z

assigned to @chris

Author: Chris Johns

2024-06-08T01:18:12.315Z

added 11 commits

  • f1bfcd6e…f39e9584 - 10 commits from branch rtems/tools:main

  • 148922b4 - gdb: Build MPFR before GDB as it now depeneds on it

Compare with previous version

Author: Chris Johns

2024-06-08T04:35:59.768Z

added 1 commit

  • 423d98d2 - gdb: Build MPFR before GDB as it now depeneds on it

Compare with previous version

Author: Chris Johns

2024-06-08T04:37:10.262Z

This MR builds Expat, GMP and MPFR as internal libraries for static linking

Author: Chris Johns

2024-06-08T04:44:17.260Z

mentioned in issue #7

Author: Amar Takhar

2024-06-08T19:42:20.345Z

This builds and works fine now.

Author: Amar Takhar

2024-06-08T19:42:22.698Z

approved this merge request

15 - Update for gitlab changes and fix minor issues

Id

15

State

merged

Merged by

Chris Johns

Merged at

2024-06-06T23:25:31.643Z

Assignee(s)

Kinsey Moore

Reviewer(s)

Chris Johns

Created

2024-06-05T18:20:12.821Z

Updated

2024-06-06T23:26:44.870Z

Milestone

6.1

Link

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

Commit

f39e9584775a0bccdbd6959a9c55d473330d08e2

This MR is to fix the gitlab migration issues for main (6/7) branch for #3

The rtems_waf changes and the rtemspkg.py changes in particular need additional eyes as I’m not familiar with all parts of the RSB workflow.

Author: Kinsey Moore

2024-06-05T18:20:12.973Z

assigned to @opticron

Author: Kinsey Moore

2024-06-05T18:22:05.654Z

mentioned in issue #3

Author: Kinsey Moore

2024-06-05T18:25:08.992Z

added 16 commits

  • 3fc04f12…108b765c - 7 commits from branch rtems/tools:main

  • 9b231161 - rtems/config: Cleanup orphaned configs

  • 1039f6af - sis: Handle renaming

  • 892e6217 - rtems-tools: Update location to gitlab

  • bcd838fc - config/rtems-kernel: Update error text

  • ff51caa9 - config/rtems-kernel: Update for gitlab

  • 31602629 - config/rtems-libbsd: Update for gitlab

  • 55084f6f - config/rtems-net-legacy: Update for gitlab

  • 0ffb6192 - config/rtems-net-services: Update for gitlab

  • 514e6253 - config: Update rtems_waf for gitlab

Compare with previous version

Author: Kinsey Moore

2024-06-05T19:25:19.809Z

requested review from @chris

Author: Kinsey Moore

2024-06-05T20:50:25.012Z

It looks like the libffi patch path isn’t quite right.

Author: Kinsey Moore

2024-06-05T20:55:25.360Z

added 9 commits

  • c261531d - rtems/config: Cleanup orphaned configs

  • 263444aa - sis: Handle renaming

  • 819d5e92 - rtems-tools: Update location to gitlab

  • 3fdb8e9f - config/rtems-kernel: Update error text

  • b7be268a - config/rtems-kernel: Update for gitlab

  • 29396592 - config/rtems-libbsd: Update for gitlab

  • 8a4c26f7 - config/rtems-net-legacy: Update for gitlab

  • d68c65b2 - config/rtems-net-services: Update for gitlab

  • 10f494df - config: Update rtems_waf for gitlab

Compare with previous version

Author: Kinsey Moore

2024-06-05T20:56:13.597Z

I had a stale patch in patches that prevented it from picking up the failure to find the patch on the 6 branch that doesn’t exist yet. The updated patch set fixes the libffi patch download issue.

Author: Kinsey Moore

2024-06-05T21:04:15.822Z

added 1 commit

  • 227582a6 - Migrate devel links to gitlab

Compare with previous version

Author: Kinsey Moore

2024-06-05T21:04:36.118Z

The final patch also addresses #4

Author: Kinsey Moore

2024-06-06T14:22:12.671Z

Also of note, I don’t have a lot of the platforms that these patches affect, so I can’t verify the download of patches for things like darwin.

Author: Chris Johns

2024-06-06T14:22:12.671Z

The sb-get-source --stop-on-error is your friend here. It will make sure all build sets and so all configurations are run through all possible host types. The --stop-on-error option is needed or you miss issues.

Note, delete the sources and patches directories before running or the RSB will see the cached files and assume they are all OK.

Author: Kinsey Moore

2024-06-06T14:22:12.671Z

I have updated the one hash that threw an error.

Author: Chris Johns

2024-06-06T00:50:46.658Z

marked this merge request as draft

Author: Chris Johns

2024-06-06T14:24:41.075Z

I suspect this change in this .bset file is not accessible in .cfg files so I wonder if this file is copied to rtems-urls.cfg and rtems-urls.bset includes the .cfg file? We may not need a .bset version if no extension is added to the include but I would need to check this to be certain.

Over time references to our git repos have been added to a number of config files. I am fine with the changes in this MR staying as they are and then a separate issue added to clean up the build set and config files to have a single reference if that is too much for this change?

Author: Kinsey Moore

2024-06-06T14:24:41.075Z

I’d prefer the cleanup to happen in a different MR/issue. I definitely noticed that the defined URLs were not consistently used or available and were often redefined instead of pulling in the global set.

Author: Chris Johns

2024-06-06T01:07:05.678Z

@opticron awesome set of changes, thank you. I have made the MR draft until the sb-get-sources command has been run and completes. The https://gitlab.rtems.org/administration/integration/-/issues/6 issue will use this command to update the cache on ftp.rtems.org so it will be checked once we have the CI running.

Author: Kinsey Moore

2024-06-06T14:21:36.053Z

added 2 commits

  • e4a69442 - config: Update rtems_waf for gitlab

  • 1549a7b9 - Migrate devel links to gitlab

Compare with previous version

Author: Kinsey Moore

2024-06-06T14:24:41.091Z

resolved all threads

Author: Kinsey Moore

2024-06-06T14:24:57.667Z

marked this merge request as ready

Author: Kinsey Moore

2024-06-06T23:10:13.801Z

added 2 commits

  • 0ed7e8c6 - config: Update rtems_waf for gitlab

  • f39e9584 - Migrate devel links to gitlab

Compare with previous version

Author: Kinsey Moore

2024-06-06T23:11:33.510Z

The patch set has been updated for the rtems-waf -> rtems_waf renaming and passes sb-get-sources.

Author: Chris Johns

2024-06-06T23:24:45.448Z

I have also done my testing and it looks good. I have found an unrelated bug I will post in a separate merge request. Thanks for the change.

Author: Chris Johns

2024-06-06T23:24:55.676Z

approved this merge request

Author: Kinsey Moore

2024-06-06T23:26:44.724Z

mentioned in issue #4

13 - Update binutils, gdb, and gcc

Id

13

State

merged

Merged by

Chris Johns

Merged at

2024-06-03T21:36:14.381Z

Assignee(s)

Joel Sherrill

Created

2024-06-01T16:21:13.425Z

Updated

2024-06-03T21:36:15.618Z

Milestone

6.1

Labels

tool::binutils

Link

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

Commit

108b765c96bfa494824eae0101630aa1bbfbf435

Summary

Update binutils, gdb, and gcc

  • Update to binutils 2.41

  • Update to gdb 14.2

  • Update to gcc 13.3

updates #4768

Author: Joel Sherrill

2024-06-01T16:21:13.597Z

assigned to @joel

Author: Chris Johns

2024-06-03T21:36:09.620Z

approved this merge request

12 - Format all code with yapf defaults

Id

12

State

merged

Merged by

Amar Takhar

Merged at

2024-05-25T21:48:38.307Z

Assignee(s)

Chris Johns

Created

2024-05-25T05:17:51.466Z

Updated

2024-05-25T21:48:39.157Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

0e02b48b80941d68c7cb0da42c12938162a2abe4

Summary

Format the RSB source code with yapf defaults to meet the coding standard’s Python formatting rules

Author: Chris Johns

2024-05-25T05:17:51.763Z

assigned to @chris

Author: Amar Takhar

2024-05-25T21:48:34.994Z

approved this merge request

11 - Fix –url paths so they download the –rsb-file

Id

11

State

merged

Merged by

Chris Johns

Merged at

2024-05-23T22:08:28.262Z

Assignee(s)

Chris Johns

Created

2024-05-17T06:03:32.582Z

Updated

2024-05-23T22:08:29.517Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

a3819b8e4f3d6fc846fcf2aa53474eff62093bfd

Summary

Fix --url paths so they download the --rsb-file

This lets --url point to a cache of files

Closes #5

Author: Chris Johns

2024-05-17T06:03:32.740Z

assigned to @chris

Author: Chris Johns

2024-05-17T06:04:10.123Z

added 3 commits

  • 229afea7…484c7a40 - 2 commits from branch rtems/tools:main

  • d8ac75e2 - sb/download: Fix –url paths so they download the –rsb-file

Compare with previous version

Author: Chris Johns

2024-05-17T06:04:59.528Z

marked this merge request as draft

Author: Chris Johns

2024-05-17T06:49:46.811Z

added 1 commit

  • a3819b8e - sb/download: Fix –url paths so they download the –rsb-file

Compare with previous version

Author: Chris Johns

2024-05-17T06:50:14.914Z

marked this merge request as ready

Author: Gedare Bloom

2024-05-23T20:57:55.882Z

approved this merge request

10 - Update QEMU to build on FreeBSD 14.0

Id

10

State

merged

Merged by

Amar Takhar

Merged at

2024-05-16T05:07:07.000Z

Assignee(s)

Chris Johns

Created

2024-05-16T04:51:47.589Z

Updated

2024-05-16T05:07:08.068Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

484c7a4095fe8cebba0320b58bf9477f2f40b1b6

Update QEMU

This update allows QEMU to build on FreeBSD. The updates are:

  • sb/pkg-config:

  • Support --version. Meson uses --version to determine if pkg-config is valid.

  • Supoort --modversion. Meson uses --modversion to determine the version of a library.

  • Update pixman because it did not build

  • Update glib because it did not build. This meant adding support for meson.

  • Update qemu build to resolve shared libraries. For some reason qemu does not accept an -rpath that is $prefix/lib. The option seems to be removed. Add a trailing / to the path lets qemu keep the -rpath option and the executable can find the installed shared libraries.

  • Add -rpath to all the packages in the vertical stack so any shared libraries loaded can find other shared libraries they depend on

Closes #2

Author: Chris Johns

2024-05-16T04:51:47.748Z

assigned to @chris

Author: Chris Johns

2024-05-16T04:59:38.773Z

added 15 commits

  • 20ede602…35ef965f - 13 commits from branch rtems/tools:main

  • 89a24469 - sb/pkg-config: Support –version and –modversion

  • 484c7a40 - bare/devel/qemu: Update to glib and pixman to build QEMU

Compare with previous version

Author: Chris Johns

2024-05-16T05:01:46.222Z

changed the description

Author: Chris Johns

2024-05-16T05:02:25.991Z

changed the description

Author: Amar Takhar

2024-05-16T05:06:54.570Z

approved this merge request

9 - qemu-xilinx: Allow build with conflicting libspice

Id

9

State

merged

Merged by

Chris Johns

Merged at

2024-05-07T21:11:17.532Z

Created

2024-05-07T21:08:30.689Z

Updated

2024-05-07T21:11:18.461Z

Milestone

6.1

Labels

arch:aarch64

Link

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

Commit

35ef965f83aa43d261a1741a1042e6222471d0d7

Summary

qemu-xilinx: Allow build with conflicting libspice

Allow Xilinx QEMU to build on systems where there is a version of libspice available that isn’t what the QEMU build system expects. This resolves linking errors against libspice and libgstreamer.

Author: Chris Johns

2024-05-07T21:11:10.847Z

approved this merge request

8 - Update Newlib, Binutils, GDB, GCC for RTEMS 6/7

Id

8

State

merged

Merged by

Chris Johns

Merged at

2024-05-07T05:09:19.478Z

Created

2024-05-02T14:56:44.484Z

Updated

2024-05-07T07:35:45.464Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

5faa46ce70702afcef65afe180676a7d580f1243

Summary

Keep RTEMS up to date with the upstream development.

Author: Chris Johns

2024-05-07T07:35:46.183Z

Is the NIOS2 going to be 7?

Author: Sebastian Huber

2024-05-07T07:35:46.183Z

The nios2 target is still supported in GCC 14. If we ship RTEMS 7 with GCC 14, then I would say yes, with a later GCC no.

Author: Chris Johns

2024-05-07T07:35:46.183Z

We need to announce removal of an arch in 7 when we release 6. If we do not ship GCC 14 with 7 we could let the nios2 stay on GCC 14 for 7 and we announce it’s removal?

Author: Sebastian Huber

2024-05-07T07:35:46.183Z

I am not sure why you rush for the nios2 removal. Currently it builds fine.

Author: Chris Johns

2024-05-07T07:35:46.183Z

We track GCC and this merge request enables obsolete architectures. That raises a warning to me.

We cannot just remove the BSP as we have a policy of tagging it for removal in one release for removal in the next. If we are not proactive in managing this we end up carrying dead architectures. We have a few now.

Author: Sebastian Huber

2024-05-07T07:35:46.183Z

The nios2 target is definitely not recommended for new designs. We can still support it on a best effort basis. Right now the tools are fine.

Author: Chris Johns

2024-05-07T05:08:41.254Z

approved this merge request

Author: Chris Johns

2024-05-07T05:09:10.702Z

resolved all threads

7 - sync in changes from master

Id

7

State

merged

Merged by

Gedare Bloom

Merged at

2024-05-02T04:57:54.704Z

Assignee(s)

Gedare Bloom

Reviewer(s)

Chris Johns

Created

2024-05-02T04:27:52.540Z

Updated

2024-05-02T04:57:56.894Z

Milestone

6.1

Link

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

Commit

9c38d92a6dd02d257e04fb7d7feacc412c3276e5

Summary

Replay commits from master that were missed during the transition to gitlab.

Closes #1

Author: Gedare Bloom

2024-05-02T04:27:52.990Z

requested review from @chris

Author: Gedare Bloom

2024-05-02T04:27:53.027Z

assigned to @gedare

Author: Chris Johns

2024-05-02T04:43:33.841Z

approved this merge request

2 - Change README to markdown

Id

2

State

merged

Merged by

Amar Takhar

Merged at

2024-05-01T03:42:13.781Z

Assignee(s)

Chris Johns

Reviewer(s)

Amar Takhar

Created

2024-05-01T02:35:15.609Z

Updated

2024-05-01T03:42:14.724Z

Milestone

6.1

Link

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

Commit

93321bacf219039a02b3150c83ed1114d5bd1657

Change README to markdown

Author: Chris Johns

2024-05-01T02:35:15.724Z

requested review from @amar

Author: Chris Johns

2024-05-01T02:35:15.755Z

assigned to @chris

Author: Amar Takhar

2024-05-01T03:42:07.211Z

Sorry for the noise we were testing the CODEOWNER setup.

Author: Amar Takhar

2024-05-01T03:42:08.881Z

approved this merge request

83 - Draft: RTEMS Package Add support for –release-branch (closed)

Id

83

State

closed

Assignee(s)

Chris Johns

Closed by

Chris Johns

Created

2024-11-26T03:48:51.777Z

Closed

2024-11-27T02:36:11.903Z

Updated

2024-11-27T02:36:11.863Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

a703d04e7e3b0b01f13ee379486438091e43b9e6

Add support for –release-branch

Closes #52

Author: Chris Johns

2024-11-26T03:48:51.952Z

assigned to @chris

Author: Chris Johns

2024-11-26T03:49:21.541Z

changed title from RTEMS Pa{-k-}cage Add support for –release-branch to RTEMS Pac{+k+}age Add support for –release-branch

Author: Chris Johns

2024-11-27T02:20:22.670Z

added 3 commits

  • 548ae545…8d96b6fc - 2 commits from branch rtems/tools:main

  • a703d04e - sp/rtems-pkg: Add support for –release-branch

Compare with previous version

Author: Chris Johns

2024-11-27T02:27:59.243Z

changed target branch from main to 6

Author: Chris Johns

2024-11-27T02:28:25.161Z

marked this merge request as draft

Author: Chris Johns

2024-11-27T02:29:01.041Z

changed target branch from 6 to main

Author: Chris Johns

2024-11-27T02:33:24.697Z

changed target branch from main to 6

Author: Chris Johns

2024-11-27T02:36:11.327Z

The MR was created with the wrong branch and editing the MR to change the branch to 6 brings in extra commits. I do not know how to stop that.

1 - Resolve “Migrate commits from master to main after gitlab transition” (closed)

Id

1

State

closed

Assignee(s)

Gedare Bloom

Reviewer(s)

Chris Johns

Closed by

Gedare Bloom

Created

2024-04-29T15:54:04.265Z

Closed

2024-05-01T16:10:10.483Z

Updated

2024-05-01T16:10:10.469Z

Milestone

6.1

Link

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

Commit

92265b779076f6a30ea9efe4c7a06ac7744a0f8c

Summary

Closes #1

Author: Gedare Bloom

2024-04-29T15:54:04.396Z

requested review from @chris

Author: Gedare Bloom

2024-04-29T15:54:04.428Z

assigned to @gedare

Author: Gedare Bloom

2024-04-29T15:54:35.486Z

added 8 commits

  • e959a3e7 - rtems-tools-6.cfg: Bump hash to account for 5 months of changes

  • 35493576 - rtems-gcc-*-newlib-head.cfg: Bump hash for newlib

  • b0b7454c - rtems: Update RTEMS packages to their HEAD

  • 00344e21 - sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

  • 801daf78 - glib: Update to 2.56.4

  • c479ed3a - qemu-xilinx: Update to 2023.2

  • 2a3323cb - rtems: Checksum fixes

  • 92265b77 - 6/rtems-gcc: Revert to the gcc-13 release branch for MacOS fixes

Compare with previous version

Author: Gedare Bloom

2024-04-29T15:54:47.482Z

marked this merge request as ready

5 - rsb: Minor README change (closed)

Id

5

State

closed

Assignee(s)

Chris Johns

Reviewer(s)

Amar Takhar

Closed by

Chris Johns

Created

2024-05-01T04:30:37.579Z

Closed

2024-05-01T04:32:59.718Z

Updated

2024-05-01T04:32:59.709Z

Milestone

6.1

Link

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

Commit

12ef73fdb66d2fec435c0d9c0c16f9a5a0cb3981

Summary

Author: Chris Johns

2024-05-01T04:30:37.697Z

requested review from @amar

Author: Chris Johns

2024-05-01T04:30:37.717Z

assigned to @chris

4 - rsb: Minor README change (closed)

Id

4

State

closed

Assignee(s)

Chris Johns

Reviewer(s)

Amar Takhar

Closed by

Chris Johns

Created

2024-05-01T04:24:31.506Z

Closed

2024-05-01T04:27:01.044Z

Updated

2024-05-01T04:27:01.034Z

Milestone

6.1

Link

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

Commit

12ef73fdb66d2fec435c0d9c0c16f9a5a0cb3981

Minor README update

Author: Chris Johns

2024-05-01T04:24:31.619Z

requested review from @amar

Author: Chris Johns

2024-05-01T04:24:31.639Z

assigned to @chris

3 - rsb: Minor README change (closed)

Id

3

State

closed

Assignee(s)

Chris Johns

Reviewer(s)

Amar Takhar

Closed by

Chris Johns

Created

2024-05-01T04:02:14.215Z

Closed

2024-05-01T04:22:02.238Z

Updated

2024-05-01T04:22:02.224Z

Milestone

6.1

Link

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

Commit

12ef73fdb66d2fec435c0d9c0c16f9a5a0cb3981

Minor change to the README

This is part of the GitLab testing

Author: Chris Johns

2024-05-01T04:02:14.335Z

requested review from @amar

Author: Chris Johns

2024-05-01T04:02:14.479Z

assigned to @chris

Author: Chris Johns

2024-05-01T04:19:06.422Z

Closing to remake for testing.

Author: Chris Johns

2024-05-01T04:22:01.711Z

Closing. Part of testing.

84 - RTEMS Packages: Add support for –release-branch (opened)

Id

84

State

opened

Assignee(s)

Chris Johns

Reviewer(s)

Amar Takhar

Created

2024-11-27T02:38:11.930Z

Updated

2024-12-16T04:09:26.135Z

Milestone

6.1

Labels

tool::rtems-source-builder

Link

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

Commit

c091e116db04277dd46e0664e76ad2e7b915fab2

Summary

sp/rtems-pkg: Add support for –release-branch

Closes #52

Author: Chris Johns

2024-11-27T02:38:12.121Z

assigned to @chris

Author: Chris Johns

2024-11-27T03:53:41.694Z

added 2 commits

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

  • 4096475e - sp/rtems-pkg: Add support for –release-branch

Compare with previous version

Author: Kinsey Moore

2024-11-27T20:28:35.634Z

added 2 commits

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

  • e2b93a3f - sp/rtems-pkg: Add support for –release-branch

Compare with previous version

Author: Kinsey Moore

2024-11-27T22:43:36.521Z

The help text here doesn’t seem to be fully coherent. Is it possible there is a misspelled word?

Author: Chris Johns

2024-11-27T22:43:30.158Z

changed this line in version 4 of the diff

Author: Chris Johns

2024-11-27T22:43:30.451Z

added 3 commits

  • 9e3f776d - rtems/pkgs: Update all packages post 6 branch

  • 8d96b6fc - rtems/c++: Patch to support C++17 filesystem namespace calls

  • 23d30ce2 - sp/rtems-pkg: Add support for –release-branch

Compare with previous version

Author: Chris Johns

2024-11-27T22:43:36.537Z

resolved all threads

Author: Chris Johns

2024-11-27T22:43:54.028Z

requested review from @opticron

Author: Amar Takhar

2024-11-28T04:54:50.130Z

approved this merge request

Author: Amar Takhar

2024-11-28T05:02:14.137Z

@chris this needs to be rebased manually.

Author: Chris Johns

2024-11-28T05:02:14.137Z

Please review again. I rebased.

Author: Chris Johns

2024-11-28T04:59:46.234Z

added 3 commits

  • 23d30ce2…6a0772b8 - 2 commits from branch rtems/tools:6

  • be8e9d95 - sp/rtems-pkg: Add support for –release-branch

Compare with previous version

Author: Chris Johns

2024-11-28T05:00:02.874Z

reset approvals from @amar by pushing to the branch

Author: Chris Johns

2024-11-28T05:00:41.100Z

added 3 commits

  • be8e9d95…c8f5eea2 - 2 commits from branch rtems/tools:6

  • 70c0bc0d - sp/rtems-pkg: Add support for –release-branch

Compare with previous version

Author: Chris Johns

2024-11-28T05:01:15.323Z

requested review from @amar and removed review request for @opticron

Author: Chris Johns

2024-11-28T05:02:14.156Z

resolved all threads

Author: Amar Takhar

2024-11-28T05:26:30.610Z

approved this merge request

Author: Amar Takhar

2024-11-28T05:27:01.751Z

Did this change get reverted?

Author: Chris Johns

2024-12-05T23:48:39.206Z

It must have. Thanks.

Author: Kinsey Moore

2024-12-16T04:09:30.281Z

added 2 commits

  • 733a9b18 - 1 commit from branch rtems/tools:6

  • c091e116 - sp/rtems-pkg: Add support for –release-branch

Compare with previous version