1597 Commits

Author SHA1 Message Date
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
ce77a10078 rtems/kernel: Support a list of BSPs as arch/bsp 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
bf079c1f24 rtems/libbsd: Update to the latest on the 6-freebsd-12 branch 2022-09-09 09:08:09 +10:00
Chris Johns
29b944beb3 rtems/kernel: Update to the latest kernel
- Update hash file extension
2022-09-09 09:08:09 +10:00
Sebastian Huber
ec696356db 7: Update Binutils, GDB, and GCC 2022-09-08 15:31:00 +02:00
Sebastian Huber
be84706024 6: Update GCC 10 and 12
Update #4712.
2022-09-08 15:30:12 +02:00
Sebastian Huber
40af3b4d77 6/7: Update Newlib 2022-09-08 09:10:03 +02: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
4fd9fbd7c9 6: Enable some libstdc++ features
Enable TLS support for all RTEMS targets except bfin, lm32, m68k, mips, moxie,
or1k, and v850.  For all RTEMS targets, define HAVE_ALIGNED_ALLOC,
HAVE_AT_QUICK_EXIT, HAVE_LINK, HAVE_QUICK_EXIT, HAVE_READLINK, HAVE_SETENV,
HAVE_SLEEP, HAVE_STRERROR_L, HAVE_SYMLINK, HAVE_TRUNCATE, and HAVE_USLEEP.

Update #4668.
2022-08-17 14:52:00 +10:00
Sebastian Huber
eea3793701 6: Use local-exec TLS model by default
Update #4560.
2022-08-08 13:43:29 +02:00
Sebastian Huber
b3df00e7ee 6/7: Update to the latest rtems-tools
Update 4671.
2022-08-08 06:56:57 +02:00
Ryan Long
92a8731e06 rtems-tools-6.cfg: Bump hash 2022-08-01 11:02:25 -05:00
Sebastian Huber
c0e2abfea7 6/7: Update to the latest rtems-tools 2022-07-27 08:12:49 +02:00
Sebastian Huber
f4f5d43a98 6/7: Use TLS in Newlib for some targets by default
Use the --enable-newlib-reent-thread-local (_REENT_THREAD_LOCAL_STORAGE) Newlib
configuration option on the aarch64, arm, nios2, powerpc, riscv, and sparc
targets by default.

Update #4560.
2022-07-21 09:06:07 +02: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
Sebastian Huber
ae6e5983d8 6/7: Update Newlib
This makes the --enable-newlib-reent-thread-local (_REENT_THREAD_LOCAL_STORAGE)
Newlib configuration option available.

Update #4560.
2022-07-21 08:39:32 +02:00
Chris Johns
a2bda894e2 gcc12/libstdc++: Fix lifetime bugs for non-TLS eh_globals
- This is the fix from PR105880:
   https://gcc.gnu.org/bugzilla/attachment.cgi?id=53103

Closes #4661
2022-07-06 09:16:30 +10:00
Sebastian Huber
a4608ce16e 7: Update Binutils, GDB, and GCC 2022-07-01 14:41:16 +02:00
Sebastian Huber
c8f49c22d0 6/7: Update Newlib
This Newlib update fixes a FreeBSD kernel space issue with <sys/cpuset.h>.

Update #4667.
2022-07-01 14:41:14 +02:00
Sebastian Huber
6c2351ce61 6: Add GCC 10.4 with Newlib e7ffbdb 2022-06-29 10:39:58 +02:00
Sebastian Huber
9474bb8ee2 6: Back port v8 of gcov improvements to GCC 10
Update #4196.
2022-06-29 10:39:50 +02:00
Sebastian Huber
5295c711ca 6/7: Update Newlib
This Newlib update fixes a namespace pollution issue with <sys/bitset.h>.

Close #4667.
2022-06-24 07:50:20 +02:00
Sebastian Huber
26daf55e23 6: Update GCC 10 and 12 2022-06-22 17:10:40 +02:00
Sebastian Huber
cf0914f151 6: Back port v6 of gcov improvements to GCC 10
Update #4196.
2022-06-21 09:27:32 +02:00
Chris Johns
515973d7ab bare/gnu-tools: Update bare gnu-tools to gcc 12, binutils 2.38 and gdb 11.2
- This tracks the common RTEMS tools version. It does not track
  special builds that are specific to a tool set.

- Use with "--target=microblaze-elf gnu-tools" where the
  target is the tools to build
2022-06-17 09:04:15 +10: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
Chris Johns
171b8d8794 6/tools: Update to the latest commit 2022-05-18 18:21:23 +10:00
Karel Gardas
5e76e64bcc ISL, MPC, MPFR: fix configuration issues on ARM64/Darwin host
Updates #4657.

Sponsored-By:	Precidata
2022-05-17 13:32:14 -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
Sebastian Huber
3abfc9cdfc 7: Remove superfluous GCC patch 2022-05-09 12:06:56 +02:00
Sebastian Huber
c166f2808b 7: Update Binutils, GDB, and GCC 2022-05-09 08:05:20 +02:00
Sebastian Huber
5a53e79153 6: Update to GCC 12 2022-05-09 07:58:53 +02: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
22e32ecc27 7: Back port gcov-tool merge-stream to GCC 12
Update #4196.
2022-05-04 07:49:32 +02:00
Sebastian Huber
5866194b11 7: Update Binutils, GDB, and GCC 2022-05-04 07:49:31 +02:00
Sebastian Huber
a53d2c9432 7: Update Binutils, GDB, and GCC 2022-04-27 15:34:58 +02:00
Sebastian Huber
eca88d98dd 7: Update Binutils, GDB, and GCC 2022-04-27 08:30:55 +02: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
990e3f05e6 6/7: Use gmp-6.2.1 for GDB 2022-04-25 10:10:03 +02:00
Sebastian Huber
83d40f0b6b 6/7: Use expat-2.4.8 2022-04-25 09:30:53 +02:00