Re: [RSB PATCH] rtems/net: Add net services build support

2023-06-05 Thread Gedare Bloom
n when released. > +# > +%if %{rsb_released} > + %define rtems_net_services_version %{rsb_version} > + %define rtems_net_services_ext xz > + %define rtems_waf_ext xz > +%else > + %define rtems_net_services_ext bz2 > + %define rtems_waf_ext bz2 > +%endif > + > +# > +#

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

2023-06-05 Thread chrisj
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

[RSB PATCH 1/2] rtrems/net-legacy: Update rtems-net-legacy

2023-06-05 Thread chrisj
From: Chris Johns - Add getaddrinfom, gai_strerror, ipv6_addr, if_nametoindex and BSD programs - Update sysctl - Move legacy net --- rtems/config/tools/rtems-net-legacy-6.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg

[RSB PATCH] rtems/net: Add net services build support

2023-06-04 Thread chrisj
BSP support. +# +%include rtems-bsp.cfg + +# +# Net services Source. +# +# If not a release collect and install rtems_waf as cgit snapshots to not +# capture submodules. +# +# Releases package submodules in the top level tarfile. +# +%source set rtems_net_services --rsb-file=rtems-net-services

Re: RSB repo commits need approval

2023-05-01 Thread oss
Am 30.04.23 um 23:53 schrieb Chris Johns: On 29/4/2023 3:48 am, o...@c-mauderer.de wrote: Hello Joel, Am 28.04.23 um 00:19 schrieb Joel Sherrill: On Wed, Apr 26, 2023 at 7:06 PM Chris Johns mailto:chr...@rtems.org>> wrote:     Hi,     All RSB repo commits need to be posted for

Re: RSB repo commits need approval

2023-04-30 Thread Chris Johns
On 29/4/2023 3:48 am, o...@c-mauderer.de wrote: > Hello Joel, > > Am 28.04.23 um 00:19 schrieb Joel Sherrill: >> >> >> On Wed, Apr 26, 2023 at 7:06 PM Chris Johns > <mailto:chr...@rtems.org>> wrote: >> >>     Hi, >> >>     Al

Re: RSB repo commits need approval

2023-04-28 Thread oss
Hello Joel, Am 28.04.23 um 00:19 schrieb Joel Sherrill: On Wed, Apr 26, 2023 at 7:06 PM Chris Johns <mailto:chr...@rtems.org>> wrote: Hi, All RSB repo commits need to be posted for review and independent approval given before being pushed to the top level repo.

Re: RSB repo commits need approval

2023-04-27 Thread Sebastian Huber
On 27.04.23 20:05, Gedare Bloom wrote: On Thu, Apr 27, 2023 at 3:27 AM Karel Gardas wrote: On 4/27/23 08:13, Sebastian Huber wrote: Why don't we use a Git pull request workflow with CI pipelines in the RTEMS Project? I don't know, but certainly github.com is not available as an open-source

Re: RSB repo commits need approval

2023-04-27 Thread Chris Johns
On 28/4/2023 4:05 am, Gedare Bloom wrote: > On Thu, Apr 27, 2023 at 3:27 AM Karel Gardas wrote: >> On 4/27/23 08:13, Sebastian Huber wrote: >>> Why >>> don't we use a Git pull request workflow with CI pipelines in the RTEMS >>> Project? >> >> I don't know, but certainly github.com is not

Re: RSB repo commits need approval

2023-04-27 Thread Joel Sherrill
On Wed, Apr 26, 2023 at 7:06 PM Chris Johns wrote: > Hi, > > All RSB repo commits need to be posted for review and independent approval > given > before being pushed to the top level repo. > I thought this was the policy for all top level repositories. There is a degree of t

Re: RSB repo commits need approval

2023-04-27 Thread Gedare Bloom
On Thu, Apr 27, 2023 at 3:27 AM Karel Gardas wrote: > > On 4/27/23 08:13, Sebastian Huber wrote: > > Why > > don't we use a Git pull request workflow with CI pipelines in the RTEMS > > Project? > > I don't know, but certainly github.com is not available as an > open-source solution which may be

Re: RSB repo commits need approval

2023-04-27 Thread Karel Gardas
On 4/27/23 08:13, Sebastian Huber wrote: Why don't we use a Git pull request workflow with CI pipelines in the RTEMS Project? I don't know, but certainly github.com is not available as an open-source solution which may be seen as a major roadblock. Am I right assuming that GitLab Community

Re: RSB repo commits need approval

2023-04-27 Thread Chris Johns
On 27/4/2023 4:13 pm, Sebastian Huber wrote: > what is your (or the RTEMS Project in general) plan to maintain the tools and > ensure that we can use up to date versions of Newlib, GCC, Binutils, and GDB? > This involves building the latest versions, reviewing build issues, reporting > bugs,

Re: RSB repo commits need approval

2023-04-27 Thread Sebastian Huber
Hello Chris, what is your (or the RTEMS Project in general) plan to maintain the tools and ensure that we can use up to date versions of Newlib, GCC, Binutils, and GDB? This involves building the latest versions, reviewing build issues, reporting bugs, writing patches, etc. Currently, I do

RSB repo commits need approval

2023-04-26 Thread Chris Johns
Hi, All RSB repo commits need to be posted for review and independent approval given before being pushed to the top level repo. Thanks Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [RSB 5] Remove aarch64 and microblaze from RSB on 5 branch

2023-01-30 Thread Chris Johns
OK to push Thanks Chris On 31/1/2023 1:44 am, Joel Sherrill wrote: > Closes #4555. > --- > rtems/config/5/rtems-aarch64.bset| 4 > rtems/config/5/rtems-all.bset| 2 -- > rtems/config/5/rtems-microblaze.bset | 3 --- > rtems/config/5/rtems-tier-4.bset | 1 - > 4 files

Re: [RSB 5] Remove aarch64 and microblaze from RSB on 5 branch

2023-01-30 Thread Gedare Bloom
ok On Mon, Jan 30, 2023 at 7:44 AM Joel Sherrill wrote: > > Closes #4555. > --- > rtems/config/5/rtems-aarch64.bset| 4 > rtems/config/5/rtems-all.bset| 2 -- > rtems/config/5/rtems-microblaze.bset | 3 --- > rtems/config/5/rtems-tier-4.bset | 1 - > 4 files changed, 10

[RSB 5] Remove aarch64 and microblaze from RSB on 5 branch

2023-01-30 Thread Joel Sherrill
Closes #4555. --- rtems/config/5/rtems-aarch64.bset| 4 rtems/config/5/rtems-all.bset| 2 -- rtems/config/5/rtems-microblaze.bset | 3 --- rtems/config/5/rtems-tier-4.bset | 1 - 4 files changed, 10 deletions(-) delete mode 100644 rtems/config/5/rtems-aarch64.bset delete

Re: [PATCH v2 1/1] RSB: Mitigate too short error reports

2023-01-23 Thread Christian MAUDERER
Thanks Frank and Chris. I pushed the patch. Best regards Christian On 2023-01-20 22:53, Chris Johns wrote: OK to push. Thanks Chris On 21/1/2023 2:06 am, Frank Kuehndel wrote: From: Frank Kühndel Close #4642 --- source-builder/sb/ereport.py | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH v2 1/1] RSB: Mitigate too short error reports

2023-01-20 Thread Chris Johns
OK to push. Thanks Chris On 21/1/2023 2:06 am, Frank Kuehndel wrote: > From: Frank Kühndel > > Close #4642 > --- > source-builder/sb/ereport.py | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py > index

[PATCH v2 1/1] RSB: Mitigate too short error reports

2023-01-20 Thread Frank Kuehndel
From: Frank Kühndel Close #4642 --- source-builder/sb/ereport.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py index d8fb5f6..52ee2eb 100755 --- a/source-builder/sb/ereport.py +++ b/source-builder/sb/ereport.py

[PATCH v2 0/1] RSB: Mitigate too short error reports

2023-01-20 Thread Frank Kuehndel
From: Frank Kühndel Hello, this is the promised patch to close my bug report #4642 https://devel.rtems.org/ticket/4642 "RSB: log.py tends to remove relevant error messages". I tested it using Christian's Github CI - see his Email: https://lists.rtems.org/pipermail/devel/2023-Janu

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2023-01-19 Thread Chris Johns
On 20/1/2023 3:13 am, Frank Kühndel wrote: > Hi Joel, > > On 1/19/23 15:08, Joel Sherrill wrote: >> Subject: >> Re: [PATCH 1/1] RSB: Mitigate too short error reports >> From: >> Joel Sherrill >> Date: >> 1/19/23, 15:08 >> >> To:

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2023-01-19 Thread Frank Kühndel
Hi Joel, On 1/19/23 15:08, Joel Sherrill wrote: Subject: Re: [PATCH 1/1] RSB: Mitigate too short error reports From: Joel Sherrill Date: 1/19/23, 15:08 To: Frank Kühndel CC: Chris Johns , devel@rtems.org On Thu, Jan 19, 2023 at 6:47 AM Frank Kühndel < frank.kuehn...@embedded-brains

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2023-01-19 Thread Joel Sherrill
On Thu, Jan 19, 2023 at 6:47 AM Frank Kühndel < frank.kuehn...@embedded-brains.de> wrote: > Hello Chris, > Hello Joel, > > On 1/16/23 18:27, Joel Sherrill wrote: > > Subject: > > Re: [PATCH 1/1] RSB: Mitigate too short error reports > > From: > > J

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2023-01-19 Thread Frank Kühndel
Hello Chris, Hello Joel, On 1/16/23 18:27, Joel Sherrill wrote: Subject: Re: [PATCH 1/1] RSB: Mitigate too short error reports From: Joel Sherrill Date: 1/16/23, 18:27 To: Frank Kühndel CC: Chris Johns , devel@rtems.org On Mon, Jan 16, 2023 at 8:46 AM Frank Kühndel < frank.ku

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2023-01-16 Thread Joel Sherrill
On Mon, Jan 16, 2023 at 8:46 AM Frank Kühndel < frank.kuehn...@embedded-brains.de> wrote: > Hi Chris, > > On 1/16/23 01:02, Chris Johns wrote: > > Subject: > > Re: [PATCH 1/1] RSB: Mitigate too short error reports > > From: > > Chris Johns > > D

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2023-01-16 Thread Frank Kühndel
Hi Chris, On 1/16/23 01:02, Chris Johns wrote: Subject: Re: [PATCH 1/1] RSB: Mitigate too short error reports From: Chris Johns Date: 1/16/23, 01:02 To: Frank Kühndel , devel@rtems.org On 22/12/2022 9:09 pm, Frank Kühndel wrote: On 12/21/22 00:06, Chris Johns wrote: On 21/12/2022 3:44 am

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2023-01-15 Thread Chris Johns
r of lines that is always updating. Your attention and interest around this feature highlights how problematic it is so maybe it is simpler and better to remove it and we leave users to find the error in the log file. I am happy to accept the report has not worked as a feature, remove it and in the process we recover some overheads in the logging area of the RSB? Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2022-12-22 Thread Frank Kühndel
On 12/21/22 00:06, Chris Johns wrote: On 21/12/2022 3:44 am, Frank Kuehndel wrote: From: Frank Kühndel Close #4642 --- source-builder/sb/ereport.py | 4 1 file changed, 4 insertions(+) diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py index d8fb5f6..d391917

Re: [PATCH RSB] Remove aarch64 and microblaze from RSB 5 branch.

2022-12-20 Thread Chris Johns
OK to push Thanks Chris On 21/12/2022 3:37 am, Joel Sherrill wrote: > The ports did not get contributed until during 6 development and are > not on this release branch. > > Closes #4555. > --- > rtems/config/5/rtems-aarch64.bset| 4 > rtems/config/5/rtems-all.bset| 2 -- >

Re: [PATCH 1/1] RSB: Mitigate too short error reports

2022-12-20 Thread Chris Johns
On 21/12/2022 3:44 am, Frank Kuehndel wrote: > From: Frank Kühndel > > Close #4642 > --- > source-builder/sb/ereport.py | 4 > 1 file changed, 4 insertions(+) > > diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py > index d8fb5f6..d391917 100755 > ---

[PATCH 0/1] RSB: Mitigate too short error reports

2022-12-20 Thread Frank Kuehndel
From: Frank Kühndel Hello Chris, I am making an attempt to close my bug report #4642 https://devel.rtems.org/ticket/4642 "RSB: log.py tends removes relevant error messages". The difficulty seems to be to find a rather short text indicating that the relevant error can sometimes be

[PATCH 1/1] RSB: Mitigate too short error reports

2022-12-20 Thread Frank Kuehndel
From: Frank Kühndel Close #4642 --- source-builder/sb/ereport.py | 4 1 file changed, 4 insertions(+) diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py index d8fb5f6..d391917 100755 --- a/source-builder/sb/ereport.py +++ b/source-builder/sb/ereport.py @@ -55,6

[PATCH RSB] Remove aarch64 and microblaze from RSB 5 branch.

2022-12-20 Thread Joel Sherrill
The ports did not get contributed until during 6 development and are not on this release branch. Closes #4555. --- rtems/config/5/rtems-aarch64.bset| 4 rtems/config/5/rtems-all.bset| 2 -- rtems/config/5/rtems-microblaze.bset | 3 --- 3 files changed, 9 deletions(-) delete

[5 RSB PATCH 2/2] rtems: Update source and patch URLs to valid locations

2022-11-15 Thread chrisj
@@ URL: http://www.microwindows.org/ # # nxlib Source # -%source set nxlib https://github.com/alex-sever-h/nxlib.git +%source set nxlib --rsb-file=nxlib-%{nxlib_version}.zip \ + https://github.com/alex-sever-h/nxlib/archive/%{nxlib_version}.zip # # Prepare the source code. diff

[5 RSB PATCH 1/2] sb/downloads: Raise errors on no hash present

2022-11-15 Thread chrisj
/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

[5 RSB PATCH] rtems: Update source and patch URLs to valid locations

2022-11-14 Thread chrisj
-# -%source set mpfr http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2 -%source set mpc http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz -%source set gmp https://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2 - %patch add gcc --rsb-file=Make-lang.in

Re: [5 RSB PATCH 3/3] rtems/net-snmp: Update to 5.9.3 with the RTEMS patch

2022-11-14 Thread Chris Johns
On 15/11/22 3:22 am, Gedare Bloom wrote: > ok thanks for sorting this out, and for linking the patch through > trac. You've given me one more thing to check for in RSB patches that > reference %patch command :) Thanks for the review and yeah sorry about the extra bit to check. It cannot

Re: [5 RSB PATCH 3/3] rtems/net-snmp: Update to 5.9.3 with the RTEMS patch

2022-11-14 Thread Gedare Bloom
ok thanks for sorting this out, and for linking the patch through trac. You've given me one more thing to check for in RSB patches that reference %patch command :) On Sun, Nov 13, 2022 at 5:02 PM wrote: > > From: Chris Johns > > The 5.7.2.1 patch referenced in the configuration ca

[5 RSB PATCH 1/3] gdb: Use https for downloads

2022-11-13 Thread chrisj
From: Sebastian Huber Close #4754 --- source-builder/config/gdb-common-1.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-builder/config/gdb-common-1.cfg b/source-builder/config/gdb-common-1.cfg index 397d44d..b9dd47f 100644 ---

[5 RSB PATCH 3/3] rtems/net-snmp: Update to 5.9.3 with the RTEMS patch

2022-11-13 Thread chrisj
From: Chris Johns The 5.7.2.1 patch referenced in the configuration can be located so update the version to the latest. Checked with Zynq A9 qemu and libbsd. Closes #4758 --- rtems/config/net-mgmt/net-snmp-5.7.2.1-1.cfg | 32 - rtems/config/net-mgmt/net-snmp-5.9.3.cfg | 48

[5 RSB PATCH 2/3] bare/gcc: Remove gcc-4.8.2 because newlib references the unsupported CVS

2022-11-13 Thread chrisj
5.0.5 - -# -# Project custom message -# -%define gcc_version_message RSB-%{_sbgit_id})-%{release},gcc-%{gcc_version}/newlib-%{newlib_version} - -%define with_threads 0 -%define with_plugin 0 - -%ifn %{defined with_iconv} -%define with_iconv 1 -%endif - -# Incompatible with Texinfo 5

Re: Apple's Ventura OS issue with RSB.

2022-11-12 Thread Karel Gardas
confidence if all builds pass well. What I did to my clean config in order to compile RSB is: - install xz (from homebrew is fine), side effect of this is you will get Apple's command line developer tools installed too -- which you need. - compile python3.10 from source -- you need to enable

Re: Apple's Ventura OS issue with RSB.

2022-11-08 Thread Karel Gardas
to my clean config in order to compile RSB is: - install xz (from homebrew is fine), side effect of this is you will get Apple's command line developer tools installed too -- which you need. - compile python3.10 from source -- you need to enable SSL on it otherwise RSB would not be able

Re: Apple's Ventura OS issue with RSB.

2022-11-06 Thread Karel Gardas
On 11/6/22 22:42, Chris Johns wrote: indeed, the report here is probably minimal thing I should do. Sebastian has pushed updates to the tools to the RSB. Did you happen to pick up those? Not at all! I'm still on: https://git.rtems.org/rtems-source-builder/commit/?id

Re: Apple's Ventura OS issue with RSB.

2022-11-06 Thread Chris Johns
On 7/11/2022 5:38 am, Karel Gardas wrote: > > Side note before answering : the email was motivated by the fact that I > provided > few patches to RSB to make that working well on Monterey running on M1. This > was > just few weeks ago so I know, this was running well. Last

Re: Apple's Ventura OS issue with RSB.

2022-11-06 Thread Karel Gardas
Side note before answering : the email was motivated by the fact that I provided few patches to RSB to make that working well on Monterey running on M1. This was just few weeks ago so I know, this was running well. Last week I've updated to Ventura and things felt apart. Hence the report

Re: Apple's Ventura OS issue with RSB.

2022-11-06 Thread Joel Sherrill
Karel Gardas wrote: > > Folks, > > upgraded to Ventura from Monterey and this breaks RSB for unknown > reason. The issue looks like segfault/internal compiler error in GCC > while compiling newlib. > > 6/rtems-sparc: > >CC libc/stdlib/libc_a-strtoll_

Apple's Ventura OS issue with RSB.

2022-11-06 Thread Karel Gardas
Folks, upgraded to Ventura from Monterey and this breaks RSB for unknown reason. The issue looks like segfault/internal compiler error in GCC while compiling newlib. 6/rtems-sparc: CC libc/stdlib/libc_a-strtoll_r.o CC libm/complex/libm_a-cpowf.o ../../../../gnu-mirror-gcc

[PATCH RSB v1] Update mipstx39 gdb version to pick up fix to make simulator work

2022-10-25 Thread Joel Sherrill
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 \ - drh71JaHy

[RSB 5 PATCH 3/3] rtems/bsps: Optionally support arch/bsp if used

2022-09-30 Thread chrisj
From: Chris Johns Updates #4717 --- rtems/config/rtems-bsp.cfg | 55 -- 1 file changed, 41 insertions(+), 14 deletions(-) diff --git a/rtems/config/rtems-bsp.cfg b/rtems/config/rtems-bsp.cfg index 801cd5c..af9ad3d 100644 --- a/rtems/config/rtems-bsp.cfg +++

[RSB 5 PATCH 2/3] sb/set-bulder: Fix installing builds when a single buildset

2022-09-30 Thread chrisj
From: Chris Johns - Always stage a build - Install if installable and outter most buildset instance Closes #4731 --- source-builder/sb/setbuilder.py | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/source-builder/sb/setbuilder.py

[RSB 5] Fixes to recent changes and a deployment change

2022-09-30 Thread chrisj
Hi, If these changes are OK I will push the same patches to the devel branch. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[RSB 5 PATCH 1/3] sb/execute: Fix incremental decoder with --dry-run

2022-09-30 Thread chrisj
From: Chris Johns Closes #4734 --- source-builder/sb/execute.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source-builder/sb/execute.py b/source-builder/sb/execute.py index f470aba..e3809ec 100755 --- a/source-builder/sb/execute.py +++

Re: [PATCH RSB v2] rtems-gcc-12-newlib-head.cfg: Bump newlib hash to get extern C on resource.h

2022-09-26 Thread Chris Johns
K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ== > # Comment above related to #4657 and patches ends here > > -%define newlib_version d9dc880 > +%define newlib_version 01f6251c0 > %define newlib_external 1 > %define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version} > %sou

[PATCH RSB v2] rtems-gcc-12-newlib-head.cfg: Bump newlib hash to get extern C on resource.h

2022-09-26 Thread Joel Sherrill
01f6251c0 %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

Re: [PATCH RSB v1] rtems-gcc-12-newlib-head.cfg: Bump newlib hash to get extern C on resource.h

2022-09-26 Thread Chris Johns
s Chris > %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/%{

[PATCH RSB v1] rtems-gcc-12-newlib-head.cfg: Bump newlib hash to get extern C on resource.h

2022-09-26 Thread Joel Sherrill
01f6251c0969f92bf802e1c9f2acd199353a3956 %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

[RSB 5 PATCH 6/6] sb/setbuilder: Install the build when stagging or configured to install

2022-09-17 Thread chrisj
From: Chris Johns Updates #4716 --- source-builder/sb/setbuilder.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index 1452aca..9836e9b 100644 --- a/source-builder/sb/setbuilder.py +++

[RSB 5 PATCH 5/6] rtems/kernel: Support deployment standard buildset configs

2022-09-17 Thread chrisj
From: Chris Johns - Check and optionally support arch/bsp format 'with_rtems_bsp' defines Updates #4717 --- rtems/config/tools/rtems-kernel-common.cfg | 49 +- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/rtems/config/tools/rtems-kernel-common.cfg

[RSB 5 PATCH 4/6] sb/setbuilder: Do not install if --no-install option is used

2022-09-17 Thread chrisj
From: Chris Johns - This is a bug introduced in the recent bset tar file changes Updates #4716 --- source-builder/sb/setbuilder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index 36fca46..1452aca

[RSB 5 PATCH 2/6] sb/config: Correctly handle multiple config paths

2022-09-17 Thread chrisj
From: Chris Johns - Add rtems/config to the config directories searched to better support deployment - Correctly expand the configdir and path searchs Updates #4716 --- source-builder/defaults.mc | 2 +- source-builder/sb/config.py | 52 ++--- 2 files

[RSB 5 PATCH 3/6] sb/setbuilder: Correctly create build set tar files

2022-09-17 Thread chrisj
From: Chris Johns - Make a single tarfile for all buildsets built - Use the staging tree as the tarfile source - Use python's tarfile module - Create a config.file object without loading a .cfg file Updates #4716 --- source-builder/sb/config.py | 5 +-- source-builder/sb/setbuilder.py

[RSB 5 PATCH 1/6] sb/setbuilder: Support line continuation

2022-09-17 Thread chrisj
From: Chris Johns Updates #4716 --- source-builder/sb/setbuilder.py | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index 16e8cc8..55bd86f 100644 --- a/source-builder/sb/setbuilder.py +++

[RSB 5] Deployment and backporting of fixes

2022-09-17 Thread chrisj
Hi These patches are a mix of back ported fixed from our devel branch and deployment support for RTEMS 5. I have a personal repo I will upload soon that tests RTEMS 5 as well as RTEMS 6 (devel branch). Chris ___ devel mailing list devel@rtems.org

[RSB] Build GNU sed if not available on host

2022-09-14 Thread chrisj
Hi, These patches add support to build GNU sed if it is not avaliable on a host. GCC requires GNU sed or weird things happen. Ticket #2300 details a MIPS build failure that has existed in GCC for years where the multilib processing depends on GNU sed. The simplest solution is to check and if sed

[RSB v2] BSP buildset fixes

2022-09-09 Thread chrisj
Hi, These patches fix the BSP buildset files to use arch/bsp. There are some other fixes building the BSPs exposed. v2: Remove the extra defines from the bsp buildsets Chris ___ devel mailing list devel@rtems.org

[RSB] BSP buildset fixes

2022-09-09 Thread chrisj
Hi, These patches fix the BSP buildset files to use arch/bsp. There are some other fixes building the BSPs exposed. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: RSB vs. Python 2.7

2022-09-09 Thread Chris Johns
On 9/9/2022 3:53 pm, Chris Johns wrote: > On 9/9/2022 3:50 pm, Sebastian Huber wrote: >> On 09.09.22 07:49, Chris Johns wrote: >>> On 9/9/2022 3:30 pm, Sebastian Huber wrote: >>>> Hello, >>>> >>>> it seems that the recent RSB no

Re: RSB vs. Python 2.7

2022-09-08 Thread Chris Johns
On 9/9/2022 3:50 pm, Sebastian Huber wrote: > On 09.09.22 07:49, Chris Johns wrote: >> On 9/9/2022 3:30 pm, Sebastian Huber wrote: >>> Hello, >>> >>> it seems that the recent RSB no longer runs with Python 2.7: >>> >>> download:https://c

Re: RSB vs. Python 2.7

2022-09-08 Thread Sebastian Huber
On 09.09.22 07:49, Chris Johns wrote: On 9/9/2022 3:30 pm, Sebastian Huber wrote: Hello, it seems that the recent RSB no longer runs with Python 2.7: download:https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/6678700: error: https should be ok with python2? My default "p

Re: RSB vs. Python 2.7

2022-09-08 Thread Chris Johns
On 9/9/2022 3:30 pm, Sebastian Huber wrote: > Hello, > > it seems that the recent RSB no longer runs with Python 2.7: > > download: https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/6678700: > error: https should be ok with python2? > Is it now time to drop the Pyth

RSB vs. Python 2.7

2022-09-08 Thread Sebastian Huber
Hello, it seems that the recent RSB no longer runs with Python 2.7: download: https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/6678700: error: Is it now time to drop the Python 2 support entirely? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

Re: [PATCH] user: Document RSB --with/without-newlib-tls

2022-09-08 Thread Chris Johns
Thanks for adding this. Please push. Chris On 9/9/2022 3:18 pm, Sebastian Huber wrote: > Update #4560. > --- > user/rsb/project-sets.rst | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/user/rsb/project-sets.rst b/user/rsb/project-sets.rst > index 54

[PATCH] user: Document RSB --with/without-newlib-tls

2022-09-08 Thread Sebastian Huber
Update #4560. --- user/rsb/project-sets.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/user/rsb/project-sets.rst b/user/rsb/project-sets.rst index 54a3f8e..ce839c5 100644 --- a/user/rsb/project-sets.rst +++ b/user/rsb/project-sets.rst @@ -116,6 +116,15 @@ build sets

[PATCH RSB] rtems-tools-6.cfg: Bump hash to update BSP list

2022-09-08 Thread Joel Sherrill
--- 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 d7522fd..14ee346 100644 --- a/rtems/config/tools/rtems-tools-6.cfg +++

[RSB 5 3/3] sb/getsources: Fixes to configurations

2022-09-08 Thread chrisj
mpfr_url https://ftp.gnu.org/gnu/mpfr + +# +# Project custom message +# +%define gcc_version_message GCC %{release}-RSB(%{_sbgit_id}),gcc-%{gcc_version}/newlib-%{newlib_version} + +# +# The gcc/newlib build instructions. We use 4.6 Release 1. +# +%include %{_configdir}/gcc-4.6-1.cfg diff --git a/bare

[RSB 5 2/3] sb: Back port fixes from the development branch

2022-09-08 Thread chrisj
From: Chris Johns Updates #4716 --- source-builder/sb/build.py | 18 +++- source-builder/sb/config.py | 161 ++-- source-builder/sb/setbuilder.py | 39 ++-- 3 files changed, 133 insertions(+), 85 deletions(-) diff --git a/source-builder/sb/build.py

[RSB 5 1/3] sb/getsources: Fix getting sources

2022-09-08 Thread chrisj
uilds: -del b -except error.general as gerr: -if not build_error: -log.stderr(str(gerr)) -raise -except KeyboardInterrupt: -raise - except: -self.build_failure = 'RSB general failure' -

[RSB 5] Back port RSB set sources fixes

2022-09-08 Thread chrisj
Hi, These patches update the RSB 5 branch with fixes for getting sources that are on the development branch. Getting sources is used to create a release. The release process fetches all the referenced sources in the RSB and they are part of the release. Chris

[RSB] Support deployment

2022-09-07 Thread chrisj
Hi, These patches update the RSB to support deployment. With this change you can create a directory anywhere and in it add a buildset file and build an RTEMS vertical software stack. For example: mkdir project cd project mkdir config vi config/project.bset And in the buildset file add

Re: [PATCH RSB] Fixes for getting sources

2022-08-16 Thread Chris Johns
n. > > > Thanks. I didn't expect a question to turn into a quest for you.  Haha .. it had to be done or the release scripts do not work unless on an RSB branch with a cleaned up set of buildset and config files. > Is this for 5 and 6? Both. The release scripts are tagged and not br

Re: [PATCH RSB] Fixes for getting sources

2022-08-16 Thread Joel Sherrill
On Tue, Aug 16, 2022, 6:34 PM wrote: > Hi > > These patches fix getting sources for all the packages so releases > can be CI tested to catch breakages closer to the time they happen. > Thanks. I didn't expect a question to turn into a quest for you. Is this for 5 and 6? > The get sources

[PATCH RSB] Fixes for getting sources

2022-08-16 Thread chrisj
Hi These patches fix getting sources for all the packages so releases can be CI tested to catch breakages closer to the time they happen. The get sources tool now finds the top level buildset files and only fetches the sources for them. This avoids processing and handling configurations that are

[rtems-docs] user/rsb: Mention --with/without-newlib-tls

2022-07-21 Thread Sebastian Huber
Update #4560. --- user/rsb/project-sets.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/user/rsb/project-sets.rst b/user/rsb/project-sets.rst index 54a3f8e..ce839c5 100644 --- a/user/rsb/project-sets.rst +++ b/user/rsb/project-sets.rst @@ -116,6 +116,15 @@ build sets

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

2022-07-21 Thread Chris Johns
On 21/7/2022 3:21 pm, Sebastian Huber wrote: > On 20.07.22 22:52, Chris Johns wrote: >> On 20/7/2022 6:20 pm, Sebastian Huber wrote: >>> On 20/07/2022 10:11, Chris Johns wrote: >> Are these TLS allocations in newlib based on a single use of a newlib >> call >> that >> brings in

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

2022-07-20 Thread Sebastian Huber
On 20.07.22 22:52, Chris Johns wrote: On 20/7/2022 6:20 pm, Sebastian Huber wrote: On 20/07/2022 10:11, Chris Johns wrote: Are these TLS allocations in newlib based on a single use of a newlib call that brings in the reent stuff? How does that work? No, each TLS object is defined in the

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

2022-07-20 Thread Chris Johns
On 20/7/2022 6:20 pm, Sebastian Huber wrote: > On 20/07/2022 10:11, Chris Johns wrote: Are these TLS allocations in newlib based on a single use of a newlib call that brings in the reent stuff? How does that work? >>> No, each TLS object is defined in the translation unit which

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

2022-07-20 Thread Sebastian Huber
On 20/07/2022 10:11, Chris Johns wrote: There seems to be an issue with i386: 08:09:56 runner ['/opt/rtems/6/bin/rtems-ld', '-C', '/opt/rtems/6/bin/i386-rtems6-gcc', '-c', '-MMD -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -mtune=pentiumpro

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

2022-07-20 Thread Sebastian Huber
On 20/07/2022 10:11, Chris Johns wrote: Are these TLS allocations in newlib based on a single use of a newlib call that brings in the reent stuff? How does that work? No, each TLS object is defined in the translation unit which uses the object. The goal is to get only those objects linked in

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

2022-07-20 Thread Chris Johns
est which tests some Newlib > details. https://github.com/RTEMS/sourceware-mirror-newlib-cygwin/tree/master/newlib/testsuite I have never looked at them but I thought it was worth asking. >> Did the switch to TLS exceptions end up on 6? I cannot see anything in the >> RSB >> c

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

2022-07-20 Thread Sebastian Huber
of newlib's tests been run? Can we run newlib tests? Are there Newlib tests? We added a newlib01 test which tests some Newlib details. Did the switch to TLS exceptions end up on 6? I cannot see anything in the RSB commit history mentioning it. No, I wait for your feedback. Here is a back port

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

2022-07-19 Thread Chris Johns
em. Which archs in the list have you run the testsuite on? Has any of newlib's tests been run? Can we run newlib tests? Did the switch to TLS exceptions end up on 6? I cannot see anything in the RSB commit history mentioning it. Are these TLS allocations in newlib based on a single use of a new

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

2022-07-19 Thread Sebastian Huber
On 13/07/2022 11:24, Sebastian Huber wrote: This makes the --enable-newlib-reent-thread-local (_REENT_THREAD_LOCAL_STORAGE) Newlib configuration option available. Any comments with respect to using the Newlib thread-local storage configuration option for arm, i386, microblaze, nios2, powerpc,

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

2022-07-13 Thread Sebastian Huber
%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

[RSB 3/3] 6/7: Use TLS in Newlib

2022-07-13 Thread Sebastian Huber
Use the --enable-newlib-reent-thread-local (_REENT_THREAD_LOCAL_STORAGE) Newlib configuration option on all targets which support thread-local storage. Update #4560. --- rtems/config/6/rtems-aarch64.bset| 1 + rtems/config/6/rtems-arm.bset| 1 + rtems/config/6/rtems-i386.bset |

[RSB 2/3] newlib: Support "with_newlib_tls"

2022-07-13 Thread Sebastian Huber
Update #4560. --- source-builder/config/gcc-common-1.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg index 694a1f3..f6ec883 100644 --- a/source-builder/config/gcc-common-1.cfg +++

[RSB] GCC 12 libstd++ Fix lifetime bugs for non-TLS eh_globals

2022-06-21 Thread chrisj
Hi, This patch applies the fix for non-TLS eh_globals archs. See: https://devel.rtems.org/ticket/4661 https://gcc.gnu.org/bugzilla/attachment.cgi?id=53103 Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] tools/gnu: Enable LTO in RSB tools

2022-06-15 Thread Chris Johns
that I know of and this patch enables the support by default. The RSB > incorrectly supported the configure `--enable-lto` option. That option > controls > the host build and when enabled the built host executables are built with > LTO. > > For RTEMS buil

<    1   2   3   4   5   6   7   8   9   10   >