On Tue, Mar 10, 2015 at 1:19 PM, Gedare Bloom <ged...@rtems.org> wrote: > On Tue, Mar 10, 2015 at 5:35 AM, Hesham ALMatary > <heshamelmat...@gmail.com> wrote: >> Use newlib git repository and gcc snapshot that contains the latest moxie >> opcodes. Revert back to dtc-1.2.0 as dtc-1.4.1 would raise a compilation >> error. >> > What binutils version does it pick up? > >> Note: This patch is unstable, and it's meant to be a temporary solution until >> the next gcc release,the build process may or may not fail! >> > What do you mean unstable? Did you build a working toolchain for moxie > with this patch applied? > I did built it with this patch 3 times, 1 of them got me a working toolchain, the other two complain about the new opcodes. That's weird, I just submitted this patch for Chris to "take a closer look" [1]
[1] https://devel.rtems.org/ticket/2254#comment:5 >> Update #2254 >> --- >> rtems/config/4.11/rtems-moxie.bset | 14 +++++++++++--- >> 1 file changed, 11 insertions(+), 3 deletions(-) >> >> diff --git a/rtems/config/4.11/rtems-moxie.bset >> b/rtems/config/4.11/rtems-moxie.bset >> index 2e4962d..64c22fc 100644 >> --- a/rtems/config/4.11/rtems-moxie.bset >> +++ b/rtems/config/4.11/rtems-moxie.bset >> @@ -16,14 +16,22 @@ >> # >> %define win32-gdb-disable-sim >> >> +# Temporary solution until next gcc release to fix ABI changes. >> +%source set gcc >> ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/snapshots/5-20150301/gcc-5-20150301.tar.bz2 >> + >> +# Use gcc snapshot the has moxie ABI changes >> +%define gcc_version 5-20150301 >> + >> +%define newlib_version de616601501c4f82968683e80c112604a2d40222 >> + >> # >> # Tools configuration. >> # >> 4.11/rtems-autotools >> devel/expat-2.1.0-1 >> -devel/dtc-1.4.1 >> -tools/rtems-binutils-2.24-1 >> -tools/rtems-gcc-4.9.2-newlib-git-1 >> +devel/dtc-1.2.0 >> +tools/rtems-binutils-git-1 >> +tools/rtems-gcc-4.9-newlib-git-1 >> tools/rtems-gdb-7.8.2-1 >> tools/rtems-tools-4.11-1 >> tools/rtems-kernel-4.11 >> -- >> 2.1.0 >> >> _______________________________________________ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel -- Hesham _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel