1216 Commits

Author SHA1 Message Date
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
Sebastian Huber
703532cb04 5: Add versions to file names 2018-01-31 09:29:14 +01:00
Sebastian Huber
2a5c9da489 Avoid hard coded GCC binary paths
In order to build a tool chain with Ada support a native GCC with Ada
support of the same version as the cross compiler is required.  The RSB
used hard coded paths for the gcc and g++ programs.  This forced the RSB
user to change the main GCC installation of the machine to build a
particular RTEMS tool chain.  This is undesired/infeasible in most
situations.

Close #3284.
2018-01-31 09:24:47 +01:00
Sebastian Huber
6d9c77c77d 5: Update to Binutils 2.30 2018-01-29 07:23:54 +01:00
Sebastian Huber
d7fd32078a 5: Update to Newlib 3.0.0 and GCC 7.3
Epiphany target can now use the default build set.  The or1k and m32c
targets still need special GCC versions.
2018-01-26 14:38:55 +00:00
Chris Johns
a293ddc992 sb: Disable a log file for the check command.
Fix a minor issue in the log module.
2018-01-18 13:38:52 +11:00
Chris Johns
3ddbd791b8 sb: Add an orphan check to sb-check.
The orphans check lets you see which configuration and build set
files in the RSB are not referernced. You can audit the list and
remove any configuration files not being used. Top level
build set files are included so you need to becareful not to
remove something that is valid and useful. To run:

 $ ./source-builder/sb-check --check-orphans
2018-01-18 13:16:47 +11:00
Sebastian Huber
f3b1700dfd 5: Update SPARC chip errata workarounds
Update #3242.
2017-12-19 09:38:44 +01:00
Sebastian Huber
7034d65872 5: Ada: Fix more POSIX types
Update #3256.
2017-12-04 08:03:00 +01:00