From: Stefan Wallentowitz <stefan@wallentowitz.de>
To: openrisc@lists.librecores.org
Subject: [OpenRISC] OpenRISC RTEMS
Date: Sat, 19 Mar 2016 13:30:32 +0100 [thread overview]
Message-ID: <56ED4668.2070408@wallentowitz.de> (raw)
In-Reply-To: <56D49EF1.2050104@oarcorp.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Joel, Hi Hesham,
(included the new mailing list)
I am currently in the process of releasing prebuilt RTEMS toolchains
for OpenRISC. We have started a tutorial repository for multiple
targets and want to distribute baremetal, Linux and RTEMS examples
with it.
For that I am bumping the GCC version to 4.9.3 and GDB to 7.9. I am
adopting the patching mechanism that Hesham also used in RSB, but I
found a critical difference during the build.
Joel supplied the RTEMS patch here:
https://github.com/openrisc/or1k-gcc/commit/1ee8ef4190f85934479fa00abbc29e164af80f00
In the target macros elfos.h is missing:
https://github.com/openrisc/or1k-gcc/commit/1ee8ef4190f85934479fa00abbc29e164af80f00#diff-fb3f1781891204d8e51adc85578e9a19R2179
Hesham's build includes elfos.h:
https://github.com/heshamelmatary/or1k-rtems/blob/master/patches/gcc-4.8.2-or1k-rtems.diff#L5701
After applying an or1k patch to GCC from our development branch, the
critical part is the ASM_OUTPUT_ASCII macro:
https://github.com/openrisc/or1k-gcc/blob/or1k-4.9.3/gcc/config/or1k/or1k.h#L1022
The function used there is only defined in the ARM port, hence I think
this is an artifact. In our standard builds the macro is overwritten
by elfos.h.
I think the default fix is to include elfos.h in the target macros,
but I was wondering if something speaks against it. Is it a decision
to keep it out, Joel?
Sorry, I am not an expert on this stuff.
Best,
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlbtRmgACgkQuMYtsrn2U9wqyACfeEO2qA/R+DXo1cNXdZlTctwf
mekAnRfjaHXcuanNMrKODCUa7XbJP8Wf
=xINJ
-----END PGP SIGNATURE-----
next parent reply other threads:[~2016-03-19 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <56D49EF1.2050104@oarcorp.com>
2016-03-19 12:30 ` Stefan Wallentowitz [this message]
2016-03-19 14:56 ` [OpenRISC] OpenRISC RTEMS Joel Sherrill
2016-03-19 15:15 ` Stefan Wallentowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56ED4668.2070408@wallentowitz.de \
--to=stefan@wallentowitz.de \
--cc=openrisc@lists.librecores.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.