On 13/11/2018 21:20, Stafford Horne wrote:
On Tue, Nov 13, 2018 at 11:57:13AM -0600, Joel Sherrill wrote:
Sebastian confirmed he couldn't get a complete RTEMS build either.
I looked into this enough to spot that old or1k port's libgcc/config.host
has an extra_parts line for or1k-*-* that the gcc master does not:
The gcc master repo is missing the "extra_parts" line that was in the other
repository.
or1k-*-*)
tmake_file="$tmake_file or1k/t-or1k"
tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl t-softfp"
extra_parts="$extra_parts crti.o crtn.o"
;;
OK for Sebastian or I to add that line?
Hi Joel,
Did adding that fix the issue? We removed crti.o and crtn.o because we switched
to exclusive libc_init/fini_array. It should not help to add those back, see
the commit here:
https://github.com/stffrdhrn/gcc/commit/46131027c9775ebcddc48bd0ae64ceec5b1f801f
What is the error you are seeing?
It was an error in our GCC specs file. I fixed it like this:
https://git.rtems.org/rtems/commit/?id=28bf4cae7878f4e47cc24c114fc9c5567247ecc1
I was able to build the RTEMS BSP and link the tests with the upstream
GCC 9.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.