[gcc/devel/omp/gcc-9] rs6000: fixinc: Skip machine_name fix for powerpc*-*-linux*
Tobias Burnus
burnus@gcc.gnu.org
Thu Mar 5 14:54:00 GMT 2020
https://gcc.gnu.org/g:53280279777e8390f374af35fb58634048a45730
commit 53280279777e8390f374af35fb58634048a45730
Author: Matheus Castanho <msc@linux.ibm.com>
Date: Thu Feb 13 23:43:39 2020 +0000
rs6000: fixinc: Skip machine_name fix for powerpc*-*-linux*
Some system headers can be broken by the machine_name fix performed
by GCC during the fixincludes step. According to the comment in
fixincludes/fixinc.h:130 :
On some platforms, machine_name doesn't work properly and
breaks some of the header files. Since everything works
properly without it, just wipe the macro list to
disable the fix.
So we can just skip it to avoid trouble.
Backport from trunk
2020-02-13 Matheus Castanho <msc@linux.ibm.com>
fixincludes/
* fixinc.in: Skip machine_name fix on powerpc*-*-linux*.
Diff:
---
fixincludes/ChangeLog | 7 +++++++
fixincludes/fixinc.in | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index a8c4cf2..1ac63fe 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,3 +1,10 @@
+2020-02-26 Segher Boessenkool <segher@kernel.crashing.org>
+
+ Backport from trunk
+ 2020-02-13 Matheus Castanho <msc@linux.ibm.com>
+
+ * fixinc.in: Skip machine_name fix on powerpc*-*-linux*.
+
2020-01-01 John David Anglin <danglin@gcc.gnu.org>
Backport from mainline
diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in
index cd0b458..de5a37f 100755
--- a/fixincludes/fixinc.in
+++ b/fixincludes/fixinc.in
@@ -136,7 +136,7 @@ fi
# disable the fix.
case "${target_canonical}" in
- *-*-vxworks*)
+ *-*-vxworks* | powerpc*-*-linux*)
test -f ${MACRO_LIST} && echo > ${MACRO_LIST}
;;
esac
More information about the Gcc-cvs
mailing list