source: rtems-source-builder/rtems/config/tools/rtems-gcc-12-newlib-head.cfg @ b3df00e

Last change on this file since b3df00e was ae6e598, checked in by Sebastian Huber <sebastian.huber@…>, on 07/13/22 at 08:48:18

6/7: Update Newlib

This makes the --enable-newlib-reent-thread-local (_REENT_THREAD_LOCAL_STORAGE)
Newlib configuration option available.

Update #4560.

  • Property mode set to 100644
File size: 3.1 KB
Line 
1%include %{_configdir}/checks.cfg
2%include %{_configdir}/base.cfg
3
4%define gcc_version 1ad2ee2
5%define gcc_external 1
6%define gcc_expand_name gnu-mirror-gcc-%{gcc_version}
7%source set gcc --rsb-file=%{gcc_expand_name}.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/%{gcc_version}
8%hash sha512 %{gcc_expand_name}.tar.gz \
9         gp/NvbxoTiinRQDjihnAL9ybGc73pS4g8Ygx4cEmUemszIpdr9OdPI55g+XCeU1sv4Qrg5F3daCAUkzRBG/8dg==
10
11%patch add gcc -p1 --rsb-file=PR105880-libstdcxx-Fix-lifetime-bugs-for-non-TLS-eh_globals.patch \
12        https://gcc.gnu.org/bugzilla/attachment.cgi?id=53103
13%hash sha512 PR105880-libstdcxx-Fix-lifetime-bugs-for-non-TLS-eh_globals.patch \
14        4ueSYXR59fcp0tch/6p4ktay2srtx6h2hmREL4qtNr4TvglwurWUdqN3c9mIe38YDPcY/braF+83vHSCybg33Q==
15
16%patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch
17%hash sha512 0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch \
18        QT8UN0hW+L/Su5Slbxhg//j+mpNvM8lv32paDFow4s99BQJtAzjoswAVqT2AFppgI5cHa5R8gpKsW1zcIjfsTg==
19
20%patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch
21%hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch \
22        fKI36r/Vs4JxMYbh/CkN/JmaNTMVeV7LjdDSL80at/W/MfQymVStq5GtBMEA3KwOhtQG/bzo+Cz53COELIjK9g==
23
24# Following patches are related to compilation on Apple M1/Darwin host platform.
25# They are here to workaround issues with ISL, MPFR and MPC libraries.
26# Upstream projects were already informed so hopefully when RSB moves
27# to more modern libraries versions they may be removed from here.
28# The patches are solely for libisl 0.24, libmpfr 4.1.0 and libmpc 1.2.1
29# See #4657 for more information.
30%patch add isl -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch
31%hash sha512 fix-mac-arm64-isl-config.patch \
32        wH/bYFplINGUNYUEcx5jtUAhHvaAOD8cpOxltKxDridodTT9fYGWpNvoOg7PLEKkJUxx5gnuSEp2FFc7xJmi6A==
33%patch add mpfr -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpfr-config.patch
34%hash sha512 fix-mac-arm64-mpfr-config.patch \
35        3FBp34cL0Ct+eO0ixq2emiu5yjcs4aa36PpbdjXc7zXCnyUf5RlcnCpDUTEWwSyrGw6WFxzzS9f7fQM0wsdA+w==
36%patch add mpc -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpc-config.patch
37%hash sha512 fix-mac-arm64-mpc-config.patch \
38        KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
39# Comment above related to #4657 and patches ends here
40
41%define newlib_version ea99f21
42%define newlib_external 1
43%define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version}
44%source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz \
45           https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
46%hash sha512 newlib-%{newlib_version}.tar.gz a4216024740c7d5ae6d21a6ab731dcf0bd7a4d70710bc1e79683e7d819812829216df08cd54d0ce7d61c2a959924419ea89367e4c6fb442e59839cacd85d2c52
47
48%define with_threads 1
49%define with_plugin 0
50%define with_iconv 1
51
52%include %{_configdir}/gcc-12.cfg
Note: See TracBrowser for help on using the repository browser.