214 Commits

Author SHA1 Message Date
Chris Johns
ee02d32288 gcc: gcc-4.9-1.cfg Make-lang patch checksum error
Updates #4991
2024-02-19 10:43:35 +11:00
Kinsey Moore
08a73975ae qemu: Update CFLAGS and LDFLAGS overrides
QEMU used to honor LDFLAGS and CFLAGS and has since moved to accepting
them via --extra-cflags and --extra-ldflags options to configure.
2024-02-04 22:54:48 -06:00
Chris Johns
052ae74bb2 bare/or1ksim: Fix invalid hash and fix the version 2023-12-13 14:08:28 +11:00
Chris Johns
08a44186e0 hash: Fix missing hashes after errors if missing 2023-12-07 10:31:58 +11:00
Chris Johns
a970057f46 gdb: Add options to control the python version
The options are:
  --with-python2
  --with-python3
  --with-python-version

Closes #4973
2023-11-30 09:14:37 +11:00
Chris Johns
9e57632bef 6: Fix gcc-13 support for MacOS
Update #4921
2023-11-28 18:17:11 +11:00
Kinsey Moore
deba39fea4 qemu: Adjust cgem interrupt patch
This patch is being moved to the 5.2.0-1 QEMU configuration because the
Xilinx QEMU build uses the 5-1 configuration and this patch does not
apply to Xilinx's modified tree. This also adds a new patch that applies
correctly to Xilinx's modified QEMU tree.

Updates #4919
2023-10-07 14:48:16 -05:00
Kinsey Moore
34cecb8b69 qemu-5-1: Update to the latest CGEM patch
The original version of this patch had a conflict between the two
interrupts where the program-viewable interrupt state could be
deasserted when it should have been asserted. The new version of this
patch resolves that conflict.
2023-06-26 17:06:39 -05:00
Kinsey Moore
ac1fee4f04 qemu-5-1: Add patch for ZynqMP/Versal CGEMs
This temporarily adds a patch to fix badly behaving CGEM peripherals
under QEMU. The referenced patch has been submitted for inclusion in
the upstream QEMU repository.

Updates #4919
2023-06-16 08:37:42 -05:00
Chris Johns
4c73a76c80 print/texinfo: Add texinfo package
- MacOS systems do not come with makeinfo

- Fix the internal build logic. There was config logic in a
  bset file that does not support logic operators. Use a
  special tmp internal path to isolate the internal tools.
2023-04-12 12:08:43 +10:00
Chris Johns
78913bcbba gdb-common: Fix the python-config library parsing
Closes #4894
2023-04-11 05:59:40 +00:00
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
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
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
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
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
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
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
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
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
Sebastian Huber
4301130dec Add GMP as a prerequisite for GDB 2020-12-21 06:40:51 +01:00
Sebastian Huber
ea77e182d4 expat: Disable shared libraries
This should ensure that GDB is linked using the static libexpat.a built
by the RSB.
2020-12-21 06:40:51 +01:00
Chris Johns
07261837a2 devel/qemu: Update QEMU to 5.2.0-rc1
- This version of qemu uses meson and ninja to build. You will need
  to install ninja to build. No checks are made until meson run
2020-11-13 09:24:06 +11:00
Chris Johns
12418190b9 sb/track: Add a command to track build sets.
- Process a build set for a range of hosts and output a dependency
  tree, the used build set and configuration files.
- Output the configuration files that are no referenced

Closes #4036
2020-08-10 16:19:47 +10:00
Chris Johns
907eabfc3c sqlite: Change to https for downloading the source package. 2020-06-26 11:53:57 +10:00
Chris Johns
955c1c173e bare/qemu: Fixes building on FreeBSD
- Move the qemu config to a common file shared by qemu and qemu4.

- Disable nettle on qemu4, FreeBSd complained.

- Add some extra git cleaning steps to the git path. These however
  do not full clean the qemu submodules and it is not worth the
  effort to try and fix.

- The devel/qemu will not build on machines with python set to
  python3. This will not be fixed, use qemu4.

Closes #3966
2020-05-08 14:33:44 +10:00
Chris Johns
846c979058 devel/dtc: Change the home page to www.devicetree.org 2020-04-28 18:36:41 +10:00
Anders Montonen
d5ad66747c source-builder/config/gdb-common-1.cfg: Fix building with Python 3.8
Starting with Python 3.8, python3-config requires the "--embed" flag to
print the flags required for embedding Python in an application.

Fixes:
error: shell macro failed: /home/anders/work/rtems/rsb/source-builder/sb/rtems-build-dep -c gcc  -l : 2: error: no library (-l) provided

Signed-off-by: Anders Montonen <Anders.Montonen@iki.fi>
2020-04-28 08:49:56 +10:00
Vijay Kumar Banerjee
190b39e913 source-builder: Add capstone 2020-04-10 08:44:32 -05:00
Hesham Almatary
70775f90cb rsb: Fix Spike build
* There is no all$ target in Spike
* There is no longer --with-fesvr flag since fesvr is source-inlined
by default
2020-04-09 12:38:08 +01:00
Jonathan Brandmeyer
113c65cb56 databases/sqlite: Update to 3.31.1
closes #3927.
2020-04-02 19:08:16 -05:00