Hi All,
Following the deprecation of ILP32 *-elf builds fail now due to -Werror on the
deprecation warning. This is because on embedded builds ILP32 is part of the
default multilib.
This patch removed it from the default target as the build would fail anyway.
Cross compiled on aarch64-none-elf and build succeeds now.
Ok for master?
Sending this out in case there are no objections to the approach
Thanks,
Tamar
gcc/ChangeLog:
* config.gcc (aarch64-*-elf): Drop ILP32 from default multilibs.
---
diff --git a/gcc/config.gcc b/gcc/config.gcc
index
55e37146ee0356b67b8a1a09d263eccdf69cd91a..432798d16fdbce099f69821c3a0ad91905286777
100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1210,7 +1210,7 @@ aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
esac
aarch64_multilibs="${with_multilib_list}"
if test "$aarch64_multilibs" = "default"; then
- aarch64_multilibs="lp64,ilp32"
+ aarch64_multilibs="lp64"
fi
aarch64_multilibs=`echo $aarch64_multilibs | sed -e 's/,/ /g'`
for aarch64_multilib in ${aarch64_multilibs}; do
--
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 55e37146ee0356b67b8a1a09d263eccdf69cd91a..432798d16fdbce099f69821c3a0ad91905286777 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1210,7 +1210,7 @@ aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
esac
aarch64_multilibs="${with_multilib_list}"
if test "$aarch64_multilibs" = "default"; then
- aarch64_multilibs="lp64,ilp32"
+ aarch64_multilibs="lp64"
fi
aarch64_multilibs=`echo $aarch64_multilibs | sed -e 's/,/ /g'`
for aarch64_multilib in ${aarch64_multilibs}; do