[rtems-source-builder commit] patch gcc i386 multiarch
Joel Sherrill
joel at rtems.org
Mon Sep 21 21:14:30 UTC 2020
Module: rtems-source-builder
Branch: master
Commit: 1ea1c9cdc56313e33abf39fce23a2ddf308ff5b3
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=1ea1c9cdc56313e33abf39fce23a2ddf308ff5b3
Author: Michael Davidsaver <mdavidsaver at gmail.com>
Date: Sat Sep 19 07:49:25 2020 -0700
patch gcc i386 multiarch
Add patch to change from mtune to march when building multilibs.
The mtune argument tunes or optimizes for a specific CPU model but
does not ensure the generated code is appropriate for the
CPU model. Prior to this patch, i386 compatible code was always
generated but tuned for later models.
This is the same fix as #2830 but applying to gcc 10.
Updates #4084.
---
rtems/config/6/rtems-i386.bset | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rtems/config/6/rtems-i386.bset b/rtems/config/6/rtems-i386.bset
index a27319d..efd3ea0 100644
--- a/rtems/config/6/rtems-i386.bset
+++ b/rtems/config/6/rtems-i386.bset
@@ -1,4 +1,8 @@
%define release 1
%define rtems_arch i386
%define with_libgomp
+
+%patch add gcc https://devel.rtems.org/raw-attachment/ticket/4084/gcc-10-i386march-1.diff
+%hash sha256 gcc-10-i386march-1.diff e6664ff45e8ae8bfcf292bed1bbace1d5be6f1c3bd625cdb141bbe24c986f5d7
+
%include 6/rtems-default.bset
More information about the vc
mailing list