[RSB 1/3] 6/7: Update Newlib

2024-04-27 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development.
---
 rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-13-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
index 1627dac..33a73c8 100644
--- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
@@ -14,12 +14,12 @@
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
 %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch 
afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
 
-%define newlib_version 176b19f
+%define newlib_version 730703b
 %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 \
-  
ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
+  
To+Y9HgOQIVkjDPUIZninoXtsHNvBXzkMhHw5WgzJlk3WoajUko/QRRowPVqJOfVYOALXXbPeRS1ermxuFCWDA==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
index 315f70b..84dfe32 100644
--- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
@@ -17,12 +17,12 @@
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
 %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch 
afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
 
-%define newlib_version 176b19f
+%define newlib_version 730703b
 %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 \
-  
ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
+  
To+Y9HgOQIVkjDPUIZninoXtsHNvBXzkMhHw5WgzJlk3WoajUko/QRRowPVqJOfVYOALXXbPeRS1ermxuFCWDA==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index 4387486..0d34c85 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -34,13 +34,13 @@
 
KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
 # Comment above related to #4657 and patches ends here
 
-%define newlib_version 176b19f
+%define newlib_version 730703b
 %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 \
-  
ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
+  
To+Y9HgOQIVkjDPUIZninoXtsHNvBXzkMhHw5WgzJlk3WoajUko/QRRowPVqJOfVYOALXXbPeRS1ermxuFCWDA==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
index 4dbbd9b..874a9f3 100644
--- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -8,12 +8,12 @@
 %hash sha512 %{gcc_expand_name}.tar.gz \
   
UAXjyfPP883wjLDnobDk4wmg/vAO0I4LjzzurLCKejj0FUSk0KvlkVj1CF+3XwFcdlCWRhN7z/Ls4fOunafe9w==
 
-%define newlib_version 176b19f
+%define newlib_version 730703b
 %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 \
-  
ZUzGjXI3ZJ6GrxMXggg+jIO0nyi+edKoilckRxtujsOiwhOyITahIqcOHhZiX5nd4E4UX9p3BSDima/Fd0Gr0w==
+  
To+Y9HgOQIVkjDPUIZninoXtsHNvBXzkMhHw5WgzJlk3WoajUko/QRRowPVqJOfVYOALXXbPeRS1ermxuFCWDA==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg

[RSB 2/3] 6: Update GCC 12 and 13

2024-04-27 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development.

For GCC 13, this includes a new set of aarch64 multilibs to address Cortex-A53
workarounds and fixes for powerpc.
---
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index 0d34c85..2c32dbb 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version a285310
+%define gcc_version 5705761
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
sYxUkDJD7qaCzXndAljnAQMbmssg7AY97cBAMjwqDSC6vxseGSzvO8LGMW46ASM6Zq2frKj8XVj27GnPmwSIXQ==
+  
UDkzSz2uzFzsQ5CfhVz+guUk9Y6UEgWVSRtAHRyhKt+w6aDgEjsDT2JyOErCOATqZQWrK2ZaqDEh7lczz0/vvw==
 
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch
 %hash sha512 0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch \
diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
index 874a9f3..1d5959f 100644
--- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 54a235e
+%define gcc_version 67ec6b8
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
UAXjyfPP883wjLDnobDk4wmg/vAO0I4LjzzurLCKejj0FUSk0KvlkVj1CF+3XwFcdlCWRhN7z/Ls4fOunafe9w==
+  
XrL345Kt/jd7umjECzc+dWWeiIuN0mXw/Pta5AcZUzqkIaLXXGwNC2mTNJVHRzS4eRc/XnYaaRbHYRfnwXzlLw==
 
 %define newlib_version 730703b
 %define newlib_external 1
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB 3/3] 7: Update Binutils, GDB, and GCC

2024-04-27 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development.  This snapshot is close to
the GCC 14 release.
---
 rtems/config/tools/rtems-binutils-head.cfg| 4 ++--
 rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gdb-head.cfg | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/rtems/config/tools/rtems-binutils-head.cfg 
b/rtems/config/tools/rtems-binutils-head.cfg
index 3516d2c..a3ee877 100644
--- a/rtems/config/tools/rtems-binutils-head.cfg
+++ b/rtems/config/tools/rtems-binutils-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define binutils_version eb42bb1
+%define binutils_version 94f7532
 %define binutils_external 1
 %define binutils_expand_name sourceware-mirror-binutils-gdb-%{binutils_version}
 %source set binutils --rsb-file=%{binutils_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version}
 %hash sha512 %{binutils_expand_name}.tar.gz \
-  
qDuLOqwQ/kQX30hIu5UVDqMuKjnpoKTEZ4xo85lrzq6VtnCd6nwdO5t9szbhJc4P1UWww9rRNMcqj7d2BKeNqg==
+  
9UXnhlQrz87/NJ4rDU/m0nYAbaDJWY8/WA1VBqyOboY3QquejzNNGIHRd2I4p5B6pVmcDRX0Wa5/Io4+AOdmNw==
 
 %define with_deterministic_archives 1
 %define with_64_bit_bfd 1
diff --git a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
index af8957a..f13f7c6 100644
--- a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 41aacde
+%define gcc_version 140124a
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
xPwSCLLXsJfFKontgrGlU9ep/PVlP3bQOGbgRCG0mj8sD5dq2ifo5VOwGwVMRQD0VFVVOWqeykq3OVkZYlu1GA==
+  
F4l7XA1+KIyuX+IAsCPMcuDU1UVN1VZqkSyA3ppA8woc2+NbygqeNYLlfMkWZDU8fw2ASo7Z0KMd5LYz28iqjQ==
 
 %define newlib_version 730703b
 %define newlib_external 1
diff --git a/rtems/config/tools/rtems-gdb-head.cfg 
b/rtems/config/tools/rtems-gdb-head.cfg
index 17ecee8..f908c63 100644
--- a/rtems/config/tools/rtems-gdb-head.cfg
+++ b/rtems/config/tools/rtems-gdb-head.cfg
@@ -1,11 +1,11 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gdb_version eb42bb1
+%define gdb_version 94f7532
 %define gdb_external 1
 %define gdb_expand_name sourceware-mirror-binutils-gdb-%{gdb_version}
 %source set gdb --rsb-file=%{gdb_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{gdb_version}
 %hash sha512 %{gdb_expand_name}.tar.gz \
-  
qDuLOqwQ/kQX30hIu5UVDqMuKjnpoKTEZ4xo85lrzq6VtnCd6nwdO5t9szbhJc4P1UWww9rRNMcqj7d2BKeNqg==
+  
9UXnhlQrz87/NJ4rDU/m0nYAbaDJWY8/WA1VBqyOboY3QquejzNNGIHRd2I4p5B6pVmcDRX0Wa5/Io4+AOdmNw==
 
 %include %{_configdir}/gdb-8-1.cfg
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: RSB format changes to meet coding standard

2024-04-21 Thread Joel Sherrill
On Sat, Apr 20, 2024, 7:19 PM Chris Johns  wrote:

> On 19/4/2024 7:15 pm, andrew.butterfi...@scss.tcd.ie wrote:
> > Will you also do this with the formal code in rtems-central/formal ?
>
> Sorry, I do not use it so would prefer not to update it just yet. I think
> it
> best left to the leaders of that repo.
>
> > I do remember using yapf at some point – I have no problem in your doing
> this here.
>
> Great.
>
> > I expect to be proposing an update to the formal stuff
> >  (models,code,documentation) over the Summer period as well.
>
> Great and looking forward to see the results. We will be on GitLab soon
> and that
> will help us all with merge requests as well as coordinating these
> activities,
> for example GitLab has Epics.
>

Checking that Python source is properly formatted sounds like a nice low
hanging CI job once we have switched over and things have settled.

>
> Chris
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RSB format changes to meet coding standard

2024-04-20 Thread Chris Johns
On 19/4/2024 7:15 pm, andrew.butterfi...@scss.tcd.ie wrote:
> Will you also do this with the formal code in rtems-central/formal ?

Sorry, I do not use it so would prefer not to update it just yet. I think it
best left to the leaders of that repo.

> I do remember using yapf at some point – I have no problem in your doing this 
> here.

Great.

> I expect to be proposing an update to the formal stuff
>  (models,code,documentation) over the Summer period as well.

Great and looking forward to see the results. We will be on GitLab soon and that
will help us all with merge requests as well as coordinating these activities,
for example GitLab has Epics.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RSB format changes to meet coding standard

2024-04-19 Thread andrew.butterfi...@scss.tcd.ie
Hi Chris,
Will you also do this with the formal code in rtems-central/formal ?

I do remember using yapf at some point – I have no problem in your doing this 
here.

I expect to be proposing an update to the formal stuff  
(models,code,documentation) over the Summer period as well.

Regards, Andrew



From: devel  on behalf of Joel Sherrill 

Date: Friday, 19 April 2024 at 03:09
To: Chris Johns 
Cc: Development 
Subject: Re: RSB format changes to meet coding standard

On Thu, Apr 18, 2024, 7:31 PM Chris Johns 
mailto:chr...@rtems.org>> wrote:
Hi,

I would like to run the python code we own through yapf and it's default to
standardise the formatting and to being it inline with the coding standards. It
would be good to do this before we branch for RTEMS 6.

I can crate a patch and post if required but it will be noise and doubt anyone
will review it, I would not. I will run builds etc to make sure the conversion
is clean.

Do I have permission to make the format change as a single commit and push it?

I'm certainly ok with this.

Thanks
Chris
___
devel mailing list
devel@rtems.org<mailto:devel@rtems.org>
http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RSB format changes to meet coding standard

2024-04-18 Thread Joel Sherrill
On Thu, Apr 18, 2024, 7:31 PM Chris Johns  wrote:

> Hi,
>
> I would like to run the python code we own through yapf and it's default to
> standardise the formatting and to being it inline with the coding
> standards. It
> would be good to do this before we branch for RTEMS 6.
>
> I can crate a patch and post if required but it will be noise and doubt
> anyone
> will review it, I would not. I will run builds etc to make sure the
> conversion
> is clean.
>
> Do I have permission to make the format change as a single commit and push
> it?
>

I'm certainly ok with this.

>
> Thanks
> Chris
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

RSB format changes to meet coding standard

2024-04-18 Thread Chris Johns
Hi,

I would like to run the python code we own through yapf and it's default to
standardise the formatting and to being it inline with the coding standards. It
would be good to do this before we branch for RTEMS 6.

I can crate a patch and post if required but it will be noise and doubt anyone
will review it, I would not. I will run builds etc to make sure the conversion
is clean.

Do I have permission to make the format change as a single commit and push it?

Thanks
Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] 6/rtems-gcc: Revert to the gcc-13 release branch for MacOS fixes

2024-04-13 Thread Joel Sherrill
This is ok to push.

Unfortunate but this is the reality. A GCC 14 release is still future tense.

On Sat, Apr 13, 2024, 8:49 PM  wrote:

> From: Chris Johns 
>
> Change back to gcc-13 branch and a git version as gcc-13.2 does
> not build on MacOS 14.4. The fixes are on the gcc-13 release branch.
> ---
>  rtems/config/6/rtems-default.bset   | 2 +-
>  rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/rtems/config/6/rtems-default.bset
> b/rtems/config/6/rtems-default.bset
> index 2d7a223..2d51c50 100644
> --- a/rtems/config/6/rtems-default.bset
> +++ b/rtems/config/6/rtems-default.bset
> @@ -14,7 +14,7 @@
>  %defineifnot with_rtems_gmp  devel/gmp-6.3.0
>  %defineifnot with_rtems_gdb  tools/rtems-gdb-13.2
>  %defineifnot with_rtems_binutils tools/rtems-binutils-2.41
> -%defineifnot with_rtems_gcc  tools/rtems-gcc-13.2-newlib-head
> +%defineifnot with_rtems_gcc  tools/rtems-gcc-13-newlib-head
>  %defineifnot with_rtems_toolstools/rtems-tools-6
>
>  tools/rtems-default-tools.bset
> diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> index c73d5a6..4dbbd9b 100644
> --- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> @@ -1,12 +1,12 @@
>  %include %{_configdir}/checks.cfg
>  %include %{_configdir}/base.cfg
>
> -%define gcc_version 8c04837
> +%define gcc_version 54a235e
>  %define gcc_external 1
>  %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
>  %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz
> https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
>  %hash sha512 %{gcc_expand_name}.tar.gz \
> -
> YSkX/JY61N+I4CPkJInUNGzwhb+uv+YNs9qcTxxJhg/HpGD5vI9duEPNw++F3y8J4re87DPJGIzV5DsFUBCJnA==
> +
> UAXjyfPP883wjLDnobDk4wmg/vAO0I4LjzzurLCKejj0FUSk0KvlkVj1CF+3XwFcdlCWRhN7z/Ls4fOunafe9w==
>
>  %define newlib_version 176b19f
>  %define newlib_external 1
> @@ -19,4 +19,4 @@
>  %define with_plugin 0
>  %define with_iconv 1
>
> -%include %{_configdir}/gcc-12.cfg
> +%include %{_configdir}/gcc-13.cfg
> --
> 2.39.3 (Apple Git-146)
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH] 6/rtems-gcc: Revert to the gcc-13 release branch for MacOS fixes

2024-04-13 Thread chrisj
From: Chris Johns 

Change back to gcc-13 branch and a git version as gcc-13.2 does
not build on MacOS 14.4. The fixes are on the gcc-13 release branch.
---
 rtems/config/6/rtems-default.bset   | 2 +-
 rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rtems/config/6/rtems-default.bset 
b/rtems/config/6/rtems-default.bset
index 2d7a223..2d51c50 100644
--- a/rtems/config/6/rtems-default.bset
+++ b/rtems/config/6/rtems-default.bset
@@ -14,7 +14,7 @@
 %defineifnot with_rtems_gmp  devel/gmp-6.3.0
 %defineifnot with_rtems_gdb  tools/rtems-gdb-13.2
 %defineifnot with_rtems_binutils tools/rtems-binutils-2.41
-%defineifnot with_rtems_gcc  tools/rtems-gcc-13.2-newlib-head
+%defineifnot with_rtems_gcc  tools/rtems-gcc-13-newlib-head
 %defineifnot with_rtems_toolstools/rtems-tools-6
 
 tools/rtems-default-tools.bset
diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
index c73d5a6..4dbbd9b 100644
--- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 8c04837
+%define gcc_version 54a235e
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
YSkX/JY61N+I4CPkJInUNGzwhb+uv+YNs9qcTxxJhg/HpGD5vI9duEPNw++F3y8J4re87DPJGIzV5DsFUBCJnA==
+  
UAXjyfPP883wjLDnobDk4wmg/vAO0I4LjzzurLCKejj0FUSk0KvlkVj1CF+3XwFcdlCWRhN7z/Ls4fOunafe9w==
 
 %define newlib_version 176b19f
 %define newlib_external 1
@@ -19,4 +19,4 @@
 %define with_plugin 0
 %define with_iconv 1
 
-%include %{_configdir}/gcc-12.cfg
+%include %{_configdir}/gcc-13.cfg
-- 
2.39.3 (Apple Git-146)

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH v3] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread Kinsey Moore
, 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.
> +
> +#
> +# This code builds a package compiler tool suite given a tool set. A tool
> +# set lists the various tools. These are specific tool configurations.
> +#
> +
> +from __future__ import print_function
> +
> +import argparse
> +import base64
> +import copy
> +import datetime
> +import hashlib
> +import os
> +import sys
> +
> +try:
> +from . import build
> +from . import download
> +from . import error
> +from . import git
> +from . import log
> +from . import path
> +from . import simhost
> +from . import version
> +except KeyboardInterrupt:
> +print('abort: user terminated', file=sys.stderr)
> +sys.exit(1)
> +except:
> +raise
> +
> +#
> +# RTEMS Packages we maintian a git hash of in the RSB
> +#
> +rpc_label = 0
> +rpc_config = 1
> +rpc_version = 2
> +rpc_repo = 3
> +rpc_repo_name = 4
> +rpc_branch = 5
> +rpc_snapshot = 6
> +rpc_package = 7
> +rtems_pkg_cfgs = [
> +[
> +'RTEMS Tools', 'tools/rtems-tools-%{rtems_version}.cfg',
> +'rtems_tools_version', 'git://git.rtems.org/rtems-tools',
> +'rtems-tools.git', 'master',
> +'
> https://git.rtems.org/rtems-tools/snapshot/rtems-tools-%{rtems_tools_version}.tar.bz2
> ',
> +'rtems-tools-%{rtems_tools_version}.tar.bz2'
> +],
> +[
> +'RTEMS Kernel', 'tools/rtems-kernel-%{rtems_version}.cfg',
> +'rtems_kernel_version', 'git://git.rtems.org/rtems', 'rtems.git',
> +'master',
> +'
> https://git.rtems.org/rtems/snapshot/rtems-%{rtems_kernel_version}.tar.bz2
> ',
> +'rtems-kernel-%{rtems_kernel_version}.tar.bz2'
> +],
> +[
> +'RTEMS LibBSD', 'tools/rtems-libbsd-%{rtems_version}.cfg',
> +'rtems_libbsd_version', 'git://git.rtems.org/rtems-libbsd',
> +'rtems-libbsd.git', '6-freebsd-12',
> +'
> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}
> ',
> +'rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}'
> +],
> +[
> +'RTEMS Net Legacy', 'tools/rtems-net-legacy-%{rtems_version}.cfg',
> +'rtems_net_version', 'git://git.rtems.org/rtems-net-legacy',
> +'rtems-net-legacy.git', 'main',
> +'
> https://git.rtems.org/rtems-net-legacy/snapshot/rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}
> ',
> +'rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}'
> +],
> +[
> +'RTEMS Net Services', 'net/net-services-1.cfg',
> +'rtems_net_services_version', 'git://
> git.rtems.org/rtems-net-services',
> +'rtems-net-services.git', 'master',
> +'
> https://git.rtems.org/rtems-net-services/snapshot/rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}
> ',
> +
> 'rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}'
> +],
> +]
> +
> +
> +def clean_line(line):
> +line = line[0:-1]
> +b = line.find('#')
> +if b >= 0:
> +line = line[1:b] + ('\\' if line[-1] == '\\' else '')
> +return line.strip()
> +
> +
> +def clean_and_pack(line, last_line):
> +leading_ws = ' ' if len(line) > 0 and line[0].isspace() else ''
> +line = clean_line(line)
> +if len(last_line) > 0:
> +line = last_line + leading_ws + line
> +return line
> +
> +
> +def config_patch(configdir, config, version_label, config_hash, repo_hash,
> + checksum):
> +for cd in configdir.split(':'):
> +cf = path.join(cd, config)
> +if path.exists(cf):
> +try:
> +with open(cf) as f:
> +lines = f.readlines()
> +except IOError as err:
> +raise error.general('config: %s: read error: %s' %
> +(config, str(err)))
> +new_config = []
> +new_lines = []
> +last_line = ''
> +for line in lines:
> +new_lines += [line]
> +line = clean_and_pack(line, last_line)
> +if len(line) > 0:
> +if line[-1] == '\\':
> +last_line = line[:-1]
> +continue
> +last_line = ''
> +if version_label in line and not 'rsb_version' in
> line:
> +if line.startswith('%define

[RSB PATCH v3] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread chrisj
ort simhost
+from . import version
+except KeyboardInterrupt:
+print('abort: user terminated', file=sys.stderr)
+sys.exit(1)
+except:
+raise
+
+#
+# RTEMS Packages we maintian a git hash of in the RSB
+#
+rpc_label = 0
+rpc_config = 1
+rpc_version = 2
+rpc_repo = 3
+rpc_repo_name = 4
+rpc_branch = 5
+rpc_snapshot = 6
+rpc_package = 7
+rtems_pkg_cfgs = [
+[
+'RTEMS Tools', 'tools/rtems-tools-%{rtems_version}.cfg',
+'rtems_tools_version', 'git://git.rtems.org/rtems-tools',
+'rtems-tools.git', 'master',
+
'https://git.rtems.org/rtems-tools/snapshot/rtems-tools-%{rtems_tools_version}.tar.bz2',
+'rtems-tools-%{rtems_tools_version}.tar.bz2'
+],
+[
+'RTEMS Kernel', 'tools/rtems-kernel-%{rtems_version}.cfg',
+'rtems_kernel_version', 'git://git.rtems.org/rtems', 'rtems.git',
+'master',
+
'https://git.rtems.org/rtems/snapshot/rtems-%{rtems_kernel_version}.tar.bz2',
+'rtems-kernel-%{rtems_kernel_version}.tar.bz2'
+],
+[
+'RTEMS LibBSD', 'tools/rtems-libbsd-%{rtems_version}.cfg',
+'rtems_libbsd_version', 'git://git.rtems.org/rtems-libbsd',
+'rtems-libbsd.git', '6-freebsd-12',
+
'https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}',
+'rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}'
+],
+[
+'RTEMS Net Legacy', 'tools/rtems-net-legacy-%{rtems_version}.cfg',
+'rtems_net_version', 'git://git.rtems.org/rtems-net-legacy',
+'rtems-net-legacy.git', 'main',
+
'https://git.rtems.org/rtems-net-legacy/snapshot/rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}',
+'rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}'
+],
+[
+'RTEMS Net Services', 'net/net-services-1.cfg',
+'rtems_net_services_version', 'git://git.rtems.org/rtems-net-services',
+'rtems-net-services.git', 'master',
+
'https://git.rtems.org/rtems-net-services/snapshot/rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}',
+
'rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}'
+],
+]
+
+
+def clean_line(line):
+line = line[0:-1]
+b = line.find('#')
+if b >= 0:
+line = line[1:b] + ('\\' if line[-1] == '\\' else '')
+return line.strip()
+
+
+def clean_and_pack(line, last_line):
+leading_ws = ' ' if len(line) > 0 and line[0].isspace() else ''
+line = clean_line(line)
+if len(last_line) > 0:
+line = last_line + leading_ws + line
+return line
+
+
+def config_patch(configdir, config, version_label, config_hash, repo_hash,
+ checksum):
+for cd in configdir.split(':'):
+cf = path.join(cd, config)
+if path.exists(cf):
+try:
+with open(cf) as f:
+lines = f.readlines()
+except IOError as err:
+raise error.general('config: %s: read error: %s' %
+(config, str(err)))
+new_config = []
+new_lines = []
+last_line = ''
+for line in lines:
+new_lines += [line]
+line = clean_and_pack(line, last_line)
+if len(line) > 0:
+if line[-1] == '\\':
+last_line = line[:-1]
+continue
+last_line = ''
+if version_label in line and not 'rsb_version' in line:
+if line.startswith('%define ' + version_label):
+new_lines = [
+'%define ' + version_label + ' ' + repo_hash +
+os.linesep
+]
+elif line.startswith('%hash '):
+ls = line.split()
+if len(ls) != 4:
+raise error.general('invalid %hash: ' + line)
+new_lines = [
+' '.join(ls[0:3]) + ' \\' + os.linesep,
+'  ' + checksum + os.linesep
+]
+new_config += new_lines
+new_lines = []
+try:
+with open(cf, 'w') as f:
+f.writelines(new_config)
+except IOError as err:
+raise error.general('config: %s: write error: %s' %
+(config, str(err)))
+return
+raise error.general('could not find: ' + config)
+
+
+def checksum_sha512_base64(tarball):
+hasher = hashlib.new('sha512')
+try:
+with open(path.host(tarball), 'rb') as f:
+hasher.update(f.read())
+except IOError as err:
+log.notice('hash: %s: read e

[RSB PATCH v2] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread chrisj
ort simhost
+from . import version
+except KeyboardInterrupt:
+print('abort: user terminated', file=sys.stderr)
+sys.exit(1)
+except:
+raise
+
+#
+# RTEMS Packages we maintian a git hash of in the RSB
+#
+rpc_label = 0
+rpc_config = 1
+rpc_version = 2
+rpc_repo = 3
+rpc_repo_name = 4
+rpc_branch = 5
+rpc_snapshot = 6
+rpc_package = 7
+rtems_pkg_cfgs = [
+[
+'RTEMS Tools', 'tools/rtems-tools-%{rtems_version}.cfg',
+'rtems_tools_version', 'git://git.rtems.org/rtems-tools',
+'rtems-tools.git', 'master',
+
'https://git.rtems.org/rtems-tools/snapshot/rtems-tools-%{rtems_tools_version}.tar.bz2',
+'rtems-tools-%{rtems_tools_version}.tar.bz2'
+],
+[
+'RTEMS Kernel', 'tools/rtems-kernel-%{rtems_version}.cfg',
+'rtems_kernel_version', 'git://git.rtems.org/rtems', 'rtems.git',
+'master',
+
'https://git.rtems.org/rtems/snapshot/rtems-%{rtems_kernel_version}.tar.bz2',
+'rtems-kernel-%{rtems_kernel_version}.tar.bz2'
+],
+[
+'RTEMS LibBSD', 'tools/rtems-libbsd-%{rtems_version}.cfg',
+'rtems_libbsd_version', 'git://git.rtems.org/rtems-libbsd',
+'rtems-libbsd.git', '6-freebsd-12',
+
'https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}',
+'rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}'
+],
+[
+'RTEMS Net Legacy', 'tools/rtems-net-legacy-%{rtems_version}.cfg',
+'rtems_net_version', 'git://git.rtems.org/rtems-net-legacy',
+'rtems-net-legacy.git', 'main',
+
'https://git.rtems.org/rtems-net-legacy/snapshot/rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}',
+'rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}'
+],
+[
+'RTEMS Net Services', 'net/net-services-1.cfg',
+'rtems_net_services_version', 'git://git.rtems.org/rtems-net-services',
+'rtems-net-services.git', 'master',
+
'https://git.rtems.org/rtems-net-services/snapshot/rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}',
+
'rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}'
+],
+]
+
+
+def clean_line(line):
+line = line[0:-1]
+b = line.find('#')
+if b >= 0:
+line = line[1:b] + ('\\' if line[-1] == '\\' else '')
+return line.strip()
+
+
+def clean_and_pack(line, last_line):
+leading_ws = ' ' if len(line) > 0 and line[0].isspace() else ''
+line = clean_line(line)
+if len(last_line) > 0:
+line = last_line + leading_ws + line
+return line
+
+
+def config_patch(configdir, config, version_label, config_hash, repo_hash,
+ checksum):
+for cd in configdir.split(':'):
+cf = path.join(cd, config)
+if path.exists(cf):
+try:
+with open(cf) as f:
+lines = f.readlines()
+except IOError as err:
+raise error.general('config: %s: read error: %s' %
+(config, str(err)))
+new_config = []
+new_lines = []
+last_line = ''
+for line in lines:
+new_lines += [line]
+line = clean_and_pack(line, last_line)
+if len(line) > 0:
+if line[-1] == '\\':
+last_line = line[:-1]
+continue
+last_line = ''
+if version_label in line and not 'rsb_version' in line:
+if line.startswith('%define ' + version_label):
+new_lines = [
+'%define ' + version_label + ' ' + repo_hash +
+os.linesep
+]
+elif line.startswith('%hash '):
+ls = line.split()
+if len(ls) != 4:
+raise error.general('invalid %hash: ' + line)
+new_lines = [
+' '.join(ls[0:3]) + ' \\' + os.linesep,
+'  ' + checksum + os.linesep
+]
+new_config += new_lines
+new_lines = []
+try:
+with open(cf, 'w') as f:
+f.writelines(new_config)
+except IOError as err:
+raise error.general('config: %s: write error: %s' %
+(config, str(err)))
+return
+raise error.general('could not find: ' + config)
+
+
+def checksum_shar512_base64(tarball):
+hasher = hashlib.new('sha512')
+try:
+with open(path.host(tarball), 'rb') as f:
+hasher.update(f.read())
+except IOError as err:
+log.notice('hash: %s: read e

Re: [RSB PATCH] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread Chris Johns
On 4/4/2024 6:54 am, Kinsey Moore wrote:
> On Wed, Apr 3, 2024 at 2:11 PM Chris Johns  > wrote:
> 
>> On 4 Apr 2024, at 3:52 am, Kinsey Moore > > wrote:
>> Looks fine overall. Minor nits:
>> "host" is set to "freebsd" and is never used.
> 
> The tool uses simhost so it could be any host listed in that module and it
> references that table. Nothing is built but needed to creat a build 
> object.
> Simhost is used to get all sources for all hosts. 
> 
> 
> I'm not referencing simhost. It's literally just an unused variable called
> "host" that gets set and never used.

Hmm Ok and thanks. I will take a closer look. I think it should be used.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread Kinsey Moore
On Wed, Apr 3, 2024 at 2:11 PM Chris Johns  wrote:

> On 4 Apr 2024, at 3:52 am, Kinsey Moore  wrote:
>
> Looks fine overall. Minor nits:
> "host" is set to "freebsd" and is never used.
>
>
> The tool uses simhost so it could be any host listed in that module and it
> references that table. Nothing is built but needed to creat a build object.
> Simhost is used to get all sources for all hosts.
>

I'm not referencing simhost. It's literally just an unused variable called
"host" that gets set and never used.

Kinsey
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread Chris Johns

> On 4 Apr 2024, at 3:52 am, Kinsey Moore  wrote:
> 
> Looks fine overall. Minor nits:
> "host" is set to "freebsd" and is never used.

The tool uses simhost so it could be any host listed in that module and it 
references that table. Nothing is built but needed to creat a build object. 
Simhost is used to get all sources for all hosts. 

> Numeric indexes for repo config details are nice for brevity, but not for 
> readability.

I will add something. 

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread Joel Sherrill
return l[len('HEAD branch: '):]
>>> +return None
>>> +
>>>  if __name__ == '__main__':
>>>  import os.path
>>>  import sys
>>> diff --git a/source-builder/sb/rtemspkg.py
>>> b/source-builder/sb/rtemspkg.py
>>> new file mode 100644
>>> index 000..0b43d23
>>> --- /dev/null
>>> +++ b/source-builder/sb/rtemspkg.py
>>> @@ -0,0 +1,279 @@
>>> +#
>>> +# RTEMS Tools Project (http://www.rtems.org/)
>>> +# Copyright 2024 Chris Johns (chr...@rtems.org)
>>> +# All rights reserved.
>>> +#
>>> +# This file is part of the RTEMS Tools package in 'rtems-tools'.
>>> +#
>>> +# 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.
>>> +
>>> +#
>>> +# This code builds a package compiler tool suite given a tool set. A
>>> tool
>>> +# set lists the various tools. These are specific tool configurations.
>>> +#
>>> +
>>> +from __future__ import print_function
>>> +
>>> +import argparse
>>> +import base64
>>> +import copy
>>> +import datetime
>>> +import hashlib
>>> +import os
>>> +import sys
>>> +
>>> +try:
>>> +from . import build
>>> +from . import download
>>> +from . import error
>>> +from . import git
>>> +from . import log
>>> +from . import path
>>> +from . import simhost
>>> +from . import version
>>> +except KeyboardInterrupt:
>>> +print('abort: user terminated', file=sys.stderr)
>>> +sys.exit(1)
>>> +except:
>>> +raise
>>> +
>>> +#
>>> +# RTEMS Packages we maintian a git hash of in the RSB
>>> +#
>>> +rtems_pkg_cfgs = [
>>> +[
>>> +'RTEMS Tools', 'tools/rtems-tools-%{rtems_version}.cfg',
>>> +'rtems_tools_version', 'git://git.rtems.org/rtems-tools',
>>> +'rtems-tools.git', 'master',
>>> +'
>>> https://git.rtems.org/rtems-tools/snapshot/rtems-tools-%{rtems_tools_version}.tar.bz2
>>> ',
>>> +'rtems-tools-%{rtems_tools_version}.tar.bz2'
>>> +],
>>> +[
>>> +'RTEMS Kernel', 'tools/rtems-kernel-%{rtems_version}.cfg',
>>> +'rtems_kernel_version', 'git://git.rtems.org/rtems',
>>> 'rtems.git',
>>> +'master',
>>> +'
>>> https://git.rtems.org/rtems/snapshot/rtems-%{rtems_kernel_version}.tar.bz2
>>> ',
>>> +'rtems-kernel-%{rtems_kernel_version}.tar.bz2'
>>> +],
>>> +[
>>> +'RTEMS LibBSD', 'tools/rtems-libbsd-%{rtems_version}.cfg',
>>> +'rtems_libbsd_version', 'git://git.rtems.org/rtems-libbsd',
>>> +'rtems-libbsd.git', '6-freebsd-12',
>>> +'
>>> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}
>>> ',
>>> +'rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}'
>>> +],
>>> +[
>>> +'RTEMS Net Legacy',
>>> 'tools/rtems-net-legacy-%{rtems_version}.cfg',
>>> +'rtems_net_version', 'git://git.rtems.org/rtems-net-legacy',
>>> +'rtems-net-legacy.git', 'main',
>>> +'
>>> https://git.rtems.org/rtems-net-legacy/snapshot/rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}
>>> ',
>>> +'rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}'
>>> +],
>>> +[
>>> +'RTEMS Net Services', 'net/net-services-1.cfg',
>>> +'rtems_net_services_version', 'git://
>>> git.rtems.org/r

Re: [RSB PATCH] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread Kinsey Moore
hts reserved.
>> +#
>> +# This file is part of the RTEMS Tools package in 'rtems-tools'.
>> +#
>> +# 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.
>> +
>> +#
>> +# This code builds a package compiler tool suite given a tool set. A tool
>> +# set lists the various tools. These are specific tool configurations.
>> +#
>> +
>> +from __future__ import print_function
>> +
>> +import argparse
>> +import base64
>> +import copy
>> +import datetime
>> +import hashlib
>> +import os
>> +import sys
>> +
>> +try:
>> +from . import build
>> +from . import download
>> +from . import error
>> +from . import git
>> +from . import log
>> +from . import path
>> +from . import simhost
>> +from . import version
>> +except KeyboardInterrupt:
>> +print('abort: user terminated', file=sys.stderr)
>> +sys.exit(1)
>> +except:
>> +raise
>> +
>> +#
>> +# RTEMS Packages we maintian a git hash of in the RSB
>> +#
>> +rtems_pkg_cfgs = [
>> +[
>> +'RTEMS Tools', 'tools/rtems-tools-%{rtems_version}.cfg',
>> +'rtems_tools_version', 'git://git.rtems.org/rtems-tools',
>> +'rtems-tools.git', 'master',
>> +'
>> https://git.rtems.org/rtems-tools/snapshot/rtems-tools-%{rtems_tools_version}.tar.bz2
>> ',
>> +'rtems-tools-%{rtems_tools_version}.tar.bz2'
>> +],
>> +[
>> +'RTEMS Kernel', 'tools/rtems-kernel-%{rtems_version}.cfg',
>> +'rtems_kernel_version', 'git://git.rtems.org/rtems',
>> 'rtems.git',
>> +'master',
>> +'
>> https://git.rtems.org/rtems/snapshot/rtems-%{rtems_kernel_version}.tar.bz2
>> ',
>> +'rtems-kernel-%{rtems_kernel_version}.tar.bz2'
>> +],
>> +[
>> +'RTEMS LibBSD', 'tools/rtems-libbsd-%{rtems_version}.cfg',
>> +'rtems_libbsd_version', 'git://git.rtems.org/rtems-libbsd',
>> +'rtems-libbsd.git', '6-freebsd-12',
>> +'
>> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}
>> ',
>> +'rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}'
>> +],
>> +[
>> +'RTEMS Net Legacy',
>> 'tools/rtems-net-legacy-%{rtems_version}.cfg',
>> +'rtems_net_version', 'git://git.rtems.org/rtems-net-legacy',
>> +'rtems-net-legacy.git', 'main',
>> +'
>> https://git.rtems.org/rtems-net-legacy/snapshot/rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}
>> ',
>> +'rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}'
>> +],
>> +[
>> +'RTEMS Net Services', 'net/net-services-1.cfg',
>> +'rtems_net_services_version', 'git://
>> git.rtems.org/rtems-net-services',
>> +'rtems-net-services.git', 'master',
>> +'
>> https://git.rtems.org/rtems-net-services/snapshot/rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}
>> ',
>> +
>> 'rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}'
>> +],
>> +]
>> +
>> +
>> +def clean_line(line):
>> +line = line[0:-1]
>> +b = line.find('#')
>> +if b >= 0:
>> +line = line[1:b] + ('\\' if line[-1] == '\\' else '')
>> +return line.strip()
>> +
>> +
>> +def clean_and_pack(line, last_line):
>> +leading_ws = ' ' if len(line) > 0 and line[0].isspace() else ''
>> +line = clean_line(line)
>> +if len(last_line) > 0:
>> +line = last_line + leading_ws + line
>> +return line
>> +
>> +
>> +def config_patch(configdir, config, version_label, config_hash,
>> repo_hash,
>>

Re: [RSB PATCH] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-03 Thread Joel Sherrill
G 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.
> +
> +#
> +# This code builds a package compiler tool suite given a tool set. A tool
> +# set lists the various tools. These are specific tool configurations.
> +#
> +
> +from __future__ import print_function
> +
> +import argparse
> +import base64
> +import copy
> +import datetime
> +import hashlib
> +import os
> +import sys
> +
> +try:
> +from . import build
> +from . import download
> +from . import error
> +from . import git
> +from . import log
> +from . import path
> +from . import simhost
> +from . import version
> +except KeyboardInterrupt:
> +print('abort: user terminated', file=sys.stderr)
> +sys.exit(1)
> +except:
> +raise
> +
> +#
> +# RTEMS Packages we maintian a git hash of in the RSB
> +#
> +rtems_pkg_cfgs = [
> +[
> +'RTEMS Tools', 'tools/rtems-tools-%{rtems_version}.cfg',
> +'rtems_tools_version', 'git://git.rtems.org/rtems-tools',
> +'rtems-tools.git', 'master',
> +'
> https://git.rtems.org/rtems-tools/snapshot/rtems-tools-%{rtems_tools_version}.tar.bz2
> ',
> +'rtems-tools-%{rtems_tools_version}.tar.bz2'
> +],
> +[
> +'RTEMS Kernel', 'tools/rtems-kernel-%{rtems_version}.cfg',
> +'rtems_kernel_version', 'git://git.rtems.org/rtems', 'rtems.git',
> +'master',
> +'
> https://git.rtems.org/rtems/snapshot/rtems-%{rtems_kernel_version}.tar.bz2
> ',
> +'rtems-kernel-%{rtems_kernel_version}.tar.bz2'
> +],
> +[
> +'RTEMS LibBSD', 'tools/rtems-libbsd-%{rtems_version}.cfg',
> +'rtems_libbsd_version', 'git://git.rtems.org/rtems-libbsd',
> +'rtems-libbsd.git', '6-freebsd-12',
> +'
> https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}
> ',
> +'rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}'
> +],
> +[
> +'RTEMS Net Legacy', 'tools/rtems-net-legacy-%{rtems_version}.cfg',
> +'rtems_net_version', 'git://git.rtems.org/rtems-net-legacy',
> +'rtems-net-legacy.git', 'main',
> +'
> https://git.rtems.org/rtems-net-legacy/snapshot/rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}
> ',
> +'rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}'
> +],
> +[
> +'RTEMS Net Services', 'net/net-services-1.cfg',
> +'rtems_net_services_version', 'git://
> git.rtems.org/rtems-net-services',
> +'rtems-net-services.git', 'master',
> +'
> https://git.rtems.org/rtems-net-services/snapshot/rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}
> ',
> +
> 'rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}'
> +],
> +]
> +
> +
> +def clean_line(line):
> +line = line[0:-1]
> +b = line.find('#')
> +if b >= 0:
> +line = line[1:b] + ('\\' if line[-1] == '\\' else '')
> +return line.strip()
> +
> +
> +def clean_and_pack(line, last_line):
> +leading_ws = ' ' if len(line) > 0 and line[0].isspace() else ''
> +line = clean_line(line)
> +if len(last_line) > 0:
> +line = last_line + leading_ws + line
> +return line
> +
> +
> +def config_patch(configdir, config, version_label, config_hash, repo_hash,
> + checksum):
> +for cd in configdir.split(':'):
> +cf = path.join(cd, config)
> +if path.exists(cf):
> +try:
> +with open(cf) as f:
> +lines = f.readlines()
> +except IOError as err:
> +raise error.general('config: %s: read error: %s' %
> +(config, str(err)))
> +new_config = []
> +new_lines = []
> +last_line = ''
> +for line in lines:
> +new_lines += [line]
> +line = clean_and_pack(line, last_line)
> +if len(line) > 0:
> +if line[-1] == '\\':
> +last_line = line[:-1]
> +continue
> +last_line = ''
> +if version_label in line and not 'rsb_version' in
> line:
> +if line.startswith('%define ' + version_label):
> +new_lines = [
> +'%define ' + version_label + ' ' +
> repo_ha

Re: [RSB PATCH] rtems: Update RTEMS packages to their HEAD

2024-04-03 Thread Joel Sherrill
Looks good. I will push.

On Tue, Apr 2, 2024 at 11:23 PM  wrote:

> From: Chris Johns 
>
> ---
>  rtems/config/tools/rtems-kernel-6.cfg | 4 ++--
>  rtems/config/tools/rtems-libbsd-6.cfg | 4 ++--
>  rtems/config/tools/rtems-tools-6.cfg  | 6 +++---
>  3 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/rtems/config/tools/rtems-kernel-6.cfg
> b/rtems/config/tools/rtems-kernel-6.cfg
> index 1e90184..9219263 100644
> --- a/rtems/config/tools/rtems-kernel-6.cfg
> +++ b/rtems/config/tools/rtems-kernel-6.cfg
> @@ -2,10 +2,10 @@
>  # RTEMS 6
>  #
>
> -%define rtems_kernel_version e7cb79c39d8dbc02ded1d6d9c37ee00323508bf3
> +%define rtems_kernel_version 1ef5fa07aa87adc9925c75060a7888f110104fa7
>
>  %hash sha512 rtems-kernel-%{rtems_kernel_version}.tar.bz2 \
> -
>  
> ZLKEYfCw1B7bzEMixtVB8Ire77RqdidztgGj6bX9LL/fYqfG74UNkyLl9uMK4mGKML3xOszXKn+lURAhyfDhDg==
> +
> 5WE5sLbkU9p3atZ9PV6Dcy1TGKXZKErJ+kEfe9j6IyXohS3vc76hFIrVt8I8beDDKEogNB8HAuVsZklPv3YViA==
>  #
>  # The RTEMS build instructions.
>  #
> diff --git a/rtems/config/tools/rtems-libbsd-6.cfg
> b/rtems/config/tools/rtems-libbsd-6.cfg
> index 3dfc693..c71ba07 100644
> --- a/rtems/config/tools/rtems-libbsd-6.cfg
> +++ b/rtems/config/tools/rtems-libbsd-6.cfg
> @@ -3,9 +3,9 @@
>  #
>
>  #  branch: 6-freebsd-12
> -%define rtems_libbsd_version 1524f95e93a0e0ff85d676d214e0e57cac44e4f5
> +%define rtems_libbsd_version 388d46bb1b3080402c68ae11d14b2b36c3138952
>  %hash sha512 rtems-libbsd-%{rtems_libbsd_version}.tar.bz2 \
> -
> QiNVx1kFPcX9tmkY2mdWO2gb/t32J+AJkXOBAkyjfsaUuvBz43oMeOrpBFJuuix6eTmmukSzAulUCLdqBJlAWQ==
> +
> zMyTB+Z7vJXpywhCbRCK/vz2KUbwdg1JwoQ/JPqFbicmo/W42D/fGjKFxhPrzg0mL4silqSJ4xPdfOhET5vrtw==
>  %define rtems_waf_version ad08908c452c6a9bbb3bf7bbbcc9fc03fe46cc7f
>  %hash sha512 rtems_waf-%{rtems_waf_version}.tar.bz2 \
>
>  
> EyuEit0DsAR1gK9Ki1sjl416PFgFe7dcggH3H/hmdAPmMjEIIdX7TVOTDgOIK1Pt0DW6lZ9NcW7O87GZFyy8hg==
> diff --git a/rtems/config/tools/rtems-tools-6.cfg
> b/rtems/config/tools/rtems-tools-6.cfg
> index 8abfeea..9a1c625 100644
> --- a/rtems/config/tools/rtems-tools-6.cfg
> +++ b/rtems/config/tools/rtems-tools-6.cfg
> @@ -10,14 +10,14 @@
>   %define rtems_tools_source rtems-tools-%{rtems_tools_version}
>   %define rtems_tools_ext xz
>  %else
> - %define rtems_tools_version 12971a8
> +%define rtems_tools_version 12971a8b858add612833a43360e7a7ba95902d3e
>   %define rtems_tools_ext bz2
>  %endif
>
>  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
>  %source set rtems-tools
> https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
> -%hash   sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
> -
> SrjY0gweRgWHmqBYj0wFnu1LFkaeNeS05SD1dKVzz2kvs3UCZ6AM8DrLbVe0q4H14DZwmrE3mMgbutsVev0Oxg==
> +%hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
> +
> SpaYAsHhzHncHC0tlQOJwexUJ7i+l5yG1Vf8Twl61dAyOEYhkugjvRCtchN4GJQmzPrqjqFIdwciemveysouJA==
>
>  #
>  # Optionally enable/disable building the RTEMS Tools via the command line.
> --
> 2.42.0
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH] sb: Add sb-rtems-pkg to update the RTEMS package hashes and checksums

2024-04-02 Thread chrisj
ort simhost
+from . import version
+except KeyboardInterrupt:
+print('abort: user terminated', file=sys.stderr)
+sys.exit(1)
+except:
+raise
+
+#
+# RTEMS Packages we maintian a git hash of in the RSB
+#
+rtems_pkg_cfgs = [
+[
+'RTEMS Tools', 'tools/rtems-tools-%{rtems_version}.cfg',
+'rtems_tools_version', 'git://git.rtems.org/rtems-tools',
+'rtems-tools.git', 'master',
+
'https://git.rtems.org/rtems-tools/snapshot/rtems-tools-%{rtems_tools_version}.tar.bz2',
+'rtems-tools-%{rtems_tools_version}.tar.bz2'
+],
+[
+'RTEMS Kernel', 'tools/rtems-kernel-%{rtems_version}.cfg',
+'rtems_kernel_version', 'git://git.rtems.org/rtems', 'rtems.git',
+'master',
+
'https://git.rtems.org/rtems/snapshot/rtems-%{rtems_kernel_version}.tar.bz2',
+'rtems-kernel-%{rtems_kernel_version}.tar.bz2'
+],
+[
+'RTEMS LibBSD', 'tools/rtems-libbsd-%{rtems_version}.cfg',
+'rtems_libbsd_version', 'git://git.rtems.org/rtems-libbsd',
+'rtems-libbsd.git', '6-freebsd-12',
+
'https://git.rtems.org/rtems-libbsd/snapshot/rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}',
+'rtems-libbsd-%{rtems_libbsd_version}.tar.%{rtems_libbsd_ext}'
+],
+[
+'RTEMS Net Legacy', 'tools/rtems-net-legacy-%{rtems_version}.cfg',
+'rtems_net_version', 'git://git.rtems.org/rtems-net-legacy',
+'rtems-net-legacy.git', 'main',
+
'https://git.rtems.org/rtems-net-legacy/snapshot/rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}',
+'rtems-net-legacy-%{rtems_net_version}.tar.%{rtems_net_ext}'
+],
+[
+'RTEMS Net Services', 'net/net-services-1.cfg',
+'rtems_net_services_version', 'git://git.rtems.org/rtems-net-services',
+'rtems-net-services.git', 'master',
+
'https://git.rtems.org/rtems-net-services/snapshot/rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}',
+
'rtems-net-services-%{rtems_net_services_version}.tar.%{rtems_net_services_ext}'
+],
+]
+
+
+def clean_line(line):
+line = line[0:-1]
+b = line.find('#')
+if b >= 0:
+line = line[1:b] + ('\\' if line[-1] == '\\' else '')
+return line.strip()
+
+
+def clean_and_pack(line, last_line):
+leading_ws = ' ' if len(line) > 0 and line[0].isspace() else ''
+line = clean_line(line)
+if len(last_line) > 0:
+line = last_line + leading_ws + line
+return line
+
+
+def config_patch(configdir, config, version_label, config_hash, repo_hash,
+ checksum):
+for cd in configdir.split(':'):
+cf = path.join(cd, config)
+if path.exists(cf):
+try:
+with open(cf) as f:
+lines = f.readlines()
+except IOError as err:
+raise error.general('config: %s: read error: %s' %
+(config, str(err)))
+new_config = []
+new_lines = []
+last_line = ''
+for line in lines:
+new_lines += [line]
+line = clean_and_pack(line, last_line)
+if len(line) > 0:
+if line[-1] == '\\':
+last_line = line[:-1]
+continue
+last_line = ''
+if version_label in line and not 'rsb_version' in line:
+if line.startswith('%define ' + version_label):
+new_lines = [
+'%define ' + version_label + ' ' + repo_hash +
+os.linesep
+]
+elif line.startswith('%hash '):
+ls = line.split()
+if len(ls) != 4:
+raise error.general('invalid %hash: ' + line)
+new_lines = [
+' '.join(ls[0:3]) + ' \\' + os.linesep,
+'  ' + checksum + os.linesep
+]
+new_config += new_lines
+new_lines = []
+try:
+with open(cf, 'w') as f:
+f.writelines(new_config)
+except IOError as err:
+raise error.general('config: %s: write error: %s' %
+(config, str(err)))
+return
+raise error.general('could not find: ' + config)
+
+
+def checksum_shar512_base64(tarball):
+hasher = hashlib.new('sha512')
+try:
+with open(path.host(tarball), 'rb') as f:
+hasher.update(f.read())
+except IOError as err:
+log.notice('hash: %s: read error: %s' % (file_, str(err)))
+except:
+raise
+raise error.general('cannot hash the tar file')
+hash_hex = ha

[RSB PATCH] rtems: Update RTEMS packages to their HEAD

2024-04-02 Thread chrisj
From: Chris Johns 

---
 rtems/config/tools/rtems-kernel-6.cfg | 4 ++--
 rtems/config/tools/rtems-libbsd-6.cfg | 4 ++--
 rtems/config/tools/rtems-tools-6.cfg  | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/rtems/config/tools/rtems-kernel-6.cfg 
b/rtems/config/tools/rtems-kernel-6.cfg
index 1e90184..9219263 100644
--- a/rtems/config/tools/rtems-kernel-6.cfg
+++ b/rtems/config/tools/rtems-kernel-6.cfg
@@ -2,10 +2,10 @@
 # RTEMS 6
 #
 
-%define rtems_kernel_version e7cb79c39d8dbc02ded1d6d9c37ee00323508bf3
+%define rtems_kernel_version 1ef5fa07aa87adc9925c75060a7888f110104fa7
 
 %hash sha512 rtems-kernel-%{rtems_kernel_version}.tar.bz2 \
-   
ZLKEYfCw1B7bzEMixtVB8Ire77RqdidztgGj6bX9LL/fYqfG74UNkyLl9uMK4mGKML3xOszXKn+lURAhyfDhDg==
+  
5WE5sLbkU9p3atZ9PV6Dcy1TGKXZKErJ+kEfe9j6IyXohS3vc76hFIrVt8I8beDDKEogNB8HAuVsZklPv3YViA==
 #
 # The RTEMS build instructions.
 #
diff --git a/rtems/config/tools/rtems-libbsd-6.cfg 
b/rtems/config/tools/rtems-libbsd-6.cfg
index 3dfc693..c71ba07 100644
--- a/rtems/config/tools/rtems-libbsd-6.cfg
+++ b/rtems/config/tools/rtems-libbsd-6.cfg
@@ -3,9 +3,9 @@
 #
 
 #  branch: 6-freebsd-12
-%define rtems_libbsd_version 1524f95e93a0e0ff85d676d214e0e57cac44e4f5
+%define rtems_libbsd_version 388d46bb1b3080402c68ae11d14b2b36c3138952
 %hash sha512 rtems-libbsd-%{rtems_libbsd_version}.tar.bz2 \
-  
QiNVx1kFPcX9tmkY2mdWO2gb/t32J+AJkXOBAkyjfsaUuvBz43oMeOrpBFJuuix6eTmmukSzAulUCLdqBJlAWQ==
+  
zMyTB+Z7vJXpywhCbRCK/vz2KUbwdg1JwoQ/JPqFbicmo/W42D/fGjKFxhPrzg0mL4silqSJ4xPdfOhET5vrtw==
 %define rtems_waf_version ad08908c452c6a9bbb3bf7bbbcc9fc03fe46cc7f
 %hash sha512 rtems_waf-%{rtems_waf_version}.tar.bz2 \
   
EyuEit0DsAR1gK9Ki1sjl416PFgFe7dcggH3H/hmdAPmMjEIIdX7TVOTDgOIK1Pt0DW6lZ9NcW7O87GZFyy8hg==
diff --git a/rtems/config/tools/rtems-tools-6.cfg 
b/rtems/config/tools/rtems-tools-6.cfg
index 8abfeea..9a1c625 100644
--- a/rtems/config/tools/rtems-tools-6.cfg
+++ b/rtems/config/tools/rtems-tools-6.cfg
@@ -10,14 +10,14 @@
  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
  %define rtems_tools_ext xz
 %else
- %define rtems_tools_version 12971a8
+%define rtems_tools_version 12971a8b858add612833a43360e7a7ba95902d3e
  %define rtems_tools_ext bz2
 %endif
 
 %define rtems_tools_source rtems-tools-%{rtems_tools_version}
 %source set rtems-tools 
https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
-%hash   sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
-  
SrjY0gweRgWHmqBYj0wFnu1LFkaeNeS05SD1dKVzz2kvs3UCZ6AM8DrLbVe0q4H14DZwmrE3mMgbutsVev0Oxg==
+%hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
+  
SpaYAsHhzHncHC0tlQOJwexUJ7i+l5yG1Vf8Twl61dAyOEYhkugjvRCtchN4GJQmzPrqjqFIdwciemveysouJA==
 
 #
 # Optionally enable/disable building the RTEMS Tools via the command line.
-- 
2.42.0

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: RSB checksum updates for RTEMS 6

2024-02-16 Thread Joel Sherrill
On Fri, Feb 16, 2024, 12:56 AM Chris Johns  wrote:

> Hi,
>
> I have opened https://devel.rtems.org/ticket/4991 to track checksum
> errors in
> some of the sources being downloaded by the RSB such as:
>
> error: checksum failure file:
> patches/Make-lang.in-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch
>
> I am seeing this error while I attempt to create 6.1-rc2. I am asking if it
> would be OK for me to push changes to the RSB under this ticket without
> review
> while I sort this out?
>

Absolutely

>
> Thanks
> Chris
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: RSB checksum updates for RTEMS 6

2024-02-16 Thread Sebastian Huber

On 16.02.24 07:55, Chris Johns wrote:

I have openedhttps://devel.rtems.org/ticket/4991  to track checksum errors in
some of the sources being downloaded by the RSB such as:

error: checksum failure file:
patches/Make-lang.in-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch

I am seeing this error while I attempt to create 6.1-rc2. I am asking if it
would be OK for me to push changes to the RSB under this ticket without review
while I sort this out?


Yes, this makes sense. Thanks for working on the release.

--
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

RSB checksum updates for RTEMS 6

2024-02-15 Thread Chris Johns
Hi,

I have opened https://devel.rtems.org/ticket/4991 to track checksum errors in
some of the sources being downloaded by the RSB such as:

error: checksum failure file:
patches/Make-lang.in-b09fb02bb4c0d16fc2c842bec4069c033897b5f2.patch

I am seeing this error while I attempt to create 6.1-rc2. I am asking if it
would be OK for me to push changes to the RSB under this ticket without review
while I sort this out?

Thanks
Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


RTEMS 6.1-rc1 RSB URL Issue

2024-01-11 Thread Joel Sherrill
Hi

I was trying to test rc1 and all of the tool builds fail like this:

==
script: 86: source_dir_rtems_tools=${rtems_tools_source}
source setup: rtems-tools-6.1-rc1-1: source rtems-tools -q -n
${rtems_tools_source}
making dir:
/home/joel/rtems-6.1rc1/rtems-source-builder-6.1-rc1/rtems/sources
download: (full)
https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc1/6/rc/6.1-rc1/sources/rtems-tools-6.1-rc1.tar.xz
-> sources/rtems-tools-6.1-rc1.tar.xz
download:
https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc1/6/rc/6.1-rc1/sources/rtems-tools... -> sources/rtems-tools-6.1-rc1.tar.xz
download: no ssl context
download:
https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc1/6/rc/6.1-rc1/sources/rtems-tools...: error: HTTP Error 404: Not Found
download: (full)
https://git.rtems.org/rtems-tools/snapshot/rtems-tools-6.1-rc1.tar.xz ->
sources/rtems-tools-6.1-rc1.tar.xz
download:
https://git.rtems.org/rtems-tools/snapshot/rtems-tools-6.1-rc1.tar.xz ->
sources/rtems-tools-6.1-rc1.tar.xz
download: no ssl context
download:
https://git.rtems.org/rtems-tools/snapshot/rtems-tools-6.1-rc1.tar.xz:
error: HTTP Error 400: Bad request
error: downloading
https://git.rtems.org/rtems-tools/snapshot/rtems-tools-6.1-rc1.tar.xz: all
paths have failed, giving up
  See error report: rsb-report-rtems-tools-6.1-rc1-1.txt
  Note: In some cases the error appears only in
  the complete build log (see --log option)

==

Using wget directly, I could duplicate that error. When I tried the URL on
the rc1 index page, it worked. See below.

===
[joel@devel rtems]$ wget
https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc1/6/rc/6.1-rc1/sources/rtems-tools-6.1-rc1.tar.xz
--2024-01-11 09:13:17--
https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc1/6/rc/6.1-rc1/sources/rtems-tools-6.1-rc1.tar.xz
Resolving ftp.rtems.org (ftp.rtems.org)... 140.211.10.151
Connecting to ftp.rtems.org (ftp.rtems.org)|140.211.10.151|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2024-01-11 09:13:18 ERROR 404: Not Found.

[joel@devel rtems]$ wget
https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc1/sources/rtems-tools-6.1-rc1.tar.xz
--2024-01-11 09:13:54--
https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc1/sources/rtems-tools-6.1-rc1.tar.xz
Resolving ftp.rtems.org (ftp.rtems.org)... 140.211.10.151
Connecting to ftp.rtems.org (ftp.rtems.org)|140.211.10.151|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 2035220 (1.9M) [application/x-xz]
Saving to: ‘rtems-tools-6.1-rc1.tar.xz’

100%[==>] 2,035,220   1.54MB/s   in
1.3s

===

Looks like the release path is wrong for rtems-tools. That is also where
--source-only-download for 6/rtems-all fails.

--joel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-18 Thread Cedric Berger

Hello,

On 18.12.2023 07:05, Chris Johns wrote:

On 16/12/2023 2:04 am, Cedric Berger wrote:

Hello Heinz,

On 15.12.2023 10:44, Heinz Junkes wrote:

HI,
I can follow Cedric's reasoning. Even if I was the initiator of this discussion.

I use RTEMS in my lectures/exercises, among other things, and have always been
able to give the students
freedom which laptops with which OS they wanted to use. And there are many of
them with used
older laptops. Intel Macs, for example.

But you can also use a VM with Linux on all these systems.

It might then be okay to communicate openly that there will be no more support
for Macs in the future.

Just to be clear: I'm not advocating dropping Mac support, just dropping the
support for the old intel-based ones (the ones with issues right now).

Mac with M1/M2/M3 work fine with the latest tooling.

I think there is a middle ground here and that means some investigation is
needed to determine what works and what is at issue then deciding how much
further work is done. I have done some of this. The results are based on what I
have working:

Builds:

   Sonoma


Well, if it works on Sonoma (the latest MacOS version), then IMO that's 
all that matter.


So if the middle ground is to only support the latest MacOS version 
(when RTEMS 6.0 is released) I think this is totally reasonnable.


It is true that the first iterations of a new MacOS release (14.0, 14.1) 
is often buggy, and then gets stabilised around the .2 version, but 
we're past that now.


Cedric


   Montery
   Big Sur

Fails:

   Ventura

The failure on Ventura is in GMP called from MPFR. Running the GMP tests a
number fail and removing --disable-shared improves the test results but GCC does
not build. I have not looked any further.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-18 Thread Chris Johns
On 18/12/2023 8:50 pm, Karel Gardas wrote:
> On 12/18/23 07:05, Chris Johns wrote:
>>> Mac with M1/M2/M3 work fine with the latest tooling.
>>
>> I think there is a middle ground here and that means some investigation is
>> needed to determine what works and what is at issue then deciding how much
>> further work is done. I have done some of this. The results are based on 
>> what I
>> have working:
>>
>> Builds:
>>
>>    Sonoma
>>    Montery
>>    Big Sur
>>
>> Fails:
>>
>>    Ventura
>>
>> The failure on Ventura is in GMP called from MPFR. Running the GMP tests a
>> number fail and removing --disable-shared improves the test results but GCC 
>> does
>> not build. I have not looked any further.
> 
> Just a rant.
> 
> IIRC when Ventura cames it was a disaster for RSB since on Monterey this 
> worked
> and on Ventura it stopped. 

I think that was the removal of Python from MacOS.

> IIRC less RAM on system shows more sensibility to
> Ventura problems. And IIRC you were the person who solved this somehow.

Yes

> Does this mean we're back to the original state with Ventura making troubles
> again?

It is the different problem. I suspect something in Xcode and GMP have issues
that are not present on the other builds of MacOS and Xcode.

> I'm not sure if this is even technically possible (partly due to how
> Apple supports OS reverts) to test every version of Ventura released by Apple 
> to
> see reliably if whole family is sick or there are some versions which may be
> recommended for use. E.g. Ventura spans from 13.0 to 13.5 already...

The issue is a pretty simple call by the compiler to MPFR then GMP to convert an
ASCII  real number to binary. The call crashes the compiler. I suspect something
is not right as the `make test` for GMP fails. I tested older versions that use
to work and they also fail.

A solution is create a suitable bug report and to post to GMP for them to look 
into.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-18 Thread Karel Gardas

On 12/18/23 07:05, Chris Johns wrote:

Mac with M1/M2/M3 work fine with the latest tooling.


I think there is a middle ground here and that means some investigation is
needed to determine what works and what is at issue then deciding how much
further work is done. I have done some of this. The results are based on what I
have working:

Builds:

   Sonoma
   Montery
   Big Sur

Fails:

   Ventura

The failure on Ventura is in GMP called from MPFR. Running the GMP tests a
number fail and removing --disable-shared improves the test results but GCC does
not build. I have not looked any further.


Just a rant.

IIRC when Ventura cames it was a disaster for RSB since on Monterey this 
worked and on Ventura it stopped. IIRC less RAM on system shows more 
sensibility to Ventura problems. And IIRC you were the person who solved 
this somehow.
Does this mean we're back to the original state with Ventura making 
troubles again? I'm not sure if this is even technically possible 
(partly due to how Apple supports OS reverts) to test every version of 
Ventura released by Apple to see reliably if whole family is sick or 
there are some versions which may be recommended for use. E.g. Ventura 
spans from 13.0 to 13.5 already...

Perhaps doable on VM...

Karel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-17 Thread Chris Johns
On 16/12/2023 2:04 am, Cedric Berger wrote:
> Hello Heinz,
> 
> On 15.12.2023 10:44, Heinz Junkes wrote:
>> HI,
>> I can follow Cedric's reasoning. Even if I was the initiator of this 
>> discussion.
>>
>> I use RTEMS in my lectures/exercises, among other things, and have always 
>> been
>> able to give the students
>> freedom which laptops with which OS they wanted to use. And there are many of
>> them with used
>> older laptops. Intel Macs, for example.
>>
>> But you can also use a VM with Linux on all these systems.
>>
>> It might then be okay to communicate openly that there will be no more 
>> support
>> for Macs in the future.
> 
> Just to be clear: I'm not advocating dropping Mac support, just dropping the
> support for the old intel-based ones (the ones with issues right now).
> 
> Mac with M1/M2/M3 work fine with the latest tooling.

I think there is a middle ground here and that means some investigation is
needed to determine what works and what is at issue then deciding how much
further work is done. I have done some of this. The results are based on what I
have working:

Builds:

  Sonoma
  Montery
  Big Sur

Fails:

  Ventura

The failure on Ventura is in GMP called from MPFR. Running the GMP tests a
number fail and removing --disable-shared improves the test results but GCC does
not build. I have not looked any further.

Chris

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-15 Thread Cedric Berger

Hello Heinz,

On 15.12.2023 10:44, Heinz Junkes wrote:

HI,
I can follow Cedric's reasoning. Even if I was the initiator of this discussion.

I use RTEMS in my lectures/exercises, among other things, and have always been 
able to give the students
freedom which laptops with which OS they wanted to use. And there are many of 
them with used
older laptops. Intel Macs, for example.

But you can also use a VM with Linux on all these systems.

It might then be okay to communicate openly that there will be no more support 
for Macs in the future.


Just to be clear: I'm not advocating dropping Mac support, just dropping 
the support for the old intel-based ones (the ones with issues right now).


Mac with M1/M2/M3 work fine with the latest tooling.

Cedric



___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-15 Thread Heinz Junkes
HI,
I can follow Cedric's reasoning. Even if I was the initiator of this discussion.

I use RTEMS in my lectures/exercises, among other things, and have always been 
able to give the students
freedom which laptops with which OS they wanted to use. And there are many of 
them with used
older laptops. Intel Macs, for example.

But you can also use a VM with Linux on all these systems.

It might then be okay to communicate openly that there will be no more support 
for Macs in the future.
Best regards
Heinz

> On 8. Dec 2023, at 14:19, Cedric Berger  wrote:
>
> Oh, so this is an mac intel issue then.
> I'm gonna make the suggestion do just remove support for Intel Macs for RTEMS 
> 6.0.
> I mean, what is the number of developpers who:
> 1) Will release a product based on RTEMS 6 (out in 2024 hopefully)
> 2) Have enough money to buy an Intel MacBook
> 3) Do not have enough money to upgrade 4 years later, especially with the 3x 
> compile speed improvements the M1/2/3 brings?
> My guess is zero. And there is always the possiblity to use a free Ubuntu MV 
> on these obsolete macs.
> I know the senior RTEMS developpers are very very busy, so I (selfishly) 
> would prefer if they use their time for something more productive :)
> Here at Precidata for example, we've put our product developpement with RTEMS 
> on hold for the past 5 months, because of bug #4923 (STM32h7 FPU corrupted on 
> return from IRQ).
> So may I humbly suggest to forget obsolete developpement platforms and focus 
> energy on new targets?
> Thanks for your answers and all your work.
> Cedric
>



smime.p7s
Description: S/MIME cryptographic signature
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH 1/2] print/texinfo: Check the version and build if too old

2023-12-12 Thread chrisj
From: Chris Johns 

Packages like binutils need newer versions than available by
default on MacOS.
---
 bare/config/print/texinfo.cfg | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/bare/config/print/texinfo.cfg b/bare/config/print/texinfo.cfg
index 5fa0cba..63df197 100644
--- a/bare/config/print/texinfo.cfg
+++ b/bare/config/print/texinfo.cfg
@@ -1,8 +1,16 @@
 #
 # GNU makeinfo has a version option, check for it.
-# If not found build it.
+# If not found or not recent build it.
 #
+%define makeinfo_version 7.0.3
 %define has_makeinfo %(makeinfo --version > /dev/null 2>&1; echo $?)
+%if %{has_makeinfo} == 0
+ %define makeinfo_version_resident \
+  %(makeinfo --version | grep -e "^makeinfo (GNU texinfo)" -e 
"^texi2any (GNU texinfo)" | rev | sed -r 's/ .*//' | rev)
+ %if %{makeinfo_version_resident} < %{makeinfo_version}
+  %define has_makeinfo 1
+ %endif
+%endif
 %if %{has_makeinfo} != 0
  %include %{_configdir}/print/texinfo-7.0.3.cfg
 %endif
-- 
2.37.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH 2/2] bare/or1ksim: Fix invalid hash and fix the version

2023-12-12 Thread chrisj
From: Chris Johns 

---
 bare/config/devel/or1ksim-1.1.0.cfg   | 6 +++---
 source-builder/config/or1ksim-1-1.cfg | 4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/bare/config/devel/or1ksim-1.1.0.cfg 
b/bare/config/devel/or1ksim-1.1.0.cfg
index d4ccc88..c0cbde7 100644
--- a/bare/config/devel/or1ksim-1.1.0.cfg
+++ b/bare/config/devel/or1ksim-1.1.0.cfg
@@ -8,9 +8,9 @@
 
 %include %{_configdir}/base.cfg
 
-%define or1ksim_version 1.1.0
-%hash sha512 or1k-master.zip \
-
qi2pPthxvefp9OpwsAz3ul9lakJHkpwIgGlj4fcDa+Lshjsush2ekYm1SKsPJ38YaldSuJdH2buhCmPkXTeWHQ==
+%define or1ksim_version be3612f0
+%hash sha512 or1ksim-%{or1ksim_version}.tar.gz \
+
Mwd/0EisPq98b7TA9O84As21R/CvgSkZVQktcfRnsUnnMDfxICButX5EzflhzLd1NDzfqoNjXxDi65HBC10LnA==
 
 #
 # The or1ksim build instructions. We use 1.x.x Release 1.
diff --git a/source-builder/config/or1ksim-1-1.cfg 
b/source-builder/config/or1ksim-1-1.cfg
index 468f524..a95f1ee 100644
--- a/source-builder/config/or1ksim-1-1.cfg
+++ b/source-builder/config/or1ksim-1-1.cfg
@@ -17,7 +17,9 @@ URL: https://github.com/openrisc/or1ksim
 #
 # Source
 #
-%source set or1ksim https://github.com/openrisc/or1ksim/archive/or1k-master.zip
+%source set or1ksim \
+--rsb-file=or1ksim-%{or1ksim_version}.tar.gz \
+
https://codeload.github.com/openrisc/or1ksim/tar.gz/%{or1ksim_version}
 
 #
 # Prepare the source code.
-- 
2.37.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-08 Thread Cedric Berger

Hello,

On 04.12.2023 22:37, Chris Johns wrote:

The issue has been resolved in gmp-6.3.0 for M silicon. I am how looking at:

https://lists.rtems.org/pipermail/users/2023-October/068894.html

and the crash is in a GMP call via MPFR. This is on Intel silicon on Ventura. I
have just run `make check` on the RSB build of GMP and it is not great:


Testsuite summary for GNU MP 6.3.0

# TOTAL: 53
# PASS:  10
# SKIP:  1
# XFAIL: 0
# FAIL:  42
# XPASS: 0
# ERROR: 0


Oh, so this is an mac intel issue then.

I'm gonna make the suggestion do just remove support for Intel Macs for 
RTEMS 6.0.


I mean, what is the number of developpers who:

1) Will release a product based on RTEMS 6 (out in 2024 hopefully)
2) Have enough money to buy an Intel MacBook
3) Do not have enough money to upgrade 4 years later, especially with 
the 3x compile speed improvements the M1/2/3 brings?


My guess is zero. And there is always the possiblity to use a free 
Ubuntu MV on these obsolete macs.


I know the senior RTEMS developpers are very very busy, so I (selfishly) 
would prefer if they use their time for something more productive :)


Here at Precidata for example, we've put our product developpement with 
RTEMS on hold for the past 5 months, because of bug #4923 (STM32h7 FPU 
corrupted on return from IRQ).


So may I humbly suggest to forget obsolete developpement platforms and 
focus energy on new targets?


Thanks for your answers and all your work.

Cedric


___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH] print/texinfo: Check the version and build if too old

2023-12-07 Thread chrisj
From: Chris Johns 

Packages like binutils need newer versions than available by
default on MacOS.
---
 bare/config/print/texinfo.cfg | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/bare/config/print/texinfo.cfg b/bare/config/print/texinfo.cfg
index 5fa0cba..0c4c4f9 100644
--- a/bare/config/print/texinfo.cfg
+++ b/bare/config/print/texinfo.cfg
@@ -1,8 +1,15 @@
 #
 # GNU makeinfo has a version option, check for it.
-# If not found build it.
+# If not found or not recent build it.
 #
+%define makeinfo_version 7.0.3
 %define has_makeinfo %(makeinfo --version > /dev/null 2>&1; echo $?)
+%if %{has_makeinfo} == 0
+ %define makeinfo_version_resident %(makeinfo --version | grep "makeinfo (GNU 
texinfo)" | rev | sed -r 's/ .*//' | rev)
+ %if %{makeinfo_version_resident} < %{makeinfo_version}
+  %define has_makeinfo 1
+ %endif
+%endif
 %if %{has_makeinfo} != 0
  %include %{_configdir}/print/texinfo-7.0.3.cfg
 %endif
-- 
2.37.1 (Apple Git-137.1)

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-04 Thread Chris Johns
Following up building gmp-6.3.0 on Intel MacOS Ventura. These are stand alone
builds done by hand:

The RSB check results:

On 5/12/2023 8:37 am, Chris Johns wrote:
> 
> Testsuite summary for GNU MP 6.3.0
> 
> # TOTAL: 53
> # PASS:  10
> # SKIP:  1
> # XFAIL: 0
> # FAIL:  42
> # XPASS: 0
> # ERROR: 0

Default:

 ./configure && make && make check

produces:


Testsuite summary for GNU MP 6.3.0

# TOTAL: 53
# PASS:  45
# SKIP:  1
# XFAIL: 0
# FAIL:  7
# XPASS: 0
# ERROR: 0

Disable shared libraries:

 ./configure --disable-shared && make && make check

produces:


Testsuite summary for GNU MP 6.3.0

# TOTAL: 53
# PASS:  10
# SKIP:  1
# XFAIL: 0
# FAIL:  42
# XPASS: 0
# ERROR: 0

It seems the `--disable-shared` option on Intel MacOS causes problems.

I add `--disable-shared` to the building of these packages to avoid any shared
library issues in the our built tools. I have no idea if this is an issue as
gcc, gdb etc may statically link. It would be nice to confirm this so if someone
is interesting in taking look it would be appreciated?

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-04 Thread Chris Johns
On 4/12/2023 7:13 pm, Cedric Berger wrote:
> Hello,
> 
> On 28.11.2023 03:00, Chris Johns wrote:
>> On 27/11/2023 6:43 pm, Cedric Berger wrote:
>>> Hello,
>>>
>>> On 24.11.2023 08:36, Sebastian Huber wrote:
>>>> Would updating to ISL 0.26 and MPC 1.3.1 fix this issue also?
>>> I just tried in on my fully up-to-date M1 Pro (macOS Sonoma 14.1.1, Xcode
>>> 15.0.1)
>>>
>>> Short answer: everything works well without issues (configure, make, check)
>>>
>>> I just installed the following packages successively:
>>>
>>>   - https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz
>>>   - https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.gz
>>>   - https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
>>>   - https://libisl.sourceforge.io/isl-0.26.tar.gz
>>>
>>> by simply extracting the archive and doing:
>>>
>>>    ./configure
>>>    make
>>>    make check
>>>    sudo make install
>> Is this a native build?
> Yes
>>   This seems to resolve the OS support part which is good
>> however is the other issue of bad code execution in GMP fixed?
> 
> Could you point me to the problem?

The issue has been resolved in gmp-6.3.0 for M silicon. I am how looking at:

https://lists.rtems.org/pipermail/users/2023-October/068894.html

and the crash is in a GMP call via MPFR. This is on Intel silicon on Ventura. I
have just run `make check` on the RSB build of GMP and it is not great:


Testsuite summary for GNU MP 6.3.0
====
# TOTAL: 53
# PASS:  10
# SKIP:  1
# XFAIL: 0
# FAIL:  42
# XPASS: 0
# ERROR: 0

> In any case I ran make check, so at least for all the builtin tests, there is 
> no
> issues.

Are you checking the RSB built package or a stand along configure and compile 
build?

>> This only showed
>> up when the cross-compiled libraries are built?
> 
> These libraries are only used by gcc itself right?

Yes. An example of the usage can be seen in the above crash building the libgcc
div3c module. The back trace is:

 thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS
(code=1, address=0xd5)
  * frame #0: 0x..
frame #1: 0x.. cc1`__gmpn_bc_set_str + 1370
frame #2: 0x.. cc1`parsed_string_to_mpfr() at strtofr.c:555:20 [opt]
frame #3: 0x.. cc1`mpfr_strtofr() at strtofr.c:965:13 [opt]
frame #4: 0x.. cc1`real_from_string(r=0x7ff7bfefb350,
str="1.79769313486231570814527423731704357e+308") at real.cc:2152:17 [opt]

> Why would you cross-compile these libraries?

Sorry if I was not clear. Those libraries are not being cross-compiled, it
things like libgcc that are and in this case of the crash posted here the
failure appears when building that code.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-04 Thread Cedric Berger

Hello,

On 28.11.2023 05:12, Chris Johns wrote:

  -https://libisl.sourceforge.io/isl-0.26.tar.gz

This does not build on my M2 with Sonoma and the latest Xcode. Something about a
missing constructor.


This is so weird, it should make no difference with my system.

Full build log below.

Cedric

Cedrics-MBP:X cedric$ ls -lsa
total 6784
   0 drwxr-xr-x    3 cedric  staff   96 Dec  4 09:15 .
   0 drwxr-x---+ 157 cedric  staff 5024 Dec  2 16:50 ..
6784 -rw-r--r--    1 cedric  staff  2902641 Apr  2  2023 isl-0.26.tar.gz
Cedrics-MBP:X cedric$ uname -a
Darwin Cedrics-MBP 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 
21:27:24 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T6000 arm64

Cedrics-MBP:X cedric$ gcc --version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Cedrics-MBP:X cedric$ tar zxf isl-0.26.tar.gz
Cedrics-MBP:X cedric$ cd isl-0.26
Cedrics-MBP:isl-0.26 cedric$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ././install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking build system type... aarch64-apple-darwin23.1.0
checking for aarch64-apple-darwin23.1.0-gcc... no
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking how to run the C preprocessor... gcc -E
checking for C compiler vendor... clang
checking host system type... aarch64-apple-darwin23.1.0
checking for a sed that does not truncate output... /usr/bin/sed
checking whether C compiler accepts -g -O2... yes
checking whether the compiler supports function 
__attribute__((__warn_unused_result__))... yes

checking for __attribute__... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether g++ -std=c++11 supports C++17 features by default... no
checking whether g++ -std=c++11 supports C++17 features with 
-std=gnu++17... yes

checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... 
/Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) 
is GNU ld... no

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... rm: 
conftest.dSYM: is a directory

BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert aarch64-apple-darwin23.1.0 file names to 
aarch64-apple-darwin23.1.0 format... func_convert_file_noop
checking how to convert aarch64-apple-darwin23.1.0 file names to 
toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to 
reload object files... -r

checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... rm: conftest.dSYM: is a directory
no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm 

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-12-04 Thread Cedric Berger

Hello,

On 28.11.2023 03:00, Chris Johns wrote:

On 27/11/2023 6:43 pm, Cedric Berger wrote:

Hello,

On 24.11.2023 08:36, Sebastian Huber wrote:

Would updating to ISL 0.26 and MPC 1.3.1 fix this issue also?

I just tried in on my fully up-to-date M1 Pro (macOS Sonoma 14.1.1, Xcode 
15.0.1)

Short answer: everything works well without issues (configure, make, check)

I just installed the following packages successively:

  - https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz
  - https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.gz
  - https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
  - https://libisl.sourceforge.io/isl-0.26.tar.gz

by simply extracting the archive and doing:

   ./configure
   make
   make check
   sudo make install

Is this a native build?

Yes

  This seems to resolve the OS support part which is good
however is the other issue of bad code execution in GMP fixed?


Could you point me to the problem?

In any case I ran make check, so at least for all the builtin tests, 
there is no issues.



This only showed
up when the cross-compiled libraries are built?


These libraries are only used by gcc itself right?

Why would you cross-compile these libraries?

Cedric





And everything went fine with just a couple of warnings:

  - during make check for the first 3 packages:

   libtool: warning: '-no-install' is ignored for aarch64-apple-darwin23.1.0
   libtool: warning: assuming '-no-fast-install' instead

  - at the end of libisl make:

   ld: warning: -bind_at_load is deprecated on macOS
   warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive library:
libdep.a the table of contents is empty (no object file members in the library
define global symbols)

So it seems that updating to the lastest packages would fix all outstanding M1
macOS issues witout any extra patches needed.

Thanks for taking the time to do this testing.

Chris

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH] gdb: Add options to contorl the python version

2023-11-29 Thread chrisj
From: Chris Johns 

The options are:
  --with-python2
  --with-python3
  --with-python-version

Closes #4973
---
 source-builder/config/gdb-common-1.cfg | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/source-builder/config/gdb-common-1.cfg 
b/source-builder/config/gdb-common-1.cfg
index 0fea334..49bf673 100644
--- a/source-builder/config/gdb-common-1.cfg
+++ b/source-builder/config/gdb-common-1.cfg
@@ -44,6 +44,25 @@
 #
 # 3. Search for 'python3' and if not found search for 'python2'.
 #
+# User options to help find a suitable python:
+#
+# --with-python2 : name of a python2 command
+#
+# --with-python3 : name of a python2 command
+#
+# --with-python-version : name of a python command with a specific version
+#
+# For example `--with-python-version=python3.6
+#
+%if %{defined with_python2}
+ %define gdb-python2 %{with_python2}
+%endif
+%if %{defined with_python3}
+ %define gdb-python3 %{with_python3}
+%endif
+%if %{defined with_python_version}
+ %define gdb-python-version %{with_python_version}
+%endif
 %if %{defined gdb-python2}
   %define gdb-enable-python %{gdb_python2}
 %else
-- 
2.19.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH] sb: No hash on a package is an error

2023-11-29 Thread chrisj
From: Chris Johns 

---
 source-builder/sb/download.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py
index 410edeb..3f26644 100644
--- a/source-builder/sb/download.py
+++ b/source-builder/sb/download.py
@@ -132,9 +132,7 @@ def _hash_check(file_, absfile, macros, remove = True):
 if hasher is not None:
 del hasher
 else:
-if version.released():
-raise error.general('%s: no hash found in released RSB' % (file_))
-log.warning('%s: no hash found' % (file_))
+raise error.general('%s: no hash found in released RSB' % (file_))
 return not failed
 
 def _local_path(source, pathkey, config):
-- 
2.37.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH v2] 6: Fix gcc-13 support for MacOS

2023-11-28 Thread chrisj
From: Chris Johns 

Update #4921
---
 bare/config/devel/gmp-6.2.1.cfg   | 11 +++-
 bare/config/devel/gmp-6.3.0.cfg   | 18 +
 rtems/config/6/rtems-default.bset |  2 +-
 .../tools/rtems-gcc-13.2-newlib-head.cfg  |  2 +-
 source-builder/config/gcc-13.cfg  | 26 +++
 source-builder/config/gmp.cfg | 17 +++-
 6 files changed, 67 insertions(+), 9 deletions(-)
 create mode 100644 bare/config/devel/gmp-6.3.0.cfg
 create mode 100644 source-builder/config/gcc-13.cfg

diff --git a/bare/config/devel/gmp-6.2.1.cfg b/bare/config/devel/gmp-6.2.1.cfg
index 1ab620c..19c5930 100644
--- a/bare/config/devel/gmp-6.2.1.cfg
+++ b/bare/config/devel/gmp-6.2.1.cfg
@@ -8,8 +8,17 @@
 
 %include %{_configdir}/base.cfg
 
+%define gmp_url https://gcc.gnu.org/pub/gcc/infrastructure
 %define gmp_version 6.2.1
-%hash sha512 gmp-%{gmp_version}.tar.bz2 
8904334a3bcc5c896ececabc75cda9dec642e401fb5397c4992c4fabea5e962c9ce8bd44e8e4233c34e55c8010cc28db0545f5f750cbdbb5f00af538dc763be9
+%hash sha512 gmp-%{gmp_version}.tar.bz2 \
+
iQQzSjvMXIluzsq8dc2p3sZC5AH7U5fEmSxPq+peliyc6L1E6OQjPDTlXIAQzCjbBUX191DL27XwCvU43HY76Q==
+
+#
+# Do not use assembler if MacOS AARCH64
+#
+%if %{_host_os} == darwin && %{_host_arch} == arm64
+ %define gmp_extra_options --disable-assembly
+%endif
 
 #
 # The GMP build instructions.
diff --git a/bare/config/devel/gmp-6.3.0.cfg b/bare/config/devel/gmp-6.3.0.cfg
new file mode 100644
index 000..09e85b6
--- /dev/null
+++ b/bare/config/devel/gmp-6.3.0.cfg
@@ -0,0 +1,18 @@
+#
+# GMP 6.3.0
+#
+
+%if %{release} == %{nil}
+%define release 1
+%endif
+
+%include %{_configdir}/base.cfg
+
+%define gmp_version 6.3.0
+%hash sha512 gmp-%{gmp_version}.tar.bz2 \
+   
O2hMm8ue3it+VNC6TJdkv6F8INTzAAAXxVO28eE1tTaUlYD/NzQWgMJdwjbP4LoduM/f5hnOATZWGJ7whxuJ+A==
+
+#
+# The GMP build instructions.
+#
+%include %{_configdir}/gmp.cfg
diff --git a/rtems/config/6/rtems-default.bset 
b/rtems/config/6/rtems-default.bset
index b702275..2d7a223 100644
--- a/rtems/config/6/rtems-default.bset
+++ b/rtems/config/6/rtems-default.bset
@@ -11,7 +11,7 @@
 #
 %defineifnot with_rtems_dtc  devel/dtc-1.6.1-1
 %defineifnot with_rtems_expatdevel/expat-2.5.0-1
-%defineifnot with_rtems_gmp  devel/gmp-6.2.1
+%defineifnot with_rtems_gmp  devel/gmp-6.3.0
 %defineifnot with_rtems_gdb  tools/rtems-gdb-13.2
 %defineifnot with_rtems_binutils tools/rtems-binutils-2.41
 %defineifnot with_rtems_gcc  tools/rtems-gcc-13.2-newlib-head
diff --git a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
index 86e0135..a8d729f 100644
--- a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
@@ -17,4 +17,4 @@
 %define with_plugin 0
 %define with_iconv 1
 
-%include %{_configdir}/gcc-12.cfg
+%include %{_configdir}/gcc-13.cfg
diff --git a/source-builder/config/gcc-13.cfg b/source-builder/config/gcc-13.cfg
new file mode 100644
index 000..19b514a
--- /dev/null
+++ b/source-builder/config/gcc-13.cfg
@@ -0,0 +1,26 @@
+#
+# GCC 13
+#
+# This configuration file configure's, make's and install's gcc. It uses
+# newlib, ISL, MPFR and MPC in a one-tree build configuration.
+#
+
+%define isl_version 0.24
+%hash sha512 isl-%{isl_version}.tar.bz2 \
+
qrO929qWuAHQ9W0oaflDFXqtUqb25qYXRe3XQCNMY1w4IxryC8PxoI1Bal6XOpDhgkkHjtjkri8dXeV2WHOOlQ==
+# See #4657
+%patch add isl -p1 
https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch
+%hash sha512 fix-mac-arm64-isl-config.patch \
+
wH/bYFplINGUNYUEcx5jtUAhHvaAOD8cpOxltKxDridodTT9fYGWpNvoOg7PLEKkJUxx5gnuSEp2FFc7xJmi6A==
+
+%define mpfr_version 4.2.1
+%define mpfr_url https://ftp.gnu.org/gnu/mpfr
+%hash sha512 mpfr-%{mpfr_version}.tar.bz2 \
+
yBhCUy7MZjNI3rdADZEa1xkz07Ulovnlrc0EJlycD90fIuyiKfSCcDrH8iLvIJ/J4zndH6R9cq5X9/cLIzanbw==
+
+%define mpc_version 1.3.1
+%define mpc_url https://ftp.gnu.org/gnu/mpc
+%hash sha512 mpc-%{mpc_version}.tar.gz \
+
S6tO9gdvjF39yZ2BC1EQjO1h6ilCugwcky1iQ2ClRz3yDTKzAPx28rpKoql+Hydcn9SUobqfB8TLKtfOrrGulw==
+
+%include %{_configdir}/gcc-common-1.cfg
diff --git a/source-builder/config/gmp.cfg b/source-builder/config/gmp.cfg
index 4e8d674..352caef 100644
--- a/source-builder/config/gmp.cfg
+++ b/source-builder/config/gmp.cfg
@@ -15,17 +15,22 @@ Release:   %{release}
 URL:  https://gmplib.org/
 
 #
-# Source
+# Allow the user to override the UURL
 #
-%source set gmp 
https://gcc.gnu.org/pub/gcc/infrastructure/gmp-%{gmp_version}.tar.bz2
+%if %{!defined gmp_url}
+ %define gmp_url https://gmplib.org/download/gmp
+%endif
 
-%define gmp_extra_options %{nil}
+#
+# Source
+#
+%source set gmp %{gmp_url}/gmp-%{gmp_version}.tar.bz2
 
 #
-# Do not use assembler if MacOS AARCH64
+# Allow extra options
 #
-%if %{_host_os} == darwin && %{_host_arch} == arm64
- %define gmp_extra_options %{gmp_extra_options} --disable-assembly
+%if %{!defined 

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-11-27 Thread Chris Johns
On 27/11/2023 6:43 pm, Cedric Berger wrote:
> I just installed the following packages successively:
> 
>  - https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz
>  - https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.gz

This URL is not suitable so the GNU mirror is better. A change in version means
mpfr-4.2.1.tar.gz is not accessible and that breaks our long term releases. I
have hit this before and why we switched to downloading from gcc.

>  - https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
>  - https://libisl.sourceforge.io/isl-0.26.tar.gz

This does not build on my M2 with Sonoma and the latest Xcode. Something about a
missing constructor. I tried 0.25 and it failed to detect the OS, which is the
original issue we are wanting to solve. I will test 0.24 and the original patch.
An update patch to 0.25 would be welcome if anyone is interested.

I think we should add source-builder/config/gcc-13.cfg and then use ISL 0.24,
MPFR 4.2.1, MPC 1.3.1 and GMP 6.3.0. I have built an aarch64 compiler without
needing to disable the assembler in GMP. I will try some more architectures.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-11-27 Thread Chris Johns
On 27/11/2023 6:43 pm, Cedric Berger wrote:
> Hello,
> 
> On 24.11.2023 08:36, Sebastian Huber wrote:
>> Would updating to ISL 0.26 and MPC 1.3.1 fix this issue also?
> 
> I just tried in on my fully up-to-date M1 Pro (macOS Sonoma 14.1.1, Xcode 
> 15.0.1)
> 
> Short answer: everything works well without issues (configure, make, check)
> 
> I just installed the following packages successively:
> 
>  - https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz
>  - https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.gz
>  - https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
>  - https://libisl.sourceforge.io/isl-0.26.tar.gz
> 
> by simply extracting the archive and doing:
> 
>   ./configure
>   make
>   make check
>   sudo make install

Is this a native build? This seems to resolve the OS support part which is good
however is the other issue of bad code execution in GMP fixed? This only showed
up when the cross-compiled libraries are built?

> And everything went fine with just a couple of warnings:
> 
>  - during make check for the first 3 packages:
> 
>   libtool: warning: '-no-install' is ignored for aarch64-apple-darwin23.1.0
>   libtool: warning: assuming '-no-fast-install' instead
> 
>  - at the end of libisl make:
> 
>   ld: warning: -bind_at_load is deprecated on macOS
>   warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive 
> library:
> libdep.a the table of contents is empty (no object file members in the library
> define global symbols)
> 
> So it seems that updating to the lastest packages would fix all outstanding M1
> macOS issues witout any extra patches needed.

Thanks for taking the time to do this testing.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-11-26 Thread Cedric Berger

Hello,

On 24.11.2023 08:36, Sebastian Huber wrote:

Would updating to ISL 0.26 and MPC 1.3.1 fix this issue also?


I just tried in on my fully up-to-date M1 Pro (macOS Sonoma 14.1.1, 
Xcode 15.0.1)


Short answer: everything works well without issues (configure, make, check)

I just installed the following packages successively:

 - https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz
 - https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.gz
 - https://ftp.gnu.org/gnu/mpc/mpc-1.3.1.tar.gz
 - https://libisl.sourceforge.io/isl-0.26.tar.gz

by simply extracting the archive and doing:

  ./configure
  make
  make check
  sudo make install

And everything went fine with just a couple of warnings:

 - during make check for the first 3 packages:

  libtool: warning: '-no-install' is ignored for aarch64-apple-darwin23.1.0
  libtool: warning: assuming '-no-fast-install' instead

 - at the end of libisl make:

  ld: warning: -bind_at_load is deprecated on macOS
  warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive 
library: libdep.a the table of contents is empty (no object file members 
in the library define global symbols)


So it seems that updating to the lastest packages would fix all 
outstanding M1 macOS issues witout any extra patches needed.


Cedric


___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-11-23 Thread Sebastian Huber

On 24.11.23 05:36, chr...@rtems.org wrote:

From: Chris Johns

Updates #4921
---
  rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg | 14 ++
  1 file changed, 14 insertions(+)

diff --git a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
index 86e0135..4422e36 100644
--- a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
@@ -6,6 +6,20 @@
  %hash sha512 gcc-%{gcc_version}.tar.xz \

2Z5IJqcNsEUERn40np+67apYcHZs2nxcq1DN6+3EvnVevKW3ieEjKjSiC+GgtgCX3pKA7+R723HHMlHjCwhiog==
  
+# Following patches are related to compilation on Apple M1/Darwin host platform.

+# They are here to workaround issues with ISL and MPC libraries.
+# Upstream projects were already informed so hopefully when RSB moves
+# to more modern libraries versions they may be removed from here.
+# The patches are solely for libisl 0.24 and libmpc 1.2.1
+# See #4657 for more information.
+%patch add isl 
-p1https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch
+%hash sha512 fix-mac-arm64-isl-config.patch \
+
wH/bYFplINGUNYUEcx5jtUAhHvaAOD8cpOxltKxDridodTT9fYGWpNvoOg7PLEKkJUxx5gnuSEp2FFc7xJmi6A==
+%patch add mpc 
-p1https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpc-config.patch
+%hash sha512 fix-mac-arm64-mpc-config.patch \
+
KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
+# Comment above related to #4657 and patches ends here
+
  %define newlib_version 3cacedb
  %define newlib_external 1
  %define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}


Would updating to ISL 0.26 and MPC 1.3.1 fix this issue also?

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH] 6: Merge the MacOS M silicon patch from gcc-12 to gcc-13

2023-11-23 Thread chrisj
From: Chris Johns 

Updates #4921
---
 rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
index 86e0135..4422e36 100644
--- a/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg
@@ -6,6 +6,20 @@
 %hash sha512 gcc-%{gcc_version}.tar.xz \
   
2Z5IJqcNsEUERn40np+67apYcHZs2nxcq1DN6+3EvnVevKW3ieEjKjSiC+GgtgCX3pKA7+R723HHMlHjCwhiog==
 
+# Following patches are related to compilation on Apple M1/Darwin host 
platform.
+# They are here to workaround issues with ISL and MPC libraries.
+# Upstream projects were already informed so hopefully when RSB moves
+# to more modern libraries versions they may be removed from here.
+# The patches are solely for libisl 0.24 and libmpc 1.2.1
+# See #4657 for more information.
+%patch add isl -p1 
https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch
+%hash sha512 fix-mac-arm64-isl-config.patch \
+
wH/bYFplINGUNYUEcx5jtUAhHvaAOD8cpOxltKxDridodTT9fYGWpNvoOg7PLEKkJUxx5gnuSEp2FFc7xJmi6A==
+%patch add mpc -p1 
https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpc-config.patch
+%hash sha512 fix-mac-arm64-mpc-config.patch \
+
KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
+# Comment above related to #4657 and patches ends here
+
 %define newlib_version 3cacedb
 %define newlib_external 1
 %define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
-- 
2.39.3 (Apple Git-145)

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH] rtems/rtems-tools: Update with C++17 and Python 3.12 fixes

2023-11-22 Thread chrisj
From: Chris Johns 

Updates #4969
Updates #4970
---
 rtems/config/tools/rtems-tools-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-tools-6.cfg 
b/rtems/config/tools/rtems-tools-6.cfg
index 859c297..7ef2052 100644
--- a/rtems/config/tools/rtems-tools-6.cfg
+++ b/rtems/config/tools/rtems-tools-6.cfg
@@ -10,14 +10,14 @@
  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
  %define rtems_tools_ext xz
 %else
- %define rtems_tools_version 7dc34d2cabf5e9f77b6a9d035b01a75a6f593044
+ %define rtems_tools_version f408c0f8d935d53c232c67bed39e4018fd8d7a2a
  %define rtems_tools_ext bz2
 %endif
 
 %define rtems_tools_source rtems-tools-%{rtems_tools_version}
 %source set rtems-tools 
https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
 %hash   sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
-   
I8F4RkorMvfM9OUuS6hRfAEjxMydtE6sHTjnTzpek854caQAC2eHN2Hqi6HIN/9zXEWA7YeFgNsYdJsBsA5Hcg==
+   
xZIWwcW4y9wOsIY+8XWDAxKk51TwKFHeOw39SS6zxrgE0LOFxfpy/SQeidCRvOUieQPbEmZRUdLyFW1UDEHh3w==
 
 #
 # Optionally enable/disable building the RTEMS Tools via the command line.
-- 
2.39.3 (Apple Git-145)

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB 1/3] 6/7: Update Newlib

2023-11-21 Thread Joel Sherrill
Thanks.

Ask Kinsey some time the weird situation that caught this.

--joel

On Tue, Nov 21, 2023 at 3:05 PM Chris Johns  wrote:

> OK to all 3 and thanks
>
> Chris
>
> On 21/11/2023 11:39 pm, Sebastian Huber wrote:
> > Pick up fixes for ARM/optimized-routines and the memory reclamation at
> thread
> > exit.
> >
> > Update #4510.
> > Update #4967.
> > ---
> >  rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
> >  rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
> >  rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
> >  rtems/config/tools/rtems-gcc-13-newlib-head.cfg   | 4 ++--
> >  rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg | 4 ++--
> >  rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
> >  6 files changed, 12 insertions(+), 12 deletions(-)
> >
> > diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> > index 6668bc6..387e8c9 100644
> > --- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> > +++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> > @@ -14,12 +14,12 @@
> >  %patch add gcc -p1
> https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
> >  %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch
> afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
> >
> > -%define newlib_version fbc5496
> > +%define newlib_version 3cacedb
> >  %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 \
> > -
> AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
> > +
> ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
> >
> >  %define with_threads 1
> >  %define with_plugin 0
> > diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> > index dae3d2a..b37af1e 100644
> > --- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> > +++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> > @@ -17,12 +17,12 @@
> >  %patch add gcc -p1
> https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
> >  %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch
> afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
> >
> > -%define newlib_version fbc5496
> > +%define newlib_version 3cacedb
> >  %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 \
> > -
> AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
> > +
> ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
> >
> >  %define with_threads 1
> >  %define with_plugin 0
> > diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > index 9fe1ddd..4a0c6d1 100644
> > --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > @@ -34,13 +34,13 @@
> >
> KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
> >  # Comment above related to #4657 and patches ends here
> >
> > -%define newlib_version fbc5496
> > +%define newlib_version 3cacedb
> >  %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 \
> > -
> AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
> > +
> ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
> >
> >  %define with_threads 1
> >  %define with_plugin 0
> >

Re: [RSB 1/3] 6/7: Update Newlib

2023-11-21 Thread Chris Johns
OK to all 3 and thanks

Chris

On 21/11/2023 11:39 pm, Sebastian Huber wrote:
> Pick up fixes for ARM/optimized-routines and the memory reclamation at thread
> exit.
> 
> Update #4510.
> Update #4967.
> ---
>  rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
>  rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
>  rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
>  rtems/config/tools/rtems-gcc-13-newlib-head.cfg   | 4 ++--
>  rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg | 4 ++--
>  rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
>  6 files changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> index 6668bc6..387e8c9 100644
> --- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> @@ -14,12 +14,12 @@
>  %patch add gcc -p1 
> https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
>  %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch 
> afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
>  
> -%define newlib_version fbc5496
> +%define newlib_version 3cacedb
>  %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 \
> -  
> AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
> +  
> ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> index dae3d2a..b37af1e 100644
> --- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> @@ -17,12 +17,12 @@
>  %patch add gcc -p1 
> https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
>  %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch 
> afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
>  
> -%define newlib_version fbc5496
> +%define newlib_version 3cacedb
>  %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 \
> -  
> AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
> +  
> ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> index 9fe1ddd..4a0c6d1 100644
> --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> @@ -34,13 +34,13 @@
>  
> KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
>  # Comment above related to #4657 and patches ends here
>  
> -%define newlib_version fbc5496
> +%define newlib_version 3cacedb
>  %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 \
> -  
> AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
> +  
> ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> index 7d5f610..5529563 100644
> --- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> @@ -8,12 +8,12 @@
>  %hash sha512 %{gcc_expand_name}.tar.gz \
>
> nKBXN9Qt/9CRYDVOp1geQdshXDP/kvr82RV1fE1LVIxNCbAVvhRmqz1p5kycg24T3TNGHPN58RySceaYgc6sCw==
>  
> -%define newlib

[RSB 1/3] 6/7: Update Newlib

2023-11-21 Thread Sebastian Huber
Pick up fixes for ARM/optimized-routines and the memory reclamation at thread
exit.

Update #4510.
Update #4967.
---
 rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-13-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-13.2-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
index 6668bc6..387e8c9 100644
--- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
@@ -14,12 +14,12 @@
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
 %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch 
afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
 
-%define newlib_version fbc5496
+%define newlib_version 3cacedb
 %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 \
-  
AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
+  
ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
index dae3d2a..b37af1e 100644
--- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
@@ -17,12 +17,12 @@
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
 %hash sha512 0001-nios2-Remove-custom-instruction-warnings.patch 
afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
 
-%define newlib_version fbc5496
+%define newlib_version 3cacedb
 %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 \
-  
AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
+  
ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index 9fe1ddd..4a0c6d1 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -34,13 +34,13 @@
 
KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
 # Comment above related to #4657 and patches ends here
 
-%define newlib_version fbc5496
+%define newlib_version 3cacedb
 %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 \
-  
AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
+  
ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
index 7d5f610..5529563 100644
--- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -8,12 +8,12 @@
 %hash sha512 %{gcc_expand_name}.tar.gz \
   
nKBXN9Qt/9CRYDVOp1geQdshXDP/kvr82RV1fE1LVIxNCbAVvhRmqz1p5kycg24T3TNGHPN58RySceaYgc6sCw==
 
-%define newlib_version fbc5496
+%define newlib_version 3cacedb
 %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 \
-  
AFwyCjHHXfddx/lUcJbmcxSFOYtfj8cshzthqF9B2OtZxxxN/NQ8O+znhUPKDv20KjOBEMGh4VHpoiFBjZOrmA==
+  
ia0ce+bdENUO3qYj00jrZB8FjSejmTWuRqEdNE8nI2llf30mh8leUn5fCoHB0Oa7rRVBjEu3n0F12ZK9skuegQ==
 
 %define with_threads 1
 %define with_plugin 0

[RSB 2/3] 6: Update GCC 12 and 13

2023-11-21 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development.
---
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index 4a0c6d1..4a31a50 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 814ec21
+%define gcc_version a285310
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
JyGpbsqRctCanDzH/sHmem+iJMXvQe2x8ZairztM034/vcElNQSMNgb2jICgdDWH032wrJOk5IYcZoA0fJx4Zw==
+  
sYxUkDJD7qaCzXndAljnAQMbmssg7AY97cBAMjwqDSC6vxseGSzvO8LGMW46ASM6Zq2frKj8XVj27GnPmwSIXQ==
 
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch
 %hash sha512 0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch \
diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
index 5529563..efd546b 100644
--- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version f37fae5
+%define gcc_version 8c04837
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
nKBXN9Qt/9CRYDVOp1geQdshXDP/kvr82RV1fE1LVIxNCbAVvhRmqz1p5kycg24T3TNGHPN58RySceaYgc6sCw==
+  
YSkX/JY61N+I4CPkJInUNGzwhb+uv+YNs9qcTxxJhg/HpGD5vI9duEPNw++F3y8J4re87DPJGIzV5DsFUBCJnA==
 
 %define newlib_version 3cacedb
 %define newlib_external 1
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB 3/3] 7: Update Binutils, GDB, and GCC

2023-11-21 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development.
---
 rtems/config/tools/rtems-binutils-head.cfg| 4 ++--
 rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gdb-head.cfg | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/rtems/config/tools/rtems-binutils-head.cfg 
b/rtems/config/tools/rtems-binutils-head.cfg
index 3c38aae..3516d2c 100644
--- a/rtems/config/tools/rtems-binutils-head.cfg
+++ b/rtems/config/tools/rtems-binutils-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define binutils_version 29736fc
+%define binutils_version eb42bb1
 %define binutils_external 1
 %define binutils_expand_name sourceware-mirror-binutils-gdb-%{binutils_version}
 %source set binutils --rsb-file=%{binutils_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version}
 %hash sha512 %{binutils_expand_name}.tar.gz \
-  
REf+CTG4FMoi5tVGd+ec1a2sexHCn6rNGWM7MjBIeOGKQvat/2GYXolOyIEDoITiCZSENAqwbzyc1fS3/3ndVA==
+  
qDuLOqwQ/kQX30hIu5UVDqMuKjnpoKTEZ4xo85lrzq6VtnCd6nwdO5t9szbhJc4P1UWww9rRNMcqj7d2BKeNqg==
 
 %define with_deterministic_archives 1
 %define with_64_bit_bfd 1
diff --git a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
index c65576e..c4f2aa3 100644
--- a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version af4bb22
+%define gcc_version 41aacde
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
/xNCazIZxy7diP2R1RUChqhEuQIZdD4otPeHyN48g1LiFbgPaUNZ167RDPCXkQEVVf31g/LvYFqicxeXMwj8cQ==
+  
xPwSCLLXsJfFKontgrGlU9ep/PVlP3bQOGbgRCG0mj8sD5dq2ifo5VOwGwVMRQD0VFVVOWqeykq3OVkZYlu1GA==
 
 %define newlib_version 3cacedb
 %define newlib_external 1
diff --git a/rtems/config/tools/rtems-gdb-head.cfg 
b/rtems/config/tools/rtems-gdb-head.cfg
index 2bda4fb..17ecee8 100644
--- a/rtems/config/tools/rtems-gdb-head.cfg
+++ b/rtems/config/tools/rtems-gdb-head.cfg
@@ -1,11 +1,11 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gdb_version 29736fc
+%define gdb_version eb42bb1
 %define gdb_external 1
 %define gdb_expand_name sourceware-mirror-binutils-gdb-%{gdb_version}
 %source set gdb --rsb-file=%{gdb_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{gdb_version}
 %hash sha512 %{gdb_expand_name}.tar.gz \
-  
REf+CTG4FMoi5tVGd+ec1a2sexHCn6rNGWM7MjBIeOGKQvat/2GYXolOyIEDoITiCZSENAqwbzyc1fS3/3ndVA==
+  
qDuLOqwQ/kQX30hIu5UVDqMuKjnpoKTEZ4xo85lrzq6VtnCd6nwdO5t9szbhJc4P1UWww9rRNMcqj7d2BKeNqg==
 
 %include %{_configdir}/gdb-8-1.cfg
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB 1/3] 6/7: Update Newlib

2023-10-13 Thread Sebastian Huber

On 10.10.23 07:57, Sebastian Huber wrote:

On 09.10.23 23:52, Chris Johns wrote:
Ok to all patches in the series. Thanks for newlib changes for ARM, 
they will be nice to use.


I have to fix the riscv issue before we can update Newlib.


I fixed the riscv issue and checked in an updated version of the patches.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH 5/5] rtems/net-legacy: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns 

Pick up the test printer header change
---
 rtems/config/tools/rtems-net-legacy-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg 
b/rtems/config/tools/rtems-net-legacy-6.cfg
index 559ec01..d5ac842 100644
--- a/rtems/config/tools/rtems-net-legacy-6.cfg
+++ b/rtems/config/tools/rtems-net-legacy-6.cfg
@@ -3,9 +3,9 @@
 #
 
 #  branch: main
-%define rtems_net_version 3a83bcef4bd62fda5c0f9c94dd649fc32d962ab2
+%define rtems_net_version a1e5d91c818d0881293c3c9e7d549816d34f6c77
 %hash sha512 rtems-net-legacy-%{rtems_net_version}.tar.bz2 \
-   
ANUrgSU3YRAnbEM/9wL5R4LrRCcyDYZz9KbRhTxnNYvUPjrfNgO+bM1qEYtJI6qUxvlKZYkVIkeOKxsAtjj1/A==
+   
wM9thMsQQdhtNVBV+FnnE/YS+2r+N7rYLsmCUMs4zQIgQ/bqhg4Sk2nkgse9NBs/gXTeCzzwG3/BTH6eQIYjBg==
 %define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
 %hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \

NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ==
-- 
2.31.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH 3/5] rtems/libbsd: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns 

- Pick up fixes to x86 (i368) bus space usage in kernel DMA
---
 rtems/config/tools/rtems-libbsd-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-libbsd-6.cfg 
b/rtems/config/tools/rtems-libbsd-6.cfg
index c89b5eb..3bb1db7 100644
--- a/rtems/config/tools/rtems-libbsd-6.cfg
+++ b/rtems/config/tools/rtems-libbsd-6.cfg
@@ -3,9 +3,9 @@
 #
 
 #  branch: 6-freebsd-12
-%define rtems_libbsd_version a0d36f58fd7587c14b82044f49735ee5aca152f2
+%define rtems_libbsd_version 1524f95e93a0e0ff85d676d214e0e57cac44e4f5
 %hash sha512 rtems-libbsd-%{rtems_libbsd_version}.tar.bz2 \
-  
E17YUAzCenQVp2t9IeGp0rRBjSr8/O8PCkF50T5gQ5vfyKttlrayqIbbOatcoVrqAN7IY4qpfazRYS4UF+jEKg==
+  
QiNVx1kFPcX9tmkY2mdWO2gb/t32J+AJkXOBAkyjfsaUuvBz43oMeOrpBFJuuix6eTmmukSzAulUCLdqBJlAWQ==
 %define rtems_waf_version ad08908c452c6a9bbb3bf7bbbcc9fc03fe46cc7f
 %hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
   
EyuEit0DsAR1gK9Ki1sjl416PFgFe7dcggH3H/hmdAPmMjEIIdX7TVOTDgOIK1Pt0DW6lZ9NcW7O87GZFyy8hg==
-- 
2.31.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH 4/5] rtems/net-services: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns 

- Updates for the RTEMS test changes
---
 rtems/config/net/net-services-1.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/net/net-services-1.cfg 
b/rtems/config/net/net-services-1.cfg
index bf1bdc8..cf17227 100644
--- a/rtems/config/net/net-services-1.cfg
+++ b/rtems/config/net/net-services-1.cfg
@@ -9,9 +9,9 @@
 #
 # Net Services Version
 #
-%define rtems_net_services_version fe0706060e5687a99c01d155e05d25bc34915ae1
+%define rtems_net_services_version 1651ac768f744725708c4328745665e1e7fa3c26
 %hash sha512 rtems-net-services-%{rtems_net_services_version}.tar.bz2 \
-   
5R/rhW3Supzw7KvDdkVYrWt3y3mxZ8hubwA8HpWtAZosWVlEauGvUpCfh1CthrHKHJ6uW1NpmewoAaZ9T25jsA==
+   
+czrODTpJF+nvMF4TFQFi3qn3k+X/N4JnxHFChrWGXAnaBQayjEkSNObhmETG3qe/ET8dhXHwJs/1A3A7e3uLA==
 
 %define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
 %hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
-- 
2.31.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH 1/5] rtems/tools: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns 

Minor fix in rtems-test
---
 rtems/config/tools/rtems-tools-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-tools-6.cfg 
b/rtems/config/tools/rtems-tools-6.cfg
index 9632d5b..859c297 100644
--- a/rtems/config/tools/rtems-tools-6.cfg
+++ b/rtems/config/tools/rtems-tools-6.cfg
@@ -10,14 +10,14 @@
  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
  %define rtems_tools_ext xz
 %else
- %define rtems_tools_version eda9325e583f761c53ee3db83124cc77cb4fefb5
+ %define rtems_tools_version 7dc34d2cabf5e9f77b6a9d035b01a75a6f593044
  %define rtems_tools_ext bz2
 %endif
 
 %define rtems_tools_source rtems-tools-%{rtems_tools_version}
 %source set rtems-tools 
https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
 %hash   sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
-   
kdrwOv0iUKYjWud2g/9aSnduIniNWnQKry04zwKEiwlKdg1KnMhGu4b0mpQD2PnsYxGha/ksPEnHLPnahQTarg==
+   
I8F4RkorMvfM9OUuS6hRfAEjxMydtE6sHTjnTzpek854caQAC2eHN2Hqi6HIN/9zXEWA7YeFgNsYdJsBsA5Hcg==
 
 #
 # Optionally enable/disable building the RTEMS Tools via the command line.
-- 
2.31.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH 2/5] rtems/kernel: Update to latest

2023-10-12 Thread chrisj
From: Chris Johns 

- libdl: fix TLS in base image
- bsps/xnandpsu: fixes
- cpukit/jffs2: avoid dead lock
- bsps/imxrt: enable USB and fix PHY clock enable
- bsps/stm32h7: update STM32 H7 HAL
---
 rtems/config/tools/rtems-kernel-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-kernel-6.cfg 
b/rtems/config/tools/rtems-kernel-6.cfg
index c9c884f..02b66b6 100644
--- a/rtems/config/tools/rtems-kernel-6.cfg
+++ b/rtems/config/tools/rtems-kernel-6.cfg
@@ -2,10 +2,10 @@
 # RTEMS 6
 #
 
-%define rtems_kernel_version c1d9dcbbb2a436256b49d9a0c322c78261509264
+%define rtems_kernel_version 25a4dff56ef48dd9eb646558404b55a0555a87f4
 
 %hash sha512 rtems-kernel-%{rtems_kernel_version}.tar.bz2 \
-   
dH0PgnSQ1k6pTCP/NhIgWzhDjHqFuLI03RBhbjaRFvRs5CUbZIG+x8opTb13czga/cUhOBd9JC7x557FkX0seA==
+   
CKj52ct4Bz3XrktSajwH1NsNrFX06VCEpmMHmeNwsseR+TWan9Pxsr8s/n2u8CdhjKfxztbrVB34NN8TCq8lkQ==
 #
 # The RTEMS build instructions.
 #
-- 
2.31.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB 1/3] 6/7: Update Newlib

2023-10-09 Thread Sebastian Huber

On 09.10.23 23:52, Chris Johns wrote:
Ok to all patches in the series. Thanks for newlib changes for ARM, they 
will be nice to use.


I have to fix the riscv issue before we can update Newlib.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB 1/3] 6/7: Update Newlib

2023-10-09 Thread Sebastian Huber

On 10.10.23 01:28, Joel Sherrill wrote:

What caused all the recently posted tool build failures?


One issue was that I forgot to remove the 
0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch patch.


Another issue is that I have trouble to build the dtc:

make: *** No rule to make target 'convert-dtsv0-lexer.l', needed by 
'convert-dtsv0-lexer.lex.c'.  Stop.


Another issue is that the riscv Newlib is broken since July.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB 1/3] 6/7: Update Newlib

2023-10-09 Thread Joel Sherrill
What caused all the recently posted tool build failures?

On Mon, Oct 9, 2023, 4:52 PM Chris Johns  wrote:

> Ok to all patches in the series. Thanks for newlib changes for ARM, they
> will be
> nice to use.
>
> Chris
>
> On 10/10/2023 3:58 am, Sebastian Huber wrote:
> > Pick up latest changes from ARM/optimized-routines.
> >
> > Close 4510.
> > ---
> >  rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
> >  rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
> >  rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
> >  rtems/config/tools/rtems-gcc-13-newlib-head.cfg   | 4 ++--
> >  rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
> >  5 files changed, 10 insertions(+), 10 deletions(-)
> >
> > diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> > index 1cbb301..06524d4 100644
> > --- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> > +++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> > @@ -17,12 +17,12 @@
> >  %patch add newlib -p1
> https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
> >  %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
> 7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
> >
> > -%define newlib_version a021448
> > +%define newlib_version fe5886a
> >  %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 \
> > -
> YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
> > +
> w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
> >
> >  %define with_threads 1
> >  %define with_plugin 0
> > diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> > index 99e2a21..e457b75 100644
> > --- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> > +++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> > @@ -20,12 +20,12 @@
> >  %patch add newlib -p1
> https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
> >  %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
> 7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
> >
> > -%define newlib_version a021448
> > +%define newlib_version fe5886a
> >  %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 \
> > -
> YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
> > +
> w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
> >
> >  %define with_threads 1
> >  %define with_plugin 0
> > diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > index 04616eb..75dfcb2 100644
> > --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > @@ -38,13 +38,13 @@
> >
> KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
> >  # Comment above related to #4657 and patches ends here
> >
> > -%define newlib_version a021448
> > +%define newlib_version fe5886a
> >  %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 \
> > -
> YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
> > +
> w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
> >
> >  %define with_threads 1
> >  %define with_plugin 0
> > diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
&g

Re: [RSB 1/3] 6/7: Update Newlib

2023-10-09 Thread Chris Johns
Ok to all patches in the series. Thanks for newlib changes for ARM, they will be
nice to use.

Chris

On 10/10/2023 3:58 am, Sebastian Huber wrote:
> Pick up latest changes from ARM/optimized-routines.
> 
> Close 4510.
> ---
>  rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
>  rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
>  rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
>  rtems/config/tools/rtems-gcc-13-newlib-head.cfg   | 4 ++--
>  rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
>  5 files changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> index 1cbb301..06524d4 100644
> --- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> @@ -17,12 +17,12 @@
>  %patch add newlib -p1 
> https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
>  %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
> 7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
>  
> -%define newlib_version a021448
> +%define newlib_version fe5886a
>  %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 \
> -  
> YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
> +  
> w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> index 99e2a21..e457b75 100644
> --- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> @@ -20,12 +20,12 @@
>  %patch add newlib -p1 
> https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
>  %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
> 7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
>  
> -%define newlib_version a021448
> +%define newlib_version fe5886a
>  %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 \
> -  
> YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
> +  
> w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> index 04616eb..75dfcb2 100644
> --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> @@ -38,13 +38,13 @@
>  
> KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
>  # Comment above related to #4657 and patches ends here
>  
> -%define newlib_version a021448
> +%define newlib_version fe5886a
>  %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 \
> -  
> YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
> +  
> w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> index 03b99da..7f7e3e2 100644
> --- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
> @@ -8,12 +8,12 @@
>  %hash sha512 %{gcc_expand_name}.tar.gz \
>
> 7uw8yZWdjboqa1k1KPJTsOutVN66EEdrQ+ylaxZCFIwOihRUrct1loZ2Y3LXCYPG9JFso0i+22XEIlx3WMlrTQ==
>  
> -%define newlib_version a021448
> +%define newlib_versi

[RSB 1/3] 6/7: Update Newlib

2023-10-09 Thread Sebastian Huber
Pick up latest changes from ARM/optimized-routines.

Close 4510.
---
 rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-13-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
index 1cbb301..06524d4 100644
--- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
@@ -17,12 +17,12 @@
 %patch add newlib -p1 
https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
 %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
 
-%define newlib_version a021448
+%define newlib_version fe5886a
 %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 \
-  
YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
+  
w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
index 99e2a21..e457b75 100644
--- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
@@ -20,12 +20,12 @@
 %patch add newlib -p1 
https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
 %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
 
-%define newlib_version a021448
+%define newlib_version fe5886a
 %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 \
-  
YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
+  
w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index 04616eb..75dfcb2 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -38,13 +38,13 @@
 
KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
 # Comment above related to #4657 and patches ends here
 
-%define newlib_version a021448
+%define newlib_version fe5886a
 %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 \
-  
YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
+  
w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
index 03b99da..7f7e3e2 100644
--- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -8,12 +8,12 @@
 %hash sha512 %{gcc_expand_name}.tar.gz \
   
7uw8yZWdjboqa1k1KPJTsOutVN66EEdrQ+ylaxZCFIwOihRUrct1loZ2Y3LXCYPG9JFso0i+22XEIlx3WMlrTQ==
 
-%define newlib_version a021448
+%define newlib_version fe5886a
 %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 \
-  
YiC/BsmRpq8XsN1hx4s2Rvcwys/4DRFB3F6vvd+lEMJWXXpt3knXT4BBZkP11bkEcpDFCV9EaOlTT3HA7C3pCg==
+  
w7yxW6iO3ademyF5TTj0pe9zt6WCsYa46+MOY/Rter2loQjJDEnj2AE0YxUhV4fGG+mE/Df3igJH3rzuQYeXwQ==
 
 %patch add newlib -p1 
https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch

[RSB 3/3] 7: Update Binutils, GDB, and GCC

2023-10-09 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development.
---
 rtems/config/tools/rtems-binutils-head.cfg| 4 ++--
 rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gdb-head.cfg | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/rtems/config/tools/rtems-binutils-head.cfg 
b/rtems/config/tools/rtems-binutils-head.cfg
index c5773f4..32468f9 100644
--- a/rtems/config/tools/rtems-binutils-head.cfg
+++ b/rtems/config/tools/rtems-binutils-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define binutils_version 22e69d8
+%define binutils_version 4503c19
 %define binutils_external 1
 %define binutils_expand_name sourceware-mirror-binutils-gdb-%{binutils_version}
 %source set binutils --rsb-file=%{binutils_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version}
 %hash sha512 %{binutils_expand_name}.tar.gz \
-  
wIltd0cHsnI+OOYDMKpy9uie9tfBcXgaaGdee75p2aw+xIGEFatAz4LRh4cHYGDtY+9DQeq16d+kcLXCR0m8Pg==
+  
kGQNTaSTcg8JBryp/eEL6RTnDGDDpGmyqMuOVSMKtqkkbuT+u7zJwI0SORUBLhL0Koly4fPoQJikx4JDVved2w==
 
 %define with_deterministic_archives 1
 %define with_64_bit_bfd 1
diff --git a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
index 8499568..6b7212e 100644
--- a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 4b8878f
+%define gcc_version 86d92c8
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
f5WirlDNok+Gz/0HWrXpwZGJLFPHxcCGEEDLrJI6WxC8V+No4Z+hrorzpRjNGYgnMv175xXJFoIRXoaENhVoJQ==
+  
t+/hcYIVBEMeJqSeZxTLdVFRH0VFnLVlXFcsBUCmCZjA36BQ948zGSxeXjGsuHtRGK/GguOEWhzC5MpCR2umbA==
 
 %define newlib_version fe5886a
 %define newlib_external 1
diff --git a/rtems/config/tools/rtems-gdb-head.cfg 
b/rtems/config/tools/rtems-gdb-head.cfg
index 661c2ba..d399006 100644
--- a/rtems/config/tools/rtems-gdb-head.cfg
+++ b/rtems/config/tools/rtems-gdb-head.cfg
@@ -1,11 +1,11 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gdb_version 22e69d8
+%define gdb_version 4503c19
 %define gdb_external 1
 %define gdb_expand_name sourceware-mirror-binutils-gdb-%{gdb_version}
 %source set gdb --rsb-file=%{gdb_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{gdb_version}
 %hash sha512 %{gdb_expand_name}.tar.gz \
-  
wIltd0cHsnI+OOYDMKpy9uie9tfBcXgaaGdee75p2aw+xIGEFatAz4LRh4cHYGDtY+9DQeq16d+kcLXCR0m8Pg==
+  
kGQNTaSTcg8JBryp/eEL6RTnDGDDpGmyqMuOVSMKtqkkbuT+u7zJwI0SORUBLhL0Koly4fPoQJikx4JDVved2w==
 
 %include %{_configdir}/gdb-8-1.cfg
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB 2/3] 6: Update GCC 10, 12 and 13

2023-10-09 Thread Sebastian Huber
Keep RTEMS up to date with the upstream development.
---
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-13-newlib-head.cfg | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index 75dfcb2..8f3e297 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 506cb58
+%define gcc_version 04a8aca
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
sqGWUDNSJ9ra3nd+XO0a9aUEqYIPUApLv1h7XTQQ4DxHKX2XR/iLGY0PwmwLcyjOPw1tF6OAoPT0/ymDjjTq9w==
+  
63yyozw8YtDuIvwl3PMoRwshF8ubIx6rDahruf46OL6Me9GxJTTQ438I44S1rYoiePjE4ByUhJ48jUHa7b48dA==
 
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch
 %hash sha512 0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch \
diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
index 7f7e3e2..a1e3ee9 100644
--- a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 9aac37a
+%define gcc_version 452a69c
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
7uw8yZWdjboqa1k1KPJTsOutVN66EEdrQ+ylaxZCFIwOihRUrct1loZ2Y3LXCYPG9JFso0i+22XEIlx3WMlrTQ==
+  
0e9/XKGurXTNqwP9ymmqh9IMthlpWlZMqQAcps7CSGycMFKMaFHE1/cKHEX820pHR4DxlTRHHYz39XxycfZEFQ==
 
 %define newlib_version fe5886a
 %define newlib_external 1
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH] rtems/tools: Execute use of shlex.join fix for python < 3.8

2023-08-30 Thread chrisj
From: Chris Johns 

Updates #4951
---
 rtems/config/tools/rtems-tools-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-tools-6.cfg 
b/rtems/config/tools/rtems-tools-6.cfg
index b360f7e..9632d5b 100644
--- a/rtems/config/tools/rtems-tools-6.cfg
+++ b/rtems/config/tools/rtems-tools-6.cfg
@@ -10,14 +10,14 @@
  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
  %define rtems_tools_ext xz
 %else
- %define rtems_tools_version 3ea0c249346fda427bf0d3c169aa3e7c2a521df8
+ %define rtems_tools_version eda9325e583f761c53ee3db83124cc77cb4fefb5
  %define rtems_tools_ext bz2
 %endif
 
 %define rtems_tools_source rtems-tools-%{rtems_tools_version}
 %source set rtems-tools 
https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
 %hash   sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
-   
+wrMxGHJp5cd/hpgoGwTH65IvwZQsAWOb8JNmDZKdFqUbhUuUYq1zK1p5NJnvCUkHudxgDmghAe/5kaFE5DJ4w==
+   
kdrwOv0iUKYjWud2g/9aSnduIniNWnQKry04zwKEiwlKdg1KnMhGu4b0mpQD2PnsYxGha/ksPEnHLPnahQTarg==
 
 #
 # Optionally enable/disable building the RTEMS Tools via the command line.
-- 
2.37.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] rtems/tools: Shell execute fixes

2023-08-28 Thread Joel Sherrill
Looks ok to push

On Mon, Aug 28, 2023, 9:14 PM  wrote:

> From: Chris Johns 
>
> Updates #4951
> ---
>  rtems/config/tools/rtems-tools-6.cfg | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/rtems/config/tools/rtems-tools-6.cfg
> b/rtems/config/tools/rtems-tools-6.cfg
> index 6eed755..b360f7e 100644
> --- a/rtems/config/tools/rtems-tools-6.cfg
> +++ b/rtems/config/tools/rtems-tools-6.cfg
> @@ -10,14 +10,14 @@
>   %define rtems_tools_source rtems-tools-%{rtems_tools_version}
>   %define rtems_tools_ext xz
>  %else
> - %define rtems_tools_version 349bbd96543365e830e5ef5e851765e4b742a8a4
> + %define rtems_tools_version 3ea0c249346fda427bf0d3c169aa3e7c2a521df8
>   %define rtems_tools_ext bz2
>  %endif
>
>  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
>  %source set rtems-tools
> https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
>  %hash   sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
> -
>  
> qb5EC4gWfahYLPliYk+mNRsgzaDuouqiRq6GURb8v0Pk4J6Uo6IiKrB6dPvqVPO+wh9Omb1xCs+86W/+fj8sZg==
> +
>  
> +wrMxGHJp5cd/hpgoGwTH65IvwZQsAWOb8JNmDZKdFqUbhUuUYq1zK1p5NJnvCUkHudxgDmghAe/5kaFE5DJ4w==
>
>  #
>  # Optionally enable/disable building the RTEMS Tools via the command line.
> --
> 2.37.1
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH] rtems/tools: Shell execute fixes

2023-08-28 Thread chrisj
From: Chris Johns 

Updates #4951
---
 rtems/config/tools/rtems-tools-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-tools-6.cfg 
b/rtems/config/tools/rtems-tools-6.cfg
index 6eed755..b360f7e 100644
--- a/rtems/config/tools/rtems-tools-6.cfg
+++ b/rtems/config/tools/rtems-tools-6.cfg
@@ -10,14 +10,14 @@
  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
  %define rtems_tools_ext xz
 %else
- %define rtems_tools_version 349bbd96543365e830e5ef5e851765e4b742a8a4
+ %define rtems_tools_version 3ea0c249346fda427bf0d3c169aa3e7c2a521df8
  %define rtems_tools_ext bz2
 %endif
 
 %define rtems_tools_source rtems-tools-%{rtems_tools_version}
 %source set rtems-tools 
https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
 %hash   sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
-   
qb5EC4gWfahYLPliYk+mNRsgzaDuouqiRq6GURb8v0Pk4J6Uo6IiKrB6dPvqVPO+wh9Omb1xCs+86W/+fj8sZg==
+   
+wrMxGHJp5cd/hpgoGwTH65IvwZQsAWOb8JNmDZKdFqUbhUuUYq1zK1p5NJnvCUkHudxgDmghAe/5kaFE5DJ4w==
 
 #
 # Optionally enable/disable building the RTEMS Tools via the command line.
-- 
2.37.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH] rtems/tools: Pick up the rtems-syms and rtems-test sis changes

2023-08-20 Thread chrisj
From: Chris Johns 

Updates #4920
---
 rtems/config/tools/rtems-tools-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-tools-6.cfg 
b/rtems/config/tools/rtems-tools-6.cfg
index b786a47..6eed755 100644
--- a/rtems/config/tools/rtems-tools-6.cfg
+++ b/rtems/config/tools/rtems-tools-6.cfg
@@ -10,14 +10,14 @@
  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
  %define rtems_tools_ext xz
 %else
- %define rtems_tools_version eaf14a654b528b44de14f9da9919555e54324e0d
+ %define rtems_tools_version 349bbd96543365e830e5ef5e851765e4b742a8a4
  %define rtems_tools_ext bz2
 %endif
 
 %define rtems_tools_source rtems-tools-%{rtems_tools_version}
 %source set rtems-tools 
https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.%{rtems_tools_ext}
 %hash   sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 \
-   
bcjVLITKdjQLKlalfUptMKLAmvDT0FidARukQHP4rK/8SWpYckPAc8BMMRhS3RX+Ga6NDuxD1Ss/bRlxG6qsdg==
+   
qb5EC4gWfahYLPliYk+mNRsgzaDuouqiRq6GURb8v0Pk4J6Uo6IiKrB6dPvqVPO+wh9Omb1xCs+86W/+fj8sZg==
 
 #
 # Optionally enable/disable building the RTEMS Tools via the command line.
-- 
2.37.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB PATCH] rtems/kernel: Update to the current kernel

2023-07-25 Thread chrisj
From: Chris Johns 

- Pick up the Beatnik support for the legacy driver
---
 rtems/config/tools/rtems-kernel-6.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/tools/rtems-kernel-6.cfg 
b/rtems/config/tools/rtems-kernel-6.cfg
index f2174c7..c9c884f 100644
--- a/rtems/config/tools/rtems-kernel-6.cfg
+++ b/rtems/config/tools/rtems-kernel-6.cfg
@@ -2,10 +2,10 @@
 # RTEMS 6
 #
 
-%define rtems_kernel_version a83dc4a469429e29cdd18eddbd1b9fff3f4328d8
+%define rtems_kernel_version c1d9dcbbb2a436256b49d9a0c322c78261509264
 
 %hash sha512 rtems-kernel-%{rtems_kernel_version}.tar.bz2 \
-   
baWt7QkFo2YlzV4pTnnZ8agonhdrWN4Z8yMgV6/vgZs+cRw59xRq69KfWzgqVZDpaA0l3nuiLqNaxqEh2fMXMw==
+   
dH0PgnSQ1k6pTCP/NhIgWzhDjHqFuLI03RBhbjaRFvRs5CUbZIG+x8opTb13czga/cUhOBd9JC7x557FkX0seA==
 #
 # The RTEMS build instructions.
 #
-- 
2.37.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH rtems-source-builder v3] bare/config: add renode rsb installation config

2023-07-20 Thread Chris Johns
OK to push.

Chris

On 21/7/2023 8:05 am, Muhammad Sulthan Mazaya wrote:
> Change file name based on Chris's review here 
> https://lists.rtems.org/pipermail/devel/2023-July/075802.html
> 
> Plus, fix `cp` so that it also include dotfiles. Because without the 
> the `.renode-root` file the command won't work.
> 
> ---
>  bare/config/devel/renode-1.13.3-1.cfg | 11 ++
>  bare/config/devel/renode.bset |  7 
>  source-builder/config/renode-1.cfg|  6 +++
>  source-builder/config/renode-common-1.cfg | 45 +++
>  4 files changed, 69 insertions(+)
>  create mode 100644 bare/config/devel/renode-1.13.3-1.cfg
>  create mode 100644 bare/config/devel/renode.bset
>  create mode 100644 source-builder/config/renode-1.cfg
>  create mode 100644 source-builder/config/renode-common-1.cfg
> 
> diff --git a/bare/config/devel/renode-1.13.3-1.cfg 
> b/bare/config/devel/renode-1.13.3-1.cfg
> new file mode 100644
> index 000..3b0b65f
> --- /dev/null
> +++ b/bare/config/devel/renode-1.13.3-1.cfg
> @@ -0,0 +1,11 @@
> +#
> +# Renode from Github release
> +#
> +
> +%if %{release} == %{nil}
> + %define release 1
> +%endif
> +
> +%define renode_version 1.13.3
> +
> +%include %{_configdir}/renode-1.cfg
> diff --git a/bare/config/devel/renode.bset b/bare/config/devel/renode.bset
> new file mode 100644
> index 000..f89168d
> --- /dev/null
> +++ b/bare/config/devel/renode.bset
> @@ -0,0 +1,7 @@
> +#
> +# Build set for Renode
> +#
> +
> +%define release 1
> +
> +devel/renode-1.13.3-1
> diff --git a/source-builder/config/renode-1.cfg 
> b/source-builder/config/renode-1.cfg
> new file mode 100644
> index 000..b203797
> --- /dev/null
> +++ b/source-builder/config/renode-1.cfg
> @@ -0,0 +1,6 @@
> +#
> +#
> +# This configuration file configure's, make's and install's Renode.
> +#
> +
> +%include %{_configdir}/renode-common-1.cfg
> diff --git a/source-builder/config/renode-common-1.cfg 
> b/source-builder/config/renode-common-1.cfg
> new file mode 100644
> index 000..5c50298
> --- /dev/null
> +++ b/source-builder/config/renode-common-1.cfg
> @@ -0,0 +1,45 @@
> +#
> +# Renode from Github release
> +#
> +
> +%if %{release} == %{nil}
> + %define release 1
> +%endif
> +
> +Name:  renode-%{renode_version}-%{_host}-%{release}
> +Summary:   Renode v%{renode_version}
> +Version:   %{renode_version}
> +Release:   %{release}
> +URL:http://www.renode.io
> +
> +#
> +# Renode source
> +# 
> +%source set renode 
> https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
> +
> +#
> +# Prepare the source code.
> +#
> +%prep
> +  build_top=$(pwd)
> +
> +  source_dir_renode="renode_%{renode_version}_source"
> +  %source setup renode -q -n renode_%{renode_version}_source
> +
> +  cd ${build_top}
> +
> +%build
> +  build_top=$(pwd)
> +
> +  cd ${source_dir_renode}
> +  ./build.sh
> +
> +  cd ${build_top}
> +
> +%install
> +  build_top=$(pwd)
> +
> +  mkdir -p %{_bindir}
> +  cp -r ./${source_dir_renode}/. %{_bindir}
> +
> +  cd ${build_top}
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH rtems-source-builder v3] bare/config: add renode rsb installation config

2023-07-20 Thread Muhammad Sulthan Mazaya
Change file name based on Chris's review here 
https://lists.rtems.org/pipermail/devel/2023-July/075802.html

Plus, fix `cp` so that it also include dotfiles. Because without the 
the `.renode-root` file the command won't work.

---
 bare/config/devel/renode-1.13.3-1.cfg | 11 ++
 bare/config/devel/renode.bset |  7 
 source-builder/config/renode-1.cfg|  6 +++
 source-builder/config/renode-common-1.cfg | 45 +++
 4 files changed, 69 insertions(+)
 create mode 100644 bare/config/devel/renode-1.13.3-1.cfg
 create mode 100644 bare/config/devel/renode.bset
 create mode 100644 source-builder/config/renode-1.cfg
 create mode 100644 source-builder/config/renode-common-1.cfg

diff --git a/bare/config/devel/renode-1.13.3-1.cfg 
b/bare/config/devel/renode-1.13.3-1.cfg
new file mode 100644
index 000..3b0b65f
--- /dev/null
+++ b/bare/config/devel/renode-1.13.3-1.cfg
@@ -0,0 +1,11 @@
+#
+# Renode from Github release
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+%define renode_version 1.13.3
+
+%include %{_configdir}/renode-1.cfg
diff --git a/bare/config/devel/renode.bset b/bare/config/devel/renode.bset
new file mode 100644
index 000..f89168d
--- /dev/null
+++ b/bare/config/devel/renode.bset
@@ -0,0 +1,7 @@
+#
+# Build set for Renode
+#
+
+%define release 1
+
+devel/renode-1.13.3-1
diff --git a/source-builder/config/renode-1.cfg 
b/source-builder/config/renode-1.cfg
new file mode 100644
index 000..b203797
--- /dev/null
+++ b/source-builder/config/renode-1.cfg
@@ -0,0 +1,6 @@
+#
+#
+# This configuration file configure's, make's and install's Renode.
+#
+
+%include %{_configdir}/renode-common-1.cfg
diff --git a/source-builder/config/renode-common-1.cfg 
b/source-builder/config/renode-common-1.cfg
new file mode 100644
index 000..5c50298
--- /dev/null
+++ b/source-builder/config/renode-common-1.cfg
@@ -0,0 +1,45 @@
+#
+# Renode from Github release
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+Name:  renode-%{renode_version}-%{_host}-%{release}
+Summary:   Renode v%{renode_version}
+Version:   %{renode_version}
+Release:   %{release}
+URL:  http://www.renode.io
+
+#
+# Renode source
+# 
+%source set renode 
https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
+
+#
+# Prepare the source code.
+#
+%prep
+  build_top=$(pwd)
+
+  source_dir_renode="renode_%{renode_version}_source"
+  %source setup renode -q -n renode_%{renode_version}_source
+
+  cd ${build_top}
+
+%build
+  build_top=$(pwd)
+
+  cd ${source_dir_renode}
+  ./build.sh
+
+  cd ${build_top}
+
+%install
+  build_top=$(pwd)
+
+  mkdir -p %{_bindir}
+  cp -r ./${source_dir_renode}/. %{_bindir}
+
+  cd ${build_top}
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH RSB] rtems-net-legacy: Update net and waf versions

2023-07-19 Thread Vijay Kumar Banerjee
Thanks. Pushed.

On Wed, Jul 19, 2023 at 8:44 PM Chris Johns  wrote:
>
> Looks good.
>
> Thanks
> Chris
>
> On 20/7/2023 11:17 am, Vijay Kumar Banerjee wrote:
> > ---
> >  rtems/config/tools/rtems-net-legacy-6.cfg | 8 
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg 
> > b/rtems/config/tools/rtems-net-legacy-6.cfg
> > index 9193a58..559ec01 100644
> > --- a/rtems/config/tools/rtems-net-legacy-6.cfg
> > +++ b/rtems/config/tools/rtems-net-legacy-6.cfg
> > @@ -3,10 +3,10 @@
> >  #
> >
> >  #  branch: main
> > -%define rtems_net_version ba35f73d2ddc82d2b9a7b728dc63552be2274968
> > +%define rtems_net_version 3a83bcef4bd62fda5c0f9c94dd649fc32d962ab2
> >  %hash sha512 rtems-net-legacy-%{rtems_net_version}.tar.bz2 \
> > -   
> > EljXAoCCIpFgncarsSR9V/WczB3VO9+VqTsJfrkvOCpwCuO8SWY6GTM46DnvyKBUrmkv0Rk+0TBdOifuYaMMug==
> > -%define rtems_waf_version 2c15b90de5c369aa78cd2252a50bba677e9b13f3
> > +   
> > ANUrgSU3YRAnbEM/9wL5R4LrRCcyDYZz9KbRhTxnNYvUPjrfNgO+bM1qEYtJI6qUxvlKZYkVIkeOKxsAtjj1/A==
> > +%define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
> >  %hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
> > -   
> > gSpj/vTcB9T985HC9xi//gMcYj9rl6AedULvPdFppJ7D1CFIueE+MyfGn+okVtZvnG+tZk1JkR2gvIQNV3mXbQ==
> > +   
> > NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ==
> >  %include tools/rtems-net-legacy-common.cfg
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH RSB] rtems-net-legacy: Update net and waf versions

2023-07-19 Thread Chris Johns
Looks good.

Thanks
Chris

On 20/7/2023 11:17 am, Vijay Kumar Banerjee wrote:
> ---
>  rtems/config/tools/rtems-net-legacy-6.cfg | 8 
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg 
> b/rtems/config/tools/rtems-net-legacy-6.cfg
> index 9193a58..559ec01 100644
> --- a/rtems/config/tools/rtems-net-legacy-6.cfg
> +++ b/rtems/config/tools/rtems-net-legacy-6.cfg
> @@ -3,10 +3,10 @@
>  #
>  
>  #  branch: main
> -%define rtems_net_version ba35f73d2ddc82d2b9a7b728dc63552be2274968
> +%define rtems_net_version 3a83bcef4bd62fda5c0f9c94dd649fc32d962ab2
>  %hash sha512 rtems-net-legacy-%{rtems_net_version}.tar.bz2 \
> -   
> EljXAoCCIpFgncarsSR9V/WczB3VO9+VqTsJfrkvOCpwCuO8SWY6GTM46DnvyKBUrmkv0Rk+0TBdOifuYaMMug==
> -%define rtems_waf_version 2c15b90de5c369aa78cd2252a50bba677e9b13f3
> +   
> ANUrgSU3YRAnbEM/9wL5R4LrRCcyDYZz9KbRhTxnNYvUPjrfNgO+bM1qEYtJI6qUxvlKZYkVIkeOKxsAtjj1/A==
> +%define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
>  %hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
> -   
> gSpj/vTcB9T985HC9xi//gMcYj9rl6AedULvPdFppJ7D1CFIueE+MyfGn+okVtZvnG+tZk1JkR2gvIQNV3mXbQ==
> +   
> NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ==
>  %include tools/rtems-net-legacy-common.cfg
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH RSB] rtems-net-legacy: Update net and waf versions

2023-07-19 Thread Vijay Kumar Banerjee
---
 rtems/config/tools/rtems-net-legacy-6.cfg | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg 
b/rtems/config/tools/rtems-net-legacy-6.cfg
index 9193a58..559ec01 100644
--- a/rtems/config/tools/rtems-net-legacy-6.cfg
+++ b/rtems/config/tools/rtems-net-legacy-6.cfg
@@ -3,10 +3,10 @@
 #
 
 #  branch: main
-%define rtems_net_version ba35f73d2ddc82d2b9a7b728dc63552be2274968
+%define rtems_net_version 3a83bcef4bd62fda5c0f9c94dd649fc32d962ab2
 %hash sha512 rtems-net-legacy-%{rtems_net_version}.tar.bz2 \
-   
EljXAoCCIpFgncarsSR9V/WczB3VO9+VqTsJfrkvOCpwCuO8SWY6GTM46DnvyKBUrmkv0Rk+0TBdOifuYaMMug==
-%define rtems_waf_version 2c15b90de5c369aa78cd2252a50bba677e9b13f3
+   
ANUrgSU3YRAnbEM/9wL5R4LrRCcyDYZz9KbRhTxnNYvUPjrfNgO+bM1qEYtJI6qUxvlKZYkVIkeOKxsAtjj1/A==
+%define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
 %hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
-   
gSpj/vTcB9T985HC9xi//gMcYj9rl6AedULvPdFppJ7D1CFIueE+MyfGn+okVtZvnG+tZk1JkR2gvIQNV3mXbQ==
+   
NAuyFxjfSiQd6VfYZl4fJClywPrLF2fN+GjXHjq3ddceqaBrSeHZ+XpYpU3XTnk2qKICsUSTLV+CskDuWdwqvQ==
 %include tools/rtems-net-legacy-common.cfg
-- 
2.34.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH rtems-source-builder v2] bare/config: add renode rsb installation config

2023-07-17 Thread Chris Johns
On 12/7/2023 6:43 pm, Muhammad Sulthan Mazaya wrote:
> Use the design of how qemu handle config files + add version number to
> the config file name.
> 
> ---
>  bare/config/devel/renode-1.13.3-1.cfg | 11 ++
>  bare/config/devel/renode.bset |  7 
>  source-builder/config/renode-1.13.3.cfg   |  7 
>  source-builder/config/renode-common-1.cfg | 45 +++
>  4 files changed, 70 insertions(+)
>  create mode 100644 bare/config/devel/renode-1.13.3-1.cfg
>  create mode 100644 bare/config/devel/renode.bset
>  create mode 100644 source-builder/config/renode-1.13.3.cfg

What happens if a new dot release comes out? Maybe this should be renode-1.cfg
and we only look at this file again if the major release changes?

Chris

>  create mode 100644 source-builder/config/renode-common-1.cfg
> 
> diff --git a/bare/config/devel/renode-1.13.3-1.cfg 
> b/bare/config/devel/renode-1.13.3-1.cfg
> new file mode 100644
> index 000..ad9b0ad
> --- /dev/null
> +++ b/bare/config/devel/renode-1.13.3-1.cfg
> @@ -0,0 +1,11 @@
> +#
> +# Renode from git
> +#
> +
> +%if %{release} == %{nil}
> + %define release 1
> +%endif
> +
> +%define renode_version 1.13.3
> +
> +%include %{_configdir}/renode-1.13.3.cfg
> diff --git a/bare/config/devel/renode.bset b/bare/config/devel/renode.bset
> new file mode 100644
> index 000..f89168d
> --- /dev/null
> +++ b/bare/config/devel/renode.bset
> @@ -0,0 +1,7 @@
> +#
> +# Build set for Renode
> +#
> +
> +%define release 1
> +
> +devel/renode-1.13.3-1
> diff --git a/source-builder/config/renode-1.13.3.cfg 
> b/source-builder/config/renode-1.13.3.cfg
> new file mode 100644
> index 000..5aff341
> --- /dev/null
> +++ b/source-builder/config/renode-1.13.3.cfg
> @@ -0,0 +1,7 @@
> +#
> +# Renode 1.13.3 Version 1.
> +#
> +# This configuration file configure's, make's and install's Renode.
> +#
> +
> +%include %{_configdir}/renode-common-1.cfg
> diff --git a/source-builder/config/renode-common-1.cfg 
> b/source-builder/config/renode-common-1.cfg
> new file mode 100644
> index 000..65be946
> --- /dev/null
> +++ b/source-builder/config/renode-common-1.cfg
> @@ -0,0 +1,45 @@
> +#
> +# Renode from git
> +#
> +
> +%if %{release} == %{nil}
> + %define release 1
> +%endif
> +
> +Name:  renode-%{renode_version}-%{_host}-%{release}
> +Summary:   Renode v%{renode_version}
> +Version:   %{renode_version}
> +Release:   %{release}
> +URL:http://www.renode.io
> +
> +#
> +# Renode source
> +#
> +%source set renode 
> https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
> +
> +#
> +# Prepare the source code.
> +#
> +%prep
> +  build_top=$(pwd)
> +
> +  source_dir_renode="renode_%{renode_version}_source"
> +  %source setup renode -q -n renode_%{renode_version}_source
> +
> +  cd ${build_top}
> +
> +%build
> +  build_top=$(pwd)
> +
> +  cd ${source_dir_renode}
> +  ./build.sh
> +
> +  cd ${build_top}
> +
> +%install
> +  build_top=$(pwd)
> +
> +  mkdir -p %{_bindir}
> +  cp -r ./${source_dir_renode}/* %{_bindir}
> +
> +  cd ${build_top}
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH rtems-source-builder v2] bare/config: add renode rsb installation config

2023-07-17 Thread Muhammad Sulthan Mazaya
Thanks Gedare,

I will write a blog about it and work on the documentation.

- Mazaya

On Tue, Jul 18, 2023 at 7:28 AM Gedare Bloom  wrote:

> This patch applies cleanly and builds renode for me. Thanks for making
> the changes, this recipe should be much easier to maintain for version
> updates of renode. i will push it if no one complains soon.
>
> We will definitely need some documentation for building this. At the
> least you should start with a blog post, but in general we should find
> a good place for documenting RSB build dependencies. Maybe a new
> section in https://docs.rtems.org/branches/master/user/rsb/index.html
>
> On Ubuntu, in addition to whatever "typical" development tools I
> already have installed, I had to add mono-devel and gtk-sharp2
>
> On Wed, Jul 12, 2023 at 2:43 AM Muhammad Sulthan Mazaya
>  wrote:
> >
> > Use the design of how qemu handle config files + add version number to
> > the config file name.
> >
> > ---
> >  bare/config/devel/renode-1.13.3-1.cfg | 11 ++
> >  bare/config/devel/renode.bset |  7 
> >  source-builder/config/renode-1.13.3.cfg   |  7 
> >  source-builder/config/renode-common-1.cfg | 45 +++
> >  4 files changed, 70 insertions(+)
> >  create mode 100644 bare/config/devel/renode-1.13.3-1.cfg
> >  create mode 100644 bare/config/devel/renode.bset
> >  create mode 100644 source-builder/config/renode-1.13.3.cfg
> >  create mode 100644 source-builder/config/renode-common-1.cfg
> >
> > diff --git a/bare/config/devel/renode-1.13.3-1.cfg
> b/bare/config/devel/renode-1.13.3-1.cfg
> > new file mode 100644
> > index 000..ad9b0ad
> > --- /dev/null
> > +++ b/bare/config/devel/renode-1.13.3-1.cfg
> > @@ -0,0 +1,11 @@
> > +#
> > +# Renode from git
> > +#
> > +
> > +%if %{release} == %{nil}
> > + %define release 1
> > +%endif
> > +
> > +%define renode_version 1.13.3
> > +
> > +%include %{_configdir}/renode-1.13.3.cfg
> > diff --git a/bare/config/devel/renode.bset
> b/bare/config/devel/renode.bset
> > new file mode 100644
> > index 000..f89168d
> > --- /dev/null
> > +++ b/bare/config/devel/renode.bset
> > @@ -0,0 +1,7 @@
> > +#
> > +# Build set for Renode
> > +#
> > +
> > +%define release 1
> > +
> > +devel/renode-1.13.3-1
> > diff --git a/source-builder/config/renode-1.13.3.cfg
> b/source-builder/config/renode-1.13.3.cfg
> > new file mode 100644
> > index 000..5aff341
> > --- /dev/null
> > +++ b/source-builder/config/renode-1.13.3.cfg
> > @@ -0,0 +1,7 @@
> > +#
> > +# Renode 1.13.3 Version 1.
> > +#
> > +# This configuration file configure's, make's and install's Renode.
> > +#
> > +
> > +%include %{_configdir}/renode-common-1.cfg
> > diff --git a/source-builder/config/renode-common-1.cfg
> b/source-builder/config/renode-common-1.cfg
> > new file mode 100644
> > index 000..65be946
> > --- /dev/null
> > +++ b/source-builder/config/renode-common-1.cfg
> > @@ -0,0 +1,45 @@
> > +#
> > +# Renode from git
> > +#
> > +
> > +%if %{release} == %{nil}
> > + %define release 1
> > +%endif
> > +
> > +Name:  renode-%{renode_version}-%{_host}-%{release}
> > +Summary:   Renode v%{renode_version}
> > +Version:   %{renode_version}
> > +Release:   %{release}
> > +URL:  http://www.renode.io
> > +
> > +#
> > +# Renode source
> > +#
> > +%source set renode
> https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
> > +
> > +#
> > +# Prepare the source code.
> > +#
> > +%prep
> > +  build_top=$(pwd)
> > +
> > +  source_dir_renode="renode_%{renode_version}_source"
> > +  %source setup renode -q -n renode_%{renode_version}_source
> > +
> > +  cd ${build_top}
> > +
> > +%build
> > +  build_top=$(pwd)
> > +
> > +  cd ${source_dir_renode}
> > +  ./build.sh
> > +
> > +  cd ${build_top}
> > +
> > +%install
> > +  build_top=$(pwd)
> > +
> > +  mkdir -p %{_bindir}
> > +  cp -r ./${source_dir_renode}/* %{_bindir}
> > +
> > +  cd ${build_top}
> > --
> > 2.34.1
> >
> > ___
> > devel mailing list
> > devel@rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-source-builder v2] bare/config: add renode rsb installation config

2023-07-17 Thread Gedare Bloom
This patch applies cleanly and builds renode for me. Thanks for making
the changes, this recipe should be much easier to maintain for version
updates of renode. i will push it if no one complains soon.

We will definitely need some documentation for building this. At the
least you should start with a blog post, but in general we should find
a good place for documenting RSB build dependencies. Maybe a new
section in https://docs.rtems.org/branches/master/user/rsb/index.html

On Ubuntu, in addition to whatever "typical" development tools I
already have installed, I had to add mono-devel and gtk-sharp2

On Wed, Jul 12, 2023 at 2:43 AM Muhammad Sulthan Mazaya
 wrote:
>
> Use the design of how qemu handle config files + add version number to
> the config file name.
>
> ---
>  bare/config/devel/renode-1.13.3-1.cfg | 11 ++
>  bare/config/devel/renode.bset |  7 
>  source-builder/config/renode-1.13.3.cfg   |  7 
>  source-builder/config/renode-common-1.cfg | 45 +++
>  4 files changed, 70 insertions(+)
>  create mode 100644 bare/config/devel/renode-1.13.3-1.cfg
>  create mode 100644 bare/config/devel/renode.bset
>  create mode 100644 source-builder/config/renode-1.13.3.cfg
>  create mode 100644 source-builder/config/renode-common-1.cfg
>
> diff --git a/bare/config/devel/renode-1.13.3-1.cfg 
> b/bare/config/devel/renode-1.13.3-1.cfg
> new file mode 100644
> index 000..ad9b0ad
> --- /dev/null
> +++ b/bare/config/devel/renode-1.13.3-1.cfg
> @@ -0,0 +1,11 @@
> +#
> +# Renode from git
> +#
> +
> +%if %{release} == %{nil}
> + %define release 1
> +%endif
> +
> +%define renode_version 1.13.3
> +
> +%include %{_configdir}/renode-1.13.3.cfg
> diff --git a/bare/config/devel/renode.bset b/bare/config/devel/renode.bset
> new file mode 100644
> index 000..f89168d
> --- /dev/null
> +++ b/bare/config/devel/renode.bset
> @@ -0,0 +1,7 @@
> +#
> +# Build set for Renode
> +#
> +
> +%define release 1
> +
> +devel/renode-1.13.3-1
> diff --git a/source-builder/config/renode-1.13.3.cfg 
> b/source-builder/config/renode-1.13.3.cfg
> new file mode 100644
> index 000..5aff341
> --- /dev/null
> +++ b/source-builder/config/renode-1.13.3.cfg
> @@ -0,0 +1,7 @@
> +#
> +# Renode 1.13.3 Version 1.
> +#
> +# This configuration file configure's, make's and install's Renode.
> +#
> +
> +%include %{_configdir}/renode-common-1.cfg
> diff --git a/source-builder/config/renode-common-1.cfg 
> b/source-builder/config/renode-common-1.cfg
> new file mode 100644
> index 000..65be946
> --- /dev/null
> +++ b/source-builder/config/renode-common-1.cfg
> @@ -0,0 +1,45 @@
> +#
> +# Renode from git
> +#
> +
> +%if %{release} == %{nil}
> + %define release 1
> +%endif
> +
> +Name:  renode-%{renode_version}-%{_host}-%{release}
> +Summary:   Renode v%{renode_version}
> +Version:   %{renode_version}
> +Release:   %{release}
> +URL:  http://www.renode.io
> +
> +#
> +# Renode source
> +#
> +%source set renode 
> https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
> +
> +#
> +# Prepare the source code.
> +#
> +%prep
> +  build_top=$(pwd)
> +
> +  source_dir_renode="renode_%{renode_version}_source"
> +  %source setup renode -q -n renode_%{renode_version}_source
> +
> +  cd ${build_top}
> +
> +%build
> +  build_top=$(pwd)
> +
> +  cd ${source_dir_renode}
> +  ./build.sh
> +
> +  cd ${build_top}
> +
> +%install
> +  build_top=$(pwd)
> +
> +  mkdir -p %{_bindir}
> +  cp -r ./${source_dir_renode}/* %{_bindir}
> +
> +  cd ${build_top}
> --
> 2.34.1
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-source-builder] bare/config: add renode rsb installation config

2023-07-12 Thread Joel Sherrill
On Tue, Jul 11, 2023 at 1:01 PM Gedare Bloom  wrote:

> This probably requires some documentation, as it requires several
> packages that are not going to be typically installed already by RTEMS
> users/developers. Chris, is there any place to document required
> dependencies/packages for a build set?
>

The Users Guide obviously does the base set required commonly
but a section on Requirements for Renode.io would probably be the
right way to go.

Also sb-check checks for program executables being present. I don't know
if we have any way to say program X is used by Y. For example, the newer
qemu versions use some other build program that I didn't have installed and
can't remember right now.

--joel


>
> The patch has a whitespace problem
>
> +# Renode source
> +#
>  It might be a non-ASCII character, as it gets eaten by email but is
> in the patch file.
>
> Gedare
>
> On Mon, Jul 10, 2023 at 5:13 AM Muhammad Sulthan Mazaya
>  wrote:
> >
> > An implementation of renode rsb installation config. It uses renode's
> > github release as source and build the package using their build script.
> >
> > ---
> >  bare/config/devel/renode-git-1.cfg | 47 ++
> >  bare/config/devel/renode.bset  |  9 ++
> >  2 files changed, 56 insertions(+)
> >  create mode 100644 bare/config/devel/renode-git-1.cfg
> >  create mode 100644 bare/config/devel/renode.bset
> >
> > diff --git a/bare/config/devel/renode-git-1.cfg
> b/bare/config/devel/renode-git-1.cfg
> > new file mode 100644
> > index 000..df424a6
> > --- /dev/null
> > +++ b/bare/config/devel/renode-git-1.cfg
> > @@ -0,0 +1,47 @@
> > +#
> > +# Renode from github
> > +#
> > +
> > +%if %{release} == %{nil}
> > + %define release 1
> > +%endif
> > +
> > +%define renode_version 1.13.3
> > +
> > +Name:  renode-%{renode_version}-%{_host}-%{release}
> > +Summary:   Renode v%{renode_version}
> > +Version:   %{renode_version}
> > +Release:   %{release}
> > +URL:  http://www.renode.io
> > +
> > +#
> > +# Renode source
> > +#
> > +%source set renode
> https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
> > +
> > +#
> > +# Prepare the source code.
> > +#
> > +%prep
> > +  build_top=$(pwd)
> > +
> > +  source_dir_renode="renode_%{renode_version}_source"
> > +  %source setup renode -q -n renode_%{renode_version}_source
> > +
> > +  cd ${build_top}
> > +
> > +%build
> > +  build_top=$(pwd)
> > +
> > +  cd ${source_dir_renode}
> > +  ./build.sh
> > +
> > +  cd ${build_top}
> > +
> > +%install
> > +  build_top=$(pwd)
> > +
> > +  mkdir -p %{_bindir}
> > +  cp -r ./${source_dir_renode}/* %{_bindir}
> > +
> > +  cd ${build_top}
> > diff --git a/bare/config/devel/renode.bset
> b/bare/config/devel/renode.bset
> > new file mode 100644
> > index 000..d64a2a2
> > --- /dev/null
> > +++ b/bare/config/devel/renode.bset
> > @@ -0,0 +1,9 @@
> > +#
> > +# Build set for Renode
> > +#
> > +
> > +%if %{release} == %{nil}
> > +%define release 1
> > +%endif
> > +
> > +devel/renode-git-1
> > --
> > 2.34.1
> >
> > ___
> > devel mailing list
> > devel@rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[PATCH rtems-source-builder v2] bare/config: add renode rsb installation config

2023-07-12 Thread Muhammad Sulthan Mazaya
Use the design of how qemu handle config files + add version number to
the config file name.

---
 bare/config/devel/renode-1.13.3-1.cfg | 11 ++
 bare/config/devel/renode.bset |  7 
 source-builder/config/renode-1.13.3.cfg   |  7 
 source-builder/config/renode-common-1.cfg | 45 +++
 4 files changed, 70 insertions(+)
 create mode 100644 bare/config/devel/renode-1.13.3-1.cfg
 create mode 100644 bare/config/devel/renode.bset
 create mode 100644 source-builder/config/renode-1.13.3.cfg
 create mode 100644 source-builder/config/renode-common-1.cfg

diff --git a/bare/config/devel/renode-1.13.3-1.cfg 
b/bare/config/devel/renode-1.13.3-1.cfg
new file mode 100644
index 000..ad9b0ad
--- /dev/null
+++ b/bare/config/devel/renode-1.13.3-1.cfg
@@ -0,0 +1,11 @@
+#
+# Renode from git
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+%define renode_version 1.13.3
+
+%include %{_configdir}/renode-1.13.3.cfg
diff --git a/bare/config/devel/renode.bset b/bare/config/devel/renode.bset
new file mode 100644
index 000..f89168d
--- /dev/null
+++ b/bare/config/devel/renode.bset
@@ -0,0 +1,7 @@
+#
+# Build set for Renode
+#
+
+%define release 1
+
+devel/renode-1.13.3-1
diff --git a/source-builder/config/renode-1.13.3.cfg 
b/source-builder/config/renode-1.13.3.cfg
new file mode 100644
index 000..5aff341
--- /dev/null
+++ b/source-builder/config/renode-1.13.3.cfg
@@ -0,0 +1,7 @@
+#
+# Renode 1.13.3 Version 1.
+#
+# This configuration file configure's, make's and install's Renode.
+#
+
+%include %{_configdir}/renode-common-1.cfg
diff --git a/source-builder/config/renode-common-1.cfg 
b/source-builder/config/renode-common-1.cfg
new file mode 100644
index 000..65be946
--- /dev/null
+++ b/source-builder/config/renode-common-1.cfg
@@ -0,0 +1,45 @@
+#
+# Renode from git
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+Name:  renode-%{renode_version}-%{_host}-%{release}
+Summary:   Renode v%{renode_version}
+Version:   %{renode_version}
+Release:   %{release}
+URL:  http://www.renode.io
+
+#
+# Renode source
+#
+%source set renode 
https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
+
+#
+# Prepare the source code.
+#
+%prep
+  build_top=$(pwd)
+
+  source_dir_renode="renode_%{renode_version}_source"
+  %source setup renode -q -n renode_%{renode_version}_source
+
+  cd ${build_top}
+
+%build
+  build_top=$(pwd)
+
+  cd ${source_dir_renode}
+  ./build.sh
+
+  cd ${build_top}
+
+%install
+  build_top=$(pwd)
+
+  mkdir -p %{_bindir}
+  cp -r ./${source_dir_renode}/* %{_bindir}
+
+  cd ${build_top}
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH rtems-source-builder] bare/config: add renode rsb installation config

2023-07-11 Thread Muhammad Sulthan Mazaya
>
> Probably want to put most of this file into
> ./source-builder/config/renode-common-1.cfg
> and set parameters for it (version) from a new file
> ./bare/config/devel/renode-1.13.3-1.cfg


okay, I will revise this, thanks for the suggestion

 > > +  ./build.sh
> This looks brittle. Does their script handle host detection, etc?


The script does handle host detection, etc:
https://github.com/renode/renode/blob/master/build.sh#L212

 > > +++ b/bare/config/devel/renode.bset
> Add the version to the build set name and pass that through to the
> build instructions.

 > > +devel/renode-git-1
> the "-git" name is usually used to build the git head or a specific commit.
> SInce you build a release version, you should prefer to use the
> version numbering to identify what gets built.


I will revise this, thanks

On Wed, Jul 12, 2023 at 4:17 AM Gedare Bloom  wrote:

> On Tue, Jul 11, 2023 at 12:01 PM Gedare Bloom  wrote:
> >
> > This probably requires some documentation, as it requires several
> > packages that are not going to be typically installed already by RTEMS
> > users/developers. Chris, is there any place to document required
> > dependencies/packages for a build set?
> >
> > The patch has a whitespace problem
> >
> > +# Renode source
> > +#
> >  It might be a non-ASCII character, as it gets eaten by email but is
> > in the patch file.
> >
> > Gedare
> >
> > On Mon, Jul 10, 2023 at 5:13 AM Muhammad Sulthan Mazaya
> >  wrote:
> > >
> > > An implementation of renode rsb installation config. It uses renode's
> > > github release as source and build the package using their build
> script.
> > >
> > > ---
> > >  bare/config/devel/renode-git-1.cfg | 47 ++
> > >  bare/config/devel/renode.bset  |  9 ++
> > >  2 files changed, 56 insertions(+)
> > >  create mode 100644 bare/config/devel/renode-git-1.cfg
> > >  create mode 100644 bare/config/devel/renode.bset
> > >
> > > diff --git a/bare/config/devel/renode-git-1.cfg
> b/bare/config/devel/renode-git-1.cfg
> > > new file mode 100644
> > > index 000..df424a6
> > > --- /dev/null
> > > +++ b/bare/config/devel/renode-git-1.cfg
> Probably want to put most of this file into
> ./source-builder/config/renode-common-1.cfg
> and set parameters for it (version) from a new file
> ./bare/config/devel/renode-1.13.3-1.cfg
>
> I would recommend that you follow the design for how qemu gets built.
>
> > > @@ -0,0 +1,47 @@
> > > +#
> > > +# Renode from github
> > > +#
> > > +
> > > +%if %{release} == %{nil}
> > > + %define release 1
> > > +%endif
> > > +
> > > +%define renode_version 1.13.3
> > > +
> > > +Name:  renode-%{renode_version}-%{_host}-%{release}
> > > +Summary:   Renode v%{renode_version}
> > > +Version:   %{renode_version}
> > > +Release:   %{release}
> > > +URL:  http://www.renode.io
> > > +
> > > +#
> > > +# Renode source
> > > +#
> > > +%source set renode
> https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
> > > +
> > > +#
> > > +# Prepare the source code.
> > > +#
> > > +%prep
> > > +  build_top=$(pwd)
> > > +
> > > +  source_dir_renode="renode_%{renode_version}_source"
> > > +  %source setup renode -q -n renode_%{renode_version}_source
> > > +
> > > +  cd ${build_top}
> > > +
> > > +%build
> > > +  build_top=$(pwd)
> > > +
> > > +  cd ${source_dir_renode}
> > > +  ./build.sh
> This looks brittle. Does their script handle host detection, etc?
>
> > > +
> > > +  cd ${build_top}
> > > +
> > > +%install
> > > +  build_top=$(pwd)
> > > +
> > > +  mkdir -p %{_bindir}
> > > +  cp -r ./${source_dir_renode}/* %{_bindir}
> > > +
> > > +  cd ${build_top}
> > > diff --git a/bare/config/devel/renode.bset
> b/bare/config/devel/renode.bset
> > > new file mode 100644
> > > index 000..d64a2a2
> > > --- /dev/null
> > > +++ b/bare/config/devel/renode.bset
> Add the version to the build set name and pass that through to the
> build instructions.
>
> > > @@ -0,0 +1,9 @@
> > > +#
> > > +# Build set for Renode
> > > +#
> > > +
> > > +%if %{release} == %{nil}
> > > +%define release 1
> > > +%endif
> > > +
> > > +devel/renode-git-1
> the "-git" name is usually used to build the git head or a specific commit.
> SInce you build a release version, you should prefer to use the
> version numbering to identify what gets built.
>
> > > --
> > > 2.34.1
> > >
> > > ___
> > > devel mailing list
> > > devel@rtems.org
> > > http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-source-builder] bare/config: add renode rsb installation config

2023-07-11 Thread Gedare Bloom
On Tue, Jul 11, 2023 at 12:01 PM Gedare Bloom  wrote:
>
> This probably requires some documentation, as it requires several
> packages that are not going to be typically installed already by RTEMS
> users/developers. Chris, is there any place to document required
> dependencies/packages for a build set?
>
> The patch has a whitespace problem
>
> +# Renode source
> +#
>  It might be a non-ASCII character, as it gets eaten by email but is
> in the patch file.
>
> Gedare
>
> On Mon, Jul 10, 2023 at 5:13 AM Muhammad Sulthan Mazaya
>  wrote:
> >
> > An implementation of renode rsb installation config. It uses renode's
> > github release as source and build the package using their build script.
> >
> > ---
> >  bare/config/devel/renode-git-1.cfg | 47 ++
> >  bare/config/devel/renode.bset  |  9 ++
> >  2 files changed, 56 insertions(+)
> >  create mode 100644 bare/config/devel/renode-git-1.cfg
> >  create mode 100644 bare/config/devel/renode.bset
> >
> > diff --git a/bare/config/devel/renode-git-1.cfg 
> > b/bare/config/devel/renode-git-1.cfg
> > new file mode 100644
> > index 000..df424a6
> > --- /dev/null
> > +++ b/bare/config/devel/renode-git-1.cfg
Probably want to put most of this file into
./source-builder/config/renode-common-1.cfg
and set parameters for it (version) from a new file
./bare/config/devel/renode-1.13.3-1.cfg

I would recommend that you follow the design for how qemu gets built.

> > @@ -0,0 +1,47 @@
> > +#
> > +# Renode from github
> > +#
> > +
> > +%if %{release} == %{nil}
> > + %define release 1
> > +%endif
> > +
> > +%define renode_version 1.13.3
> > +
> > +Name:  renode-%{renode_version}-%{_host}-%{release}
> > +Summary:   Renode v%{renode_version}
> > +Version:   %{renode_version}
> > +Release:   %{release}
> > +URL:  http://www.renode.io
> > +
> > +#
> > +# Renode source
> > +#
> > +%source set renode 
> > https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
> > +
> > +#
> > +# Prepare the source code.
> > +#
> > +%prep
> > +  build_top=$(pwd)
> > +
> > +  source_dir_renode="renode_%{renode_version}_source"
> > +  %source setup renode -q -n renode_%{renode_version}_source
> > +
> > +  cd ${build_top}
> > +
> > +%build
> > +  build_top=$(pwd)
> > +
> > +  cd ${source_dir_renode}
> > +  ./build.sh
This looks brittle. Does their script handle host detection, etc?

> > +
> > +  cd ${build_top}
> > +
> > +%install
> > +  build_top=$(pwd)
> > +
> > +  mkdir -p %{_bindir}
> > +  cp -r ./${source_dir_renode}/* %{_bindir}
> > +
> > +  cd ${build_top}
> > diff --git a/bare/config/devel/renode.bset b/bare/config/devel/renode.bset
> > new file mode 100644
> > index 000..d64a2a2
> > --- /dev/null
> > +++ b/bare/config/devel/renode.bset
Add the version to the build set name and pass that through to the
build instructions.

> > @@ -0,0 +1,9 @@
> > +#
> > +# Build set for Renode
> > +#
> > +
> > +%if %{release} == %{nil}
> > +%define release 1
> > +%endif
> > +
> > +devel/renode-git-1
the "-git" name is usually used to build the git head or a specific commit.
SInce you build a release version, you should prefer to use the
version numbering to identify what gets built.

> > --
> > 2.34.1
> >
> > ___
> > devel mailing list
> > devel@rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-source-builder] bare/config: add renode rsb installation config

2023-07-11 Thread Gedare Bloom
This probably requires some documentation, as it requires several
packages that are not going to be typically installed already by RTEMS
users/developers. Chris, is there any place to document required
dependencies/packages for a build set?

The patch has a whitespace problem

+# Renode source
+#
 It might be a non-ASCII character, as it gets eaten by email but is
in the patch file.

Gedare

On Mon, Jul 10, 2023 at 5:13 AM Muhammad Sulthan Mazaya
 wrote:
>
> An implementation of renode rsb installation config. It uses renode's
> github release as source and build the package using their build script.
>
> ---
>  bare/config/devel/renode-git-1.cfg | 47 ++
>  bare/config/devel/renode.bset  |  9 ++
>  2 files changed, 56 insertions(+)
>  create mode 100644 bare/config/devel/renode-git-1.cfg
>  create mode 100644 bare/config/devel/renode.bset
>
> diff --git a/bare/config/devel/renode-git-1.cfg 
> b/bare/config/devel/renode-git-1.cfg
> new file mode 100644
> index 000..df424a6
> --- /dev/null
> +++ b/bare/config/devel/renode-git-1.cfg
> @@ -0,0 +1,47 @@
> +#
> +# Renode from github
> +#
> +
> +%if %{release} == %{nil}
> + %define release 1
> +%endif
> +
> +%define renode_version 1.13.3
> +
> +Name:  renode-%{renode_version}-%{_host}-%{release}
> +Summary:   Renode v%{renode_version}
> +Version:   %{renode_version}
> +Release:   %{release}
> +URL:  http://www.renode.io
> +
> +#
> +# Renode source
> +#
> +%source set renode 
> https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
> +
> +#
> +# Prepare the source code.
> +#
> +%prep
> +  build_top=$(pwd)
> +
> +  source_dir_renode="renode_%{renode_version}_source"
> +  %source setup renode -q -n renode_%{renode_version}_source
> +
> +  cd ${build_top}
> +
> +%build
> +  build_top=$(pwd)
> +
> +  cd ${source_dir_renode}
> +  ./build.sh
> +
> +  cd ${build_top}
> +
> +%install
> +  build_top=$(pwd)
> +
> +  mkdir -p %{_bindir}
> +  cp -r ./${source_dir_renode}/* %{_bindir}
> +
> +  cd ${build_top}
> diff --git a/bare/config/devel/renode.bset b/bare/config/devel/renode.bset
> new file mode 100644
> index 000..d64a2a2
> --- /dev/null
> +++ b/bare/config/devel/renode.bset
> @@ -0,0 +1,9 @@
> +#
> +# Build set for Renode
> +#
> +
> +%if %{release} == %{nil}
> +%define release 1
> +%endif
> +
> +devel/renode-git-1
> --
> 2.34.1
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[PATCH rtems-source-builder] bare/config: add renode rsb installation config

2023-07-10 Thread Muhammad Sulthan Mazaya
An implementation of renode rsb installation config. It uses renode's
github release as source and build the package using their build script.

---
 bare/config/devel/renode-git-1.cfg | 47 ++
 bare/config/devel/renode.bset  |  9 ++
 2 files changed, 56 insertions(+)
 create mode 100644 bare/config/devel/renode-git-1.cfg
 create mode 100644 bare/config/devel/renode.bset

diff --git a/bare/config/devel/renode-git-1.cfg 
b/bare/config/devel/renode-git-1.cfg
new file mode 100644
index 000..df424a6
--- /dev/null
+++ b/bare/config/devel/renode-git-1.cfg
@@ -0,0 +1,47 @@
+#
+# Renode from github
+#
+
+%if %{release} == %{nil}
+ %define release 1
+%endif
+
+%define renode_version 1.13.3
+
+Name:  renode-%{renode_version}-%{_host}-%{release}
+Summary:   Renode v%{renode_version}
+Version:   %{renode_version}
+Release:   %{release}
+URL:  http://www.renode.io
+
+#
+# Renode source
+# 
+%source set renode 
https://github.com/renode/renode/releases/download/v%{renode_version}/renode_%{renode_version}_source.tar.xz
+
+#
+# Prepare the source code.
+#
+%prep
+  build_top=$(pwd)
+
+  source_dir_renode="renode_%{renode_version}_source"
+  %source setup renode -q -n renode_%{renode_version}_source
+
+  cd ${build_top}
+
+%build
+  build_top=$(pwd)
+
+  cd ${source_dir_renode}
+  ./build.sh
+
+  cd ${build_top}
+
+%install
+  build_top=$(pwd)
+
+  mkdir -p %{_bindir}
+  cp -r ./${source_dir_renode}/* %{_bindir}
+
+  cd ${build_top}
diff --git a/bare/config/devel/renode.bset b/bare/config/devel/renode.bset
new file mode 100644
index 000..d64a2a2
--- /dev/null
+++ b/bare/config/devel/renode.bset
@@ -0,0 +1,9 @@
+#
+# Build set for Renode
+#
+
+%if %{release} == %{nil}
+%define release 1
+%endif
+
+devel/renode-git-1
-- 
2.34.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB 2/4] 6: Update GCC 10 and 12

2023-07-02 Thread Chris Johns
On 30/6/2023 4:20 pm, Sebastian Huber wrote:
> On 29.06.23 02:20, Chris Johns wrote:
>> On 28/6/2023 3:33 pm, Sebastian Huber wrote:
>>> On 28.06.23 04:37, Chris Johns wrote:
>>>> Can you please provide something other than update in the commit message?
>>>>
>>>> If it is to pick up patches on these gcc release branches then please say 
>>>> so.
>>>
>>> This update has no particular reason. I just had a bit of time to run my 
>>> update
>>> script. Ideally there would be an automatic update process in place. If you
>>> don't want to follow the upstream release branches, then please say so. 
>>> However,
>>> this work helps to identify RTEMS related issues in the upstream 
>>> development.
>>> Working tools for RTEMS need maintenance. It is not that release versions 
>>> of GCC
>>> magically work on RTEMS.
>>
>> This sounds great. Would it be possible to add a simple comment in the commit
>> message this is a housekeeping update to the latest? It makes it easier
>> reviewing the commit log to understand changes of interest verses such as 
>> things
>> we need or make in newlib verses housekeeping.
> 
> Ok, makes sense. I added this sentence:
> 
> Keep RTEMS up to date with the upstream development.
> 

Perfect and appreciated. It is now easier to review and accept a change like 
this.

>>>> Are these versions of the compiler tracking tarfile packages?
>>>
>>> No, the configurations track the release branches.
>>>
>>
>> For newlib this makes sense during development and releases because of 
>> newlib's
>> long release period. It also works for binutils, gcc and gdb when we are in
>> development however I am not sure it does with releases. Should we look to
>> tarfiles for releases for the binutils, gcc and gdb tools?
> 
> For RTEMS releases it makes sense to use upstream releases for the tools with 
> as
> few patches as possible.

Great. How do we make the move? I am happy to update the RSB if I am given the
details or instructions. I feel you are the best person to know when so if you
think it is OK to change does it work if you create a ticket with the links to
the sources then assign it to me?

Thanks
Chris

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB 2/4] 6: Update GCC 10 and 12

2023-06-30 Thread Sebastian Huber



On 29.06.23 02:20, Chris Johns wrote:

On 28/6/2023 3:33 pm, Sebastian Huber wrote:

On 28.06.23 04:37, Chris Johns wrote:

Can you please provide something other than update in the commit message?

If it is to pick up patches on these gcc release branches then please say so.


This update has no particular reason. I just had a bit of time to run my update
script. Ideally there would be an automatic update process in place. If you
don't want to follow the upstream release branches, then please say so. However,
this work helps to identify RTEMS related issues in the upstream development.
Working tools for RTEMS need maintenance. It is not that release versions of GCC
magically work on RTEMS.


This sounds great. Would it be possible to add a simple comment in the commit
message this is a housekeeping update to the latest? It makes it easier
reviewing the commit log to understand changes of interest verses such as things
we need or make in newlib verses housekeeping.


Ok, makes sense. I added this sentence:

Keep RTEMS up to date with the upstream development.





Are these versions of the compiler tracking tarfile packages?


No, the configurations track the release branches.



For newlib this makes sense during development and releases because of newlib's
long release period. It also works for binutils, gcc and gdb when we are in
development however I am not sure it does with releases. Should we look to
tarfiles for releases for the binutils, gcc and gdb tools?


For RTEMS releases it makes sense to use upstream releases for the tools 
with as few patches as possible.


--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB 2/4] 6: Update GCC 10 and 12

2023-06-28 Thread Chris Johns
On 28/6/2023 3:33 pm, Sebastian Huber wrote:
> On 28.06.23 04:37, Chris Johns wrote:
>> Can you please provide something other than update in the commit message?
>>
>> If it is to pick up patches on these gcc release branches then please say so.
> 
> This update has no particular reason. I just had a bit of time to run my 
> update
> script. Ideally there would be an automatic update process in place. If you
> don't want to follow the upstream release branches, then please say so. 
> However,
> this work helps to identify RTEMS related issues in the upstream development.
> Working tools for RTEMS need maintenance. It is not that release versions of 
> GCC
> magically work on RTEMS.

This sounds great. Would it be possible to add a simple comment in the commit
message this is a housekeeping update to the latest? It makes it easier
reviewing the commit log to understand changes of interest verses such as things
we need or make in newlib verses housekeeping.

>>
>> Are these versions of the compiler tracking tarfile packages?
> 
> No, the configurations track the release branches.
> 

For newlib this makes sense during development and releases because of newlib's
long release period. It also works for binutils, gcc and gdb when we are in
development however I am not sure it does with releases. Should we look to
tarfiles for releases for the binutils, gcc and gdb tools?

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB 1/4] 6/7: Update Newlib

2023-06-27 Thread Sebastian Huber

Hello Chris,

On 28.06.23 04:39, Chris Johns wrote:

What has changed in this version? Is there anything specific we need to know
about or need?


this update has no specific reason.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB 2/4] 6: Update GCC 10 and 12

2023-06-27 Thread Sebastian Huber

On 28.06.23 04:37, Chris Johns wrote:

Can you please provide something other than update in the commit message?

If it is to pick up patches on these gcc release branches then please say so.


This update has no particular reason. I just had a bit of time to run my 
update script. Ideally there would be an automatic update process in 
place. If you don't want to follow the upstream release branches, then 
please say so. However, this work helps to identify RTEMS related issues 
in the upstream development. Working tools for RTEMS need maintenance. 
It is not that release versions of GCC magically work on RTEMS.




Are these versions of the compiler tracking tarfile packages?


No, the configurations track the release branches.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB 1/4] 6/7: Update Newlib

2023-06-27 Thread Chris Johns
Hi,

What has changed in this version? Is there anything specific we need to know
about or need?

Thanks
Chris

On 27/6/2023 8:21 pm, Sebastian Huber wrote:
> ---
>  rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
>  rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
>  rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
>  rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
>  4 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> index 39b97a5..870c06f 100644
> --- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> @@ -17,12 +17,12 @@
>  %patch add newlib -p1 
> https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
>  %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
> 7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
>  
> -%define newlib_version 9ae9eef
> +%define newlib_version 4c7d0df
>  %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 \
> -  
> fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==
> +  
> tA7iXyG/UwRDYmGIMd1iS5IjvM5+lL2E8l6ez+xi8vr9BBupECuWwoq1vzlIy4Uj7+dEzLKuepassKx9M4H21A==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> index 84b5223..0eff966 100644
> --- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
> @@ -20,12 +20,12 @@
>  %patch add newlib -p1 
> https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
>  %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
> 7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
>  
> -%define newlib_version 9ae9eef
> +%define newlib_version 4c7d0df
>  %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 \
> -  
> fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==
> +  
> tA7iXyG/UwRDYmGIMd1iS5IjvM5+lL2E8l6ez+xi8vr9BBupECuWwoq1vzlIy4Uj7+dEzLKuepassKx9M4H21A==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> index f4c47d4..2277b01 100644
> --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> @@ -38,13 +38,13 @@
>  
> KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
>  # Comment above related to #4657 and patches ends here
>  
> -%define newlib_version 9ae9eef
> +%define newlib_version 4c7d0df
>  %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 \
> -  
> fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==
> +  
> tA7iXyG/UwRDYmGIMd1iS5IjvM5+lL2E8l6ez+xi8vr9BBupECuWwoq1vzlIy4Uj7+dEzLKuepassKx9M4H21A==
>  
>  %define with_threads 1
>  %define with_plugin 0
> diff --git a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
> index d39a0b5..8bc72d1 100644
> --- a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
> @@ -8,12 +8,12 @@
>  %hash sha512 %{gcc_expand_name}.tar.gz \
>
> E5KKObrZDIF1nEAFmZ6zGstL/VAPGCR+FIkCVW3akyTmAPITsmlaNErGHESHjG8PRmCO8zkCHkjkAv6MaHsWvQ==
>  
> -%define newlib_version 9ae9eef
> +%define newlib_version 4c7d0df
>  %define newlib_external 1
>  %define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}

Re: [RSB 2/4] 6: Update GCC 10 and 12

2023-06-27 Thread Chris Johns
Can you please provide something other than update in the commit message?

If it is to pick up patches on these gcc release branches then please say so.

Are these versions of the compiler tracking tarfile packages?

Thanks
Chris

On 27/6/2023 8:21 pm, Sebastian Huber wrote:
> ---
>  rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++--
>  rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> index 870c06f..e01542e 100644
> --- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
> @@ -1,12 +1,12 @@
>  %include %{_configdir}/checks.cfg
>  %include %{_configdir}/base.cfg
>  
> -%define gcc_version 52c451e
> +%define gcc_version ab134ec
>  %define gcc_external 1
>  %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
>  %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
> https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
>  %hash sha512 %{gcc_expand_name}.tar.gz \
> -  
> qjkDEEGK9YmRSSz8sQfwgzy9xPkvcvDNbo68vEM92jAEyVmzbTskJW/MtEyw7hwzOJgjWJsdoMKdsUa0yOXlcw==
> +  
> UQEiEegns9qDLBk35p7lrIfeoG3pHOlCPVbnEUqnL3Cqa2yjzl9cc8dNXKUTSvwOeuCQqGN2x08greTe9ZTqaA==
>  
>  %patch add gcc -p1 
> https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch
>  %hash sha512 0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch 
> c2d1faed68aa0f60bef917365545cc4cc899df428a5d08f178417c06def4fd3cd3a749c1871c8a22552022c29dfae4a3d21161e2b01291e458ea8d670f01887e
> diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
> b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> index 2277b01..7b0d4cb 100644
> --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> @@ -1,12 +1,12 @@
>  %include %{_configdir}/checks.cfg
>  %include %{_configdir}/base.cfg
>  
> -%define gcc_version efc21f1
> +%define gcc_version 0f54a73
>  %define gcc_external 1
>  %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
>  %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
> https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
>  %hash sha512 %{gcc_expand_name}.tar.gz \
> -  
> KTiGNk2WdP/uwZS8t8L1uy0mwzBjrIIDkD/lZycGyGW9TII7dO//2sRF3jfw1drTOoM6+/bqpkDLp3k1/6TZvA==
> +  
> 6q/FCgcnONitGrUuXF9y8nx6FiiSL3JSFwDh31pdJem4QvvcP7pFnybdw/Ve1uOIHab38xZyFVbEsANdAZN6Sg==
>  
>  %patch add gcc -p1 
> https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch
>  %hash sha512 0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch \
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB 1/4] 6/7: Update Newlib

2023-06-27 Thread Sebastian Huber
---
 rtems/config/tools/rtems-gcc-10-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg   | 4 ++--
 rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
index 39b97a5..870c06f 100644
--- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
@@ -17,12 +17,12 @@
 %patch add newlib -p1 
https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
 %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
 
-%define newlib_version 9ae9eef
+%define newlib_version 4c7d0df
 %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 \
-  
fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==
+  
tA7iXyG/UwRDYmGIMd1iS5IjvM5+lL2E8l6ez+xi8vr9BBupECuWwoq1vzlIy4Uj7+dEzLKuepassKx9M4H21A==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
index 84b5223..0eff966 100644
--- a/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10.4-newlib-head.cfg
@@ -20,12 +20,12 @@
 %patch add newlib -p1 
https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
 %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
 
-%define newlib_version 9ae9eef
+%define newlib_version 4c7d0df
 %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 \
-  
fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==
+  
tA7iXyG/UwRDYmGIMd1iS5IjvM5+lL2E8l6ez+xi8vr9BBupECuWwoq1vzlIy4Uj7+dEzLKuepassKx9M4H21A==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index f4c47d4..2277b01 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -38,13 +38,13 @@
 
KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
 # Comment above related to #4657 and patches ends here
 
-%define newlib_version 9ae9eef
+%define newlib_version 4c7d0df
 %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 \
-  
fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==
+  
tA7iXyG/UwRDYmGIMd1iS5IjvM5+lL2E8l6ez+xi8vr9BBupECuWwoq1vzlIy4Uj7+dEzLKuepassKx9M4H21A==
 
 %define with_threads 1
 %define with_plugin 0
diff --git a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
index d39a0b5..8bc72d1 100644
--- a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
@@ -8,12 +8,12 @@
 %hash sha512 %{gcc_expand_name}.tar.gz \
   
E5KKObrZDIF1nEAFmZ6zGstL/VAPGCR+FIkCVW3akyTmAPITsmlaNErGHESHjG8PRmCO8zkCHkjkAv6MaHsWvQ==
 
-%define newlib_version 9ae9eef
+%define newlib_version 4c7d0df
 %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 \
-  
fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==
+  
tA7iXyG/UwRDYmGIMd1iS5IjvM5+lL2E8l6ez+xi8vr9BBupECuWwoq1vzlIy4Uj7+dEzLKuepassKx9M4H21A==
 
 %patch add newlib -p1 
https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
 %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch

[RSB 2/4] 6: Update GCC 10 and 12

2023-06-27 Thread Sebastian Huber
---
 rtems/config/tools/rtems-gcc-10-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
index 870c06f..e01542e 100644
--- a/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-10-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 52c451e
+%define gcc_version ab134ec
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
qjkDEEGK9YmRSSz8sQfwgzy9xPkvcvDNbo68vEM92jAEyVmzbTskJW/MtEyw7hwzOJgjWJsdoMKdsUa0yOXlcw==
+  
UQEiEegns9qDLBk35p7lrIfeoG3pHOlCPVbnEUqnL3Cqa2yjzl9cc8dNXKUTSvwOeuCQqGN2x08greTe9ZTqaA==
 
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch
 %hash sha512 0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch 
c2d1faed68aa0f60bef917365545cc4cc899df428a5d08f178417c06def4fd3cd3a749c1871c8a22552022c29dfae4a3d21161e2b01291e458ea8d670f01887e
diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
index 2277b01..7b0d4cb 100644
--- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version efc21f1
+%define gcc_version 0f54a73
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
KTiGNk2WdP/uwZS8t8L1uy0mwzBjrIIDkD/lZycGyGW9TII7dO//2sRF3jfw1drTOoM6+/bqpkDLp3k1/6TZvA==
+  
6q/FCgcnONitGrUuXF9y8nx6FiiSL3JSFwDh31pdJem4QvvcP7pFnybdw/Ve1uOIHab38xZyFVbEsANdAZN6Sg==
 
 %patch add gcc -p1 
https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch
 %hash sha512 0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch \
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB 3/4] 7: Update Binutils, GDB, and GCC

2023-06-27 Thread Sebastian Huber
---
 rtems/config/tools/rtems-binutils-head.cfg| 4 ++--
 rtems/config/tools/rtems-gcc-head-newlib-head.cfg | 4 ++--
 rtems/config/tools/rtems-gdb-head.cfg | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/rtems/config/tools/rtems-binutils-head.cfg 
b/rtems/config/tools/rtems-binutils-head.cfg
index 79d7881..e63d828 100644
--- a/rtems/config/tools/rtems-binutils-head.cfg
+++ b/rtems/config/tools/rtems-binutils-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define binutils_version 8f5cd47
+%define binutils_version cddbf40
 %define binutils_external 1
 %define binutils_expand_name sourceware-mirror-binutils-gdb-%{binutils_version}
 %source set binutils --rsb-file=%{binutils_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{binutils_version}
 %hash sha512 %{binutils_expand_name}.tar.gz \
-  
jq1QzKivWmc0YXn/dSBv0n6dVQNJX3mNpL5rAq40v9FagZ96iVtYgCJ4fY1eZuLde7xSXwzwRl6Dg29F38/f+Q==
+  
ECazhcPTJW236jHgombFh21ZeiDkX8529Sylopt0KXVc/8N09F6AJHxsE6W/A9ZJdHRJKo4NhGPOJsLC40kqHw==
 
 %define with_deterministic_archives 1
 %define with_64_bit_bfd 1
diff --git a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
index 8bc72d1..7297d85 100644
--- a/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
+++ b/rtems/config/tools/rtems-gcc-head-newlib-head.cfg
@@ -1,12 +1,12 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gcc_version 0530254
+%define gcc_version 3162ca0
 %define gcc_external 1
 %define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
 %source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
 %hash sha512 %{gcc_expand_name}.tar.gz \
-  
E5KKObrZDIF1nEAFmZ6zGstL/VAPGCR+FIkCVW3akyTmAPITsmlaNErGHESHjG8PRmCO8zkCHkjkAv6MaHsWvQ==
+  
RePiY4P5QBJOp4cqxL4CBV+/Os0vTLLY50HCa32BiTu8cscPHtiWM8GBtNd0bKYt7Sm0KQDtx0MMEapi47JEzg==
 
 %define newlib_version 4c7d0df
 %define newlib_external 1
diff --git a/rtems/config/tools/rtems-gdb-head.cfg 
b/rtems/config/tools/rtems-gdb-head.cfg
index 1223f7d..11abd6a 100644
--- a/rtems/config/tools/rtems-gdb-head.cfg
+++ b/rtems/config/tools/rtems-gdb-head.cfg
@@ -1,11 +1,11 @@
 %include %{_configdir}/checks.cfg
 %include %{_configdir}/base.cfg
 
-%define gdb_version 8f5cd47
+%define gdb_version cddbf40
 %define gdb_external 1
 %define gdb_expand_name sourceware-mirror-binutils-gdb-%{gdb_version}
 %source set gdb --rsb-file=%{gdb_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{gdb_version}
 %hash sha512 %{gdb_expand_name}.tar.gz \
-  
jq1QzKivWmc0YXn/dSBv0n6dVQNJX3mNpL5rAq40v9FagZ96iVtYgCJ4fY1eZuLde7xSXwzwRl6Dg29F38/f+Q==
+  
ECazhcPTJW236jHgombFh21ZeiDkX8529Sylopt0KXVc/8N09F6AJHxsE6W/A9ZJdHRJKo4NhGPOJsLC40kqHw==
 
 %include %{_configdir}/gdb-8-1.cfg
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[RSB 4/4] tools: Add GCC 13 configuration

2023-06-27 Thread Sebastian Huber
---
 .../config/tools/rtems-gcc-13-newlib-head.cfg | 25 +++
 1 file changed, 25 insertions(+)
 create mode 100644 rtems/config/tools/rtems-gcc-13-newlib-head.cfg

diff --git a/rtems/config/tools/rtems-gcc-13-newlib-head.cfg 
b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
new file mode 100644
index 000..a507928
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-13-newlib-head.cfg
@@ -0,0 +1,25 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gcc_version 9599da7
+%define gcc_external 1
+%define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
+%source set gcc --rsb-file=%{gcc_expand_name}.tar.gz 
https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
+%hash sha512 %{gcc_expand_name}.tar.gz \
+  
Bap0yX4QA/1mQVQeUJyicdu1qUBsFapuJwxKKtfluFOUX11AtDpXzUL/wt6P7KvJKX5dDVWW8ZW4pIb8IAW3aw==
+
+%define newlib_version 4c7d0df
+%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 \
+  
tA7iXyG/UwRDYmGIMd1iS5IjvM5+lL2E8l6ez+xi8vr9BBupECuWwoq1vzlIy4Uj7+dEzLKuepassKx9M4H21A==
+
+%patch add newlib -p1 
https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
+%hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch 
7ca237eabfd5b382713186e1fc290dfc999a353315795ecb8dd0d22fcd1ab7f5bf31f4329954adab91ad04c100dcac0e86d406fdbce8f82cf9dc23842c88caf6
+
+%define with_threads 1
+%define with_plugin 0
+%define with_iconv 1
+
+%include %{_configdir}/gcc-12.cfg
-- 
2.35.3

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH] rtems/net-services: Add to the ntpq query an output buffer and size

2023-06-08 Thread Kinsey Moore
Looks good to me.

On Thu, Jun 8, 2023 at 4:33 AM  wrote:

> From: Chris Johns 
>
> ---
>  rtems/config/net/net-services-1.cfg | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/rtems/config/net/net-services-1.cfg
> b/rtems/config/net/net-services-1.cfg
> index c342547..bf1bdc8 100644
> --- a/rtems/config/net/net-services-1.cfg
> +++ b/rtems/config/net/net-services-1.cfg
> @@ -9,9 +9,9 @@
>  #
>  # Net Services Version
>  #
> -%define rtems_net_services_version
> e35f89b6bf8170b5556a90535ed2f1f6b7473d81
> +%define rtems_net_services_version
> fe0706060e5687a99c01d155e05d25bc34915ae1
>  %hash sha512 rtems-net-services-%{rtems_net_services_version}.tar.bz2 \
> -
>  
> CqubUTOMm3zohNpOYft5QPTqhl9qEuBo3wcQ5tOTZGRwOMzwQ+3tRyl8ZrcgdTtoV7fIZCoJt5Ty5zTeANdMCQ==
> +
>  
> 5R/rhW3Supzw7KvDdkVYrWt3y3mxZ8hubwA8HpWtAZosWVlEauGvUpCfh1CthrHKHJ6uW1NpmewoAaZ9T25jsA==
>
>  %define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
>  %hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
> --
> 2.37.1
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[RSB PATCH] rtems/net-services: Add to the ntpq query an output buffer and size

2023-06-08 Thread chrisj
From: Chris Johns 

---
 rtems/config/net/net-services-1.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtems/config/net/net-services-1.cfg 
b/rtems/config/net/net-services-1.cfg
index c342547..bf1bdc8 100644
--- a/rtems/config/net/net-services-1.cfg
+++ b/rtems/config/net/net-services-1.cfg
@@ -9,9 +9,9 @@
 #
 # Net Services Version
 #
-%define rtems_net_services_version e35f89b6bf8170b5556a90535ed2f1f6b7473d81
+%define rtems_net_services_version fe0706060e5687a99c01d155e05d25bc34915ae1
 %hash sha512 rtems-net-services-%{rtems_net_services_version}.tar.bz2 \
-   
CqubUTOMm3zohNpOYft5QPTqhl9qEuBo3wcQ5tOTZGRwOMzwQ+3tRyl8ZrcgdTtoV7fIZCoJt5Ty5zTeANdMCQ==
+   
5R/rhW3Supzw7KvDdkVYrWt3y3mxZ8hubwA8HpWtAZosWVlEauGvUpCfh1CthrHKHJ6uW1NpmewoAaZ9T25jsA==
 
 %define rtems_waf_version 68654b4f995382765605dc16917baad4bdbf7f7c
 %hash sha512 rtems-waf-%{rtems_waf_version}.tar.bz2 \
-- 
2.37.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [RSB PATCH 2/2] rtems/kernel: Update kernel

2023-06-05 Thread Gedare Bloom
ok

On Mon, Jun 5, 2023 at 12:48 AM  wrote:
>
> From: Chris Johns 
>
> - Zynq ARM fixes
>
> - AARCH64 MMU fix
>
> - Updated imxrt drivers
>
> - x86_64 EFI support
>
> - Flash driver
>
> - Updated validation tests
>
> - Microblaze updates
> ---
>  rtems/config/tools/rtems-kernel-6.cfg | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/rtems/config/tools/rtems-kernel-6.cfg 
> b/rtems/config/tools/rtems-kernel-6.cfg
> index e2f1d68..f2174c7 100644
> --- a/rtems/config/tools/rtems-kernel-6.cfg
> +++ b/rtems/config/tools/rtems-kernel-6.cfg
> @@ -2,10 +2,10 @@
>  # RTEMS 6
>  #
>
> -%define rtems_kernel_version 5a37722b066f5792aad80fb5b32fb3c056cf1607
> +%define rtems_kernel_version a83dc4a469429e29cdd18eddbd1b9fff3f4328d8
>
>  %hash sha512 rtems-kernel-%{rtems_kernel_version}.tar.bz2 \
> -   
> UcZlhl2FZhvDKXZnPLnJSYnMQwSgWluTBGfoLII9vNbx4ypxQPE+egN4dZ06H3l5MprrJY96mgNZTfLjI2itcQ==
> +   
> baWt7QkFo2YlzV4pTnnZ8agonhdrWN4Z8yMgV6/vgZs+cRw59xRq69KfWzgqVZDpaA0l3nuiLqNaxqEh2fMXMw==
>  #
>  # The RTEMS build instructions.
>  #
> --
> 2.37.1
>
> ___
> devel mailing list
> devel@rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

  1   2   3   4   5   6   7   8   9   10   >