[5a53e79] | 1 | %include %{_configdir}/checks.cfg |
---|
| 2 | %include %{_configdir}/base.cfg |
---|
| 3 | |
---|
[26daf55] | 4 | %define gcc_version 1ad2ee2 |
---|
[5a53e79] | 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} |
---|
[a2bda89] | 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== |
---|
[5a53e79] | 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 |
---|
[a2bda89] | 17 | %hash sha512 0001-Back-port-v1-of-gcov-tool-merge-stream-to-GCC-12.patch \ |
---|
| 18 | QT8UN0hW+L/Su5Slbxhg//j+mpNvM8lv32paDFow4s99BQJtAzjoswAVqT2AFppgI5cHa5R8gpKsW1zcIjfsTg== |
---|
[5a53e79] | 19 | |
---|
[eea3793] | 20 | %patch add gcc -p1 https://devel.rtems.org/raw-attachment/ticket/4560/gcc-12-RTEMS-Use-local-exec-TLS-model-by-default.patch |
---|
| 21 | %hash sha512 gcc-12-RTEMS-Use-local-exec-TLS-model-by-default.patch \ |
---|
| 22 | u6rhKhbCXwpX2Dib/YYMRRwYqRc+9Mf3MFUBAgwYQ6AFy/4VbVFpTLyzReMIkEC1Dumq66qABQPalh9YHTDwxA== |
---|
| 23 | |
---|
[5a53e79] | 24 | %patch add newlib -p1 https://devel.rtems.org/raw-attachment/ticket/4510/0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch |
---|
[a2bda89] | 25 | %hash sha512 0001-aarch64-Add-ILP32-ABI-support-in-assembly-v2.patch \ |
---|
| 26 | fKI36r/Vs4JxMYbh/CkN/JmaNTMVeV7LjdDSL80at/W/MfQymVStq5GtBMEA3KwOhtQG/bzo+Cz53COELIjK9g== |
---|
[5a53e79] | 27 | |
---|
[5e76e64] | 28 | # Following patches are related to compilation on Apple M1/Darwin host platform. |
---|
| 29 | # They are here to workaround issues with ISL, MPFR and MPC libraries. |
---|
| 30 | # Upstream projects were already informed so hopefully when RSB moves |
---|
| 31 | # to more modern libraries versions they may be removed from here. |
---|
| 32 | # The patches are solely for libisl 0.24, libmpfr 4.1.0 and libmpc 1.2.1 |
---|
| 33 | # See #4657 for more information. |
---|
| 34 | %patch add isl -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-isl-config.patch |
---|
[a2bda89] | 35 | %hash sha512 fix-mac-arm64-isl-config.patch \ |
---|
| 36 | wH/bYFplINGUNYUEcx5jtUAhHvaAOD8cpOxltKxDridodTT9fYGWpNvoOg7PLEKkJUxx5gnuSEp2FFc7xJmi6A== |
---|
[5e76e64] | 37 | %patch add mpfr -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpfr-config.patch |
---|
[a2bda89] | 38 | %hash sha512 fix-mac-arm64-mpfr-config.patch \ |
---|
| 39 | 3FBp34cL0Ct+eO0ixq2emiu5yjcs4aa36PpbdjXc7zXCnyUf5RlcnCpDUTEWwSyrGw6WFxzzS9f7fQM0wsdA+w== |
---|
[5e76e64] | 40 | %patch add mpc -p1 https://devel.rtems.org/raw-attachment/ticket/4657/fix-mac-arm64-mpc-config.patch |
---|
[a2bda89] | 41 | %hash sha512 fix-mac-arm64-mpc-config.patch \ |
---|
| 42 | KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ== |
---|
[5e76e64] | 43 | # Comment above related to #4657 and patches ends here |
---|
| 44 | |
---|
[ae6e598] | 45 | %define newlib_version ea99f21 |
---|
[5a53e79] | 46 | %define newlib_external 1 |
---|
| 47 | %define newlib_expand_name sourceware-mirror-newlib-cygwin-%{newlib_version} |
---|
[a2bda89] | 48 | %source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz \ |
---|
| 49 | https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version} |
---|
[ae6e598] | 50 | %hash sha512 newlib-%{newlib_version}.tar.gz a4216024740c7d5ae6d21a6ab731dcf0bd7a4d70710bc1e79683e7d819812829216df08cd54d0ce7d61c2a959924419ea89367e4c6fb442e59839cacd85d2c52 |
---|
[5a53e79] | 51 | |
---|
| 52 | %define with_threads 1 |
---|
| 53 | %define with_plugin 0 |
---|
| 54 | %define with_iconv 1 |
---|
| 55 | |
---|
| 56 | %include %{_configdir}/gcc-12.cfg |
---|