655 Commits

Author SHA1 Message Date
Chris Johns
05f6bef093 devel/mpfr: Add MPFR as a package
- This is a place holder incase we stop building MPFR in
  GCC.

Updates #4892
2023-04-05 10:11:15 +10:00
Chris Johns
235c12feeb devel/mpfr: Update to 4.2.0 to support MacOS AARCH64
- Use base64 checksums

- Change MPFR URL

Updates #4892
2023-04-05 10:10:34 +10:00
Chris Johns
4358a038c6 devel/gmp: Disable assemble builds on MacOS AARCH64
Updates #4892
2023-04-05 10:09:29 +10:00
Chris Johns
f3c5dbdce6 rtems/gcc: Do not build GMP in GCC, use the staged build
- Do not build GMP when building GCC. GMP is now built
  as a package for GDB. Building as a separate package
  lets use control how it is built.

Updates #4892
2023-04-05 10:09:29 +10:00
Chris Johns
9919f1217c gdb: Use a virtual environment if present
- Detect and use a virtual environment if present

- Supports MacOS with python.org in a venv

Updates #4892
2023-04-05 10:09:21 +10:00
Chris Johns
344981a8f8 dtc: Disable warnings
Updates #4892
2023-04-04 15:22:11 +10:00
Chris Johns
f0e34eab8b binutils: Disable stack exec and RWX section warnings
Binutils 2.39 and later enable by default warnings for executables
with executable stack and RWX sections. Disable them.

Closes #4881
2023-03-22 09:11:08 +11:00
Karel Gardas
0054104e37 grub2.cfg: fix GRUB compilation with GCC 12. 2023-03-19 23:26:37 +01:00
Chris Johns
e5abdec853 6/gdb: fix building on FreeBSD 13.1
See https://sourceware.org/bugzilla/show_bug.cgi?id=30214

Closes #4872
2023-03-09 15:45:18 +11:00
Kinsey Moore
6685718699 Revert github tarball hash changes
GitHub has reverted the change that caused all these tarball hashes to
change and so we follow suit.
2023-02-01 10:36:50 +11:00
Kinsey Moore
5c01a44221 Update hashes for github-sourced tarballs
Github has changed the way it generates on-the-fly tarball requests
which has changed the hashes of the resulting tarballs. This adjusts the
affected tarball hashes as a stop-gap until a more permanent solution
can be devised.
2023-01-30 17:12:12 -06:00
Frank Kühndel
b3b53c5242 RSB: Mitigate too short error reports
Close #4642
2023-01-23 11:59:49 +01:00
Sebastian Huber
949cf500b4 gdb: Use https for downloads 2022-11-10 15:11:42 +01:00
Karel Gardas
b02f7788e8 devel/sis: fix compilation of SIS on Mac OS X
SIS compiles on Mac OS X fine, but without providing --host/--build
configure options. Removing them solves the issue of configure not being
able to recognize arm64-darwin platform.
2022-10-24 21:17:42 +02:00
Karel Gardas
0388c4b8b2 testproc/gsed: fix compilation of GNU sed on Mac OS X
GNU sed compiles on Mac OS X fine, but without providing --host/--build
configure options. Hence removing them solved the issue of configure
not being able to recognize arm64-darwin platform.
2022-10-24 00:33:06 +02:00
Chris Johns
953b8391c0 sb/set-bulder: Fix installing builds when a single buildset
- Always stage a build

- Install if installable and outter most buildset instance

Closes #4730
2022-10-01 06:32:24 +10:00
Chris Johns
e04c84191b sb/execute: Fix incremental decoder with --dry-run
Closes #4726
2022-10-01 06:31:46 +10:00
Chris Johns
cfed1659a2 sb/version: Set top from external package 2022-09-30 07:06:27 +10:00
Chris Johns
d7fb57fa9f sb/execute: Use a decoder that maintains state aross blocks
Update #4726
2022-09-30 07:05:53 +10:00
Chris Johns
336f15cc75 sb/set-builder: Fix staging and tar file generation with a single config build
Closes #4730
2022-09-29 18:55:15 +10:00
Chris Johns
f86bc1da52 sb/setbuilder: Install the build when stagging or configured to install 2022-09-16 16:55:41 +10:00
Chris Johns
468fc79e8c devel/gcc: Check and build GNU sed if not available on build host
Closes #2300
2022-09-14 16:56:25 +10:00
Chris Johns
27c61da6df textproc/gsed: Add GNU sed build support
Updates #2300
2022-09-14 16:56:18 +10:00
Chris Johns
6f7eba4f1a sb/setbuilder: Do not install if --no-install option is used
- This is a bug introduced in the recent bset tar file changes
2022-09-14 16:39:46 +10:00
Chris Johns
6205068c5a sb/setbuilder: Correctly create build set tar files
- 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
2022-09-09 09:08:09 +10:00
Chris Johns
1ce36943e9 sb/build.py: Output build scripts to trace
- Only remove the build directory when not a dry run
2022-09-09 09:08:09 +10:00
Chris Johns
18b4507fc5 sb/config: Correctly handle multiple config paths
- Add rtems/config to the config directories searched to better
  support deployment

- Correctly expand the configdir and path searchs

Close #4710
2022-09-09 09:08:09 +10:00
Chris Johns
3a4892dce1 sb/setbuilder: Support line continuation 2022-09-09 09:08:09 +10:00
Chris Johns
17106e0e3c sb/rtems-kernel-config-check: Support multiple BSPs and add a test option 2022-09-09 09:08:09 +10:00
Chris Johns
be25beed29 sb/rtems-kernel-config-check: Reformat using yapf 2022-09-09 09:08:09 +10:00
Chris Johns
3cb78b0b81 config: Various updates to fix downloading of sources 2022-08-17 14:52:12 +10:00
Chris Johns
66cfc0052b sb/gcc-common: Allow URL overrides for downloaded source
- This allows the URL for an older package to be defined when
  gcc no longer hosts it
2022-08-17 14:52:12 +10:00
Chris Johns
cbcf8698a8 sb/get-sources: Fix getting sources with archs
- Add a stop on error option

- Add listing root or toplevel buildset files

- Add used and unused file output to track what is not used
  for clean ups

- Update to handle macro expanded includes in buildset files
2022-08-17 14:52:12 +10:00
Sebastian Huber
958de508aa newlib: Support --with/without-newlib-tls
This RSB option defines if the --enable-newlib-reent-thread-local
(_REENT_THREAD_LOCAL_STORAGE) Newlib configuration option is used or not.

Update #4560.
2022-07-21 09:05:00 +02:00
Chris Johns
1a24c6cfdb tools/gnu: Enable LTO in RSB tools
The change enables the building of LTO into RTEMS tools. Compiler
options are required to enable use in an application.
2022-06-16 12:45:38 +10:00
Joel Sherrill
e73a258a3a source-builder/sb/options.py: Change arc to arch in help 2022-05-22 18:28:08 -05:00
Kinsey Moore
620b62436a source-builder: Handle utf8 in path
It's possible for an environment to have unicode characters in its
paths. This was recently exposed by the latest newlib update and RSB
fails under Python 2.7 in this situation. This resolves the issue by
ensuring that the paths are encoded and decoded as necessary.

Related issue that caused the change in newlib:
https://github.com/golang/go/issues/27836
2022-05-16 17:35:23 -05:00
Chris Johns
7d80719f74 sb/setbuilder: Control buildsets using the --with-* command line option
- Expand macros in buildset file names

- Add support to buildsets for `%defineifnot`

- Update 6 and 7 to support command line build overrides

Closes #4646
2022-05-05 12:32:16 +10:00
Sebastian Huber
3cad3c8cc9 6: Use mpc-1.0.3
This is necessary since mpc-1.2.1 requires mpfr-4.1.0.
2022-04-27 08:29:19 +02:00
Sebastian Huber
7eaefb28ee 6: Use isl-0.18
There are build problems with isl-0.24 on CentOS 7.9.
2022-04-27 07:28:24 +02:00
Sebastian Huber
22cb79b1f0 6: Use mpfr-3.1.6
There are build problems with mpfr-4.1.0 on macOS.
2022-04-27 07:20:27 +02:00
Chris Johns
70f302e08c gdb: Split python's version into major/minor and check for embed option
Closes #4631
2022-04-26 10:13:41 +10:00
Chris Johns
4c3708f127 sb: %if checks are numeric if the left and right values are numbers
- If the left and right values are numbers make the check numeric.

Update #4631
2022-04-26 10:12:58 +10:00
Sebastian Huber
ed875ac52f gcc: Disable -Werror
For release branches -Werror is disabled by default, however, for the
development branch of GCC it is enabled.  Make sure that it is always disabled.
2022-04-25 09:23:02 +02:00
Sebastian Huber
6cf31074fa 6/7: Update GCC prerequisites for GCC 10 and 12 2022-04-22 08:46:06 +02:00
Sebastian Huber
a6ee3cb286 gcc: Move GMP, MPC, MPFR sources to common
Use GCC infrastructure download directory for GCC prerequisites.
2022-04-22 08:40:17 +02:00
Sebastian Huber
571a182d4a GDB: Prefer Python 3 over 2
This fixes the build of a recent GDB version:

gdb/python/py-micmd.c: In function 'int micmdpy_uninstall_command(micmdpy_object*)':
gdb/python/py-micmd.c:430:20: error: 'PyDict_GetItemWithError' was not declared in this scope
   PyObject *curr = PyDict_GetItemWithError (mi_cmd_dict.get (),
                    ^~~~~~~~~~~~~~~~~~~~~~~
2022-03-21 09:01:01 +01:00
Sebastian Huber
09b84c4c2a sb/linux.py: Simplify "distro" determination
This fixes an issue on Debian 11 which contains "Debian" in /etc/issue
(capital D).
2022-01-24 07:56:16 +01:00
Karel Gardas
dbc11a81b7 RSB: add GRUB2 to the RTEMS tools and use it in 6/rtems-x86_64 build set 2021-11-18 11:06:04 -06:00
Ryan Long
def934785d rtems-kernel: Implement kernel recipe using waf
Closes #4145
2021-11-09 11:10:40 -06:00