1424 Commits

Author SHA1 Message Date
Chris Johns
1e5a261872 rtems-5: Move GDB to as early in the build as possible.
This should show the python build errors as soon as possible.
2018-10-12 10:44:48 -07:00
Chris Johns
7bb268ba19 darwin: Work around symlink issues on Darwin with APFS building libstd++.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797

Updates #3171
2018-10-12 10:00:39 -07:00
Sebastian Huber
35c533f545 5: Update Newlib
Pick up POSIX header file changes and improved opendir() implementation.
This addesses time of check and time of use error conditions (TOCTOU).

Update #3530.
Update #3545.
Update #3546.
Update #3547.
2018-10-11 15:35:50 +02:00
Chris Johns
d2d46786f1 sb: Include optional args in the valid option processing.
Optional arguments were not being included in the valid list of
options being checked so `--mail` resulted in being unknown.
2018-09-28 08:16:49 +10:00
Chris Johns
079f95a91b sb: Add build sizes to the email report.
- Include build sizes in the email report.

Updates #3516
2018-09-28 08:15:55 +10:00
Chris Johns
38fd56c8a8 sb: Monitor the build disk usage. Report the usage, total and various sizes
- Track the size of a build of a package in a build set to determine the
  maximum amout of disk space used. This can be used as a guide to
  documenting how much space a user needs to set aside to build a specific
  set of tools.

- The `%clean` stage of a build is now split into a separate script.
  I do not think this is an issue because I could not find any `%clean`
  sections in any build configs we have. In time support for the
  `%clean` section will be removed, the package builder cleans up.

Closes #3516
2018-09-28 07:36:49 +10:00
Chris Johns
a16bfe19ef sb: Raise an error if an option is not registered and unknown.
Close #3519.
2018-09-15 17:43:29 +10:00
Joel Sherrill
219a4babbc source-builder/config/gcc-4.8-1.cfg: mpc download link changed again 2018-08-29 15:16:37 -05:00
Sebastian Huber
02302026cc 5: Update Newlib
Pick up POSIX header file changes for an upcomming FreeBSD baseline
update in libbsd.

Update #3472.
Close #3491.
2018-08-28 07:12:29 +02:00
Sebastian Huber
79c83cd097 5: Update Newlib for RISC-V
Use the latest Newlib to fix the GCC libgomp build (TLS support was not
detected due to broken crt0).

Update #3452.
2018-08-20 14:08:57 +02:00
Sebastian Huber
01600ac88f 5: Update tools for RISC-V BSP builder support
Update #3433.
2018-08-07 07:06:01 +02:00
Sebastian Huber
8f742407bd 5: Update Newlib
It includes a fix for bug in the ctype support, some FreeBSD
compatibility changes in <sys/cdefs.h> for libbsd and a new
configuration option for all targets newlib/configure.host which is used
by the RISC-V port.

Close #3452.
2018-08-03 07:07:43 +02:00
Sebastian Huber
c40d1260e0 5: Change riscv32 back to riscv
Update Binutils to include a bug fix for:

https://sourceware.org/bugzilla/show_bug.cgi?id=23451

Update #3452.
2018-07-30 10:10:43 +02:00
Sebastian Huber
2cd6cefe0e 5: Change riscv to riscv32
This is a temporary workaround for this bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=23451

It is not clear how this can be resolved upstream.

Update #3452.
2018-07-26 07:59:33 +02:00
Sebastian Huber
2ef6dfe921 5: Fix rtems-all due to recent RISC-V changes
Update #3452.
2018-07-24 12:10:14 +02:00
Sebastian Huber
d33c1519f2 5: Merge riscv32 and riscv64 into riscv
After several upstream updates in Binutils, GCC, Newlib, and GDB it is
now possible to use a common riscv tool chain for the 32-bit and 64-bit
RISC-V.

Update GDB to ce73f310150418a9a1625ab60a527d959096a9e2 Git commit.

Close #3452.
2018-07-23 15:00:13 +02:00
Sebastian Huber
dc6b9405ac 5: Update Newlib
Update RISC-V GCC to a GCC 9 branch commit.

Close #3342.
Close #3343.
Update #3452.
2018-07-23 15:00:13 +02:00
Sebastian Huber
6725614f96 5: Update to Binutils 2.31.1 2018-07-23 15:00:10 +02:00
Sebastian Huber
100ddee925 Allow external Newlib sources 2018-07-23 06:59:15 +02:00
Sebastian Huber
25f4db09c8 5: Update tools to not build obsolete BSP variants
Update #3459.
2018-07-03 07:11:43 +02:00
Sebastian Huber
4bd8de535b 5: Use GCC 8 snapshot for RISC-V
This picks up the new multilib set for RISC-V.

Update #3452.
2018-06-21 12:45:32 +02:00
Sebastian Huber
8ee4e8cd55 5: Update RISC-V Binutils and GDB
This includes the following bug fix:

https://sourceware.org/bugzilla/show_bug.cgi?id=23305

Update #3452.
2018-06-20 07:37:34 +02:00
Chris Johns
2ef6e4820d 5: Update tools to fix rtems-test coverage support. 2018-06-20 09:31:01 +10:00
Chris Johns
ea6a04262f gdb: Download the gdb-8.0.1-sis-leon2-leon3 patch from an RTEMS ticket
Closes #3460
2018-06-20 09:28:10 +10:00
Chris Johns
c5715172d9 gdb: Add a gdb-common configuration and have gdb-7-1 include it.
Updates #3460
2018-06-20 09:28:10 +10:00
Sebastian Huber
9e95b79989 5: Update tools for CXC x86_64-w32-mingw32 support
Close #3461.
2018-06-19 12:21:29 +02:00
Sebastian Huber
2149755543 Fix CXC compilation of RTEMS tools
Update #3461.
2018-06-19 12:12:45 +02:00
Sebastian Huber
528ee187ea 5: Update tools to ship rtems-bin2c
Update #3380.
2018-06-15 07:11:55 +02:00
Amaan Cheval
20f62cd487 x86_64/binutils: Add PEI target to build UEFI application images
Updates #2898.
2018-06-13 11:03:07 -04:00
Sebastian Huber
8ef0d7394c 5: Add GDB for RISC-V
Mainline GDB support for RISC-V is not yet in a released GDB version.

Close #3453.
2018-06-13 10:44:28 +02:00
Sebastian Huber
f432e19a54 5: Update RISC-V Binutils
This includes the following bug fix:

https://sourceware.org/bugzilla/show_bug.cgi?id=23244

Update #3452.
2018-06-13 10:44:17 +02:00
Sebastian Huber
d8daad23f4 Build only the GDB
The Binutils and GDB share a repository.  In order to build the GDB
from a repository snapshot some components must be disabled.

Update #3453.
2018-06-13 10:43:53 +02:00
Sebastian Huber
9530518b4a Build only the Binutils
The Binutils and GDB share a repository.  In order to build the Binutils
from a repository snapshot some components must be disabled.

Update #3452.
2018-06-13 10:37:46 +02:00
Amaan Cheval
a3a6c34c15 x86_64/gcc: Have gcc build crti.o and crtn.o
The original commit in GCC's repo is here:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ab55f7db3694293e4799d58f7e1a556c0eae863a

We need this to be able to use crti.o and crtn.o in the bsp_specs file for the
port, and therefore provide missing symbols like "_fini" which RTEMS assumes are
defined in:

./cpukit/libcsupport/src/newlibc_exit.c
2018-05-14 11:24:43 +02:00
Amaan Cheval
defa958301 x86_64/gcc: Add gcc patch for LIB_SPEC (rtems.h in gcc)
Adds -qnolinkcmds, -qrtems, and defaults to pass to linker, for
gcc targeting x86_64.

Corresponding gcc commit:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=602fa1e9d3ea5e87d4d6e17e3e91fc2647e42da3
2018-05-04 11:37:13 +10:00
Chris Johns
aa798b5cd8 Revert "x86_64/gcc: Add gcc patch for LIB_SPEC (rtems.h in gcc)"
This reverts commit 8e763905381755ec2e421bb50d92166cc7fd8ec5.
2018-05-04 11:36:53 +10:00
Amaan Cheval
8e76390538 x86_64/gcc: Add gcc patch for LIB_SPEC (rtems.h in gcc)
Adds -qnolinkcmds, -qrtems, and defaults to pass to linker, for
gcc targeting x86_64.

Corresponding gcc commit:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=602fa1e9d3ea5e87d4d6e17e3e91fc2647e42da3
2018-05-04 11:34:27 +10:00
Chris Johns
6ac3ed87d3 bare/devel: Add qemu-couverture support.
Add a build set and configuration to build a QEMU we can use for
coverage testing.
2018-05-01 11:58:43 +10:00
Chris Johns
10d3aaf467 rtems-tools: Update to pick up the --enable-rtems-debug fix. 2018-04-24 15:39:39 +10:00
Sebastian Huber
1645debc4f bootstrap: Do not generate acinlude.m4 files
Do not generate files which are part of the Git repository.  These files
should be maintained manually in the future.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 13:36:33 +02:00
Sebastian Huber
50593d4406 5: Use a specific RTEMS tools version
Download via cgit archive.

Close #3403.
2018-04-18 07:50:33 +02:00
Chris Johns
cabaff8206 sb/path: Walk up to root checking if a path is writable.
A dirname of / is / so the path will never have a length of 0.

Close #3392
2018-04-13 13:02:51 +10:00
Chris Johns
162cbda055 sb/config: Terminate building on an error.
This changes the previous functionality where the RSB switch to
dry run mode. This functionality can be enabled by adding
`--keep-going`.

Close #3209.
2018-04-10 17:59:48 +10:00
Chris Johns
4b3e0f8e3d The libexpat project has moved to github. Fetch expat from github.
Close #3315
2018-03-05 08:29:40 +11:00
Chris Johns
d255e812ab sb: Convert any unicode keys to strings
Closes #3312
2018-02-23 13:04:35 +11:00
Maksim E. Kozlov
d30be3129e sb: Add option to set location of the patches directory
Signed-off-by: Maksim E. Kozlov <maksim.e.kozlov@gmail.com>
2018-02-20 09:51:05 +11:00
Chris Johns
d2b25d131d sb: Option --source-only-download does not download the source.
The option expansion is missing `--with-download'.
2018-02-08 09:18:34 +11:00
Chris Johns
858b6488e4 gcc: Use the RSB release for released tools.
Using the RSB release version for the gcc version string means the
tools have a version string that matches the release.

Close #3294
2018-02-07 15:28:35 +11:00
Stephan Gambke
18e1ba6a40 sb: Switch some md5 hashes to sha256
Using md5 hashes will break the building of qemu.bset,
so switch all involved hashes to sha256
2018-02-05 09:40:54 +11:00
Stephan Gambke
dde330b8f8 sb: Fix path.py
is_abspath() now considers zero-length strings

Also: Remove not needed line in expand()
2018-02-05 09:40:47 +11:00