Update gcc-version rsb for 4.11
Marcos Díaz
marcos.diaz at tallertechnologies.com
Fri Jan 15 14:24:00 UTC 2016
Hi,
You can try if the latest snapshot of gcc works:
Check this patch, in this case I made a modification for the arm bset, if
you use another architecture you have to make the same change in your bset.
On Fri, Jan 15, 2016 at 9:39 AM, <soja-lists at aries.uberspace.de> wrote:
> Hi,
>
> The current version of the rsb loads the gcc-4.9.3 sources to build gcc.
> However as discussed previously Ada-support in this version is broken for
> RTEMS.
> The current 4.9-branch has a fix. Would it be possible to use a recent
> snapshot of this branch for the source builder until 4.9.4 is released?
>
> Best regards,
>
> Jan
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
--
______________________________
<http://www.tallertechnologies.com>
Marcos Díaz
Software Engineer
San Lorenzo 47, 3rd Floor, Office 5
Córdoba, Argentina
Phone: +54 351 4217888 / +54 351 4218211/ +54 351 7617452
Skype: markdiaz22
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160115/807dc709/attachment-0002.html>
-------------- next part --------------
diff --git a/rtems/config/4.11/rtems-arm.bset b/rtems/config/4.11/rtems-arm.bset
index c0bd04a..ec0d484 100644
--- a/rtems/config/4.11/rtems-arm.bset
+++ b/rtems/config/4.11/rtems-arm.bset
@@ -27,7 +27,7 @@
4.11/rtems-autotools
devel/expat-2.1.0-1
tools/rtems-binutils-2.24-1
-tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1
+tools/rtems-gcc-4.9-20160113-newlib-2.2.0-20150423-1
tools/rtems-gdb-7.9-1
tools/rtems-tools-4.11-1
tools/rtems-kernel-4.11
diff --git a/rtems/config/tools/rtems-gcc-4.9-20160113-newlib-2.2.0-20150423-1.cfg b/rtems/config/tools/rtems-gcc-4.9-20160113-newlib-2.2.0-20150423-1.cfg
new file mode 100644
index 0000000..cb2f186
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.9-20160113-newlib-2.2.0-20150423-1.cfg
@@ -0,0 +1,14 @@
+#
+# 4.9-20160113, Newlib 2.2.0-1 (actually a snapshot)
+#
+
+%define gcc_version 4.9-20160113
+%define newlib_version 2.2.0.20150423
+
+%hash md5 gcc-%{gcc_version}.tar.bz2 ef4f74a0870ff79b5f7407b57c2dcbc9
+%hash md5 newlib-%{newlib_version}.tar.gz c819de85d4cb4be540ebf6d405f42296
+
+#
+# The gcc/newlib build instructions.
+#
+%include tools/rtems-gcc-4.9-newlib-2.2.0-2.cfg
diff --git a/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-2.cfg b/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-2.cfg
new file mode 100644
index 0000000..08ec1c8
--- /dev/null
+++ b/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-2.cfg
@@ -0,0 +1,43 @@
+#
+# GCC 4.9.x., Newlib GIT.
+#
+
+%ifn %{defined gcc_version}
+ %error No GCC version defined.
+%endif
+
+%ifn %{defined newlib_version}
+ %error No Newlib version defined.
+%endif
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+%include %{_configdir}/versions.cfg
+
+%define mpfr_version 3.0.1
+%define mpc_version 0.8.2
+%define gmp_version 5.0.5
+
+%define with_threads 1
+%define with_plugin 0
+
+%ifn %{defined with_iconv}
+ %define with_iconv 1
+%endif
+
+#
+# Hash checksums of the libraries used in GCC.
+#
+%hash md5 mpfr-%{mpfr_version}.tar.bz2 bfbecb2eacb6d48432ead5cfc3f7390a
+%hash md5 mpc-%{mpc_version}.tar.gz e98267ebd5648a39f881d66797122fb6
+%hash md5 gmp-%{gmp_version}.tar.bz2 041487d25e9c230b0c42b106361055fe
+
+#
+# Newlib is a snapshot
+#
+%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
+
+#
+# The gcc/newlib build instructions. We use 4.9 Release 2.
+#
+%include %{_configdir}/gcc-4.9-2.cfg
diff --git a/source-builder/config/gcc-4.9-2.cfg b/source-builder/config/gcc-4.9-2.cfg
new file mode 100644
index 0000000..3a16f31
--- /dev/null
+++ b/source-builder/config/gcc-4.9-2.cfg
@@ -0,0 +1,31 @@
+#
+# GCC 4.9 Version 2.
+#
+# This configuration file configure's, make's and install's gcc. It uses
+# newlib, MPFR, MPC, and GMP in a one-tree build configuration.
+#
+
+#
+# Source
+#
+#
+# GCC core and G++
+#
+%source set gcc ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_version}/gcc-%{gcc_version}.tar.bz2
+
+#
+# Newlib
+#
+%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
+
+#
+# Packages GCC requires
+#
+%source set mpfr http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2
+%source set mpc http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz
+%source set gmp ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2
+
+#
+# GCC Common build script.
+#
+%include %{_configdir}/gcc-common-1.cfg
More information about the devel
mailing list