Hello,

RTEMS community is using MPC as a part of GNU C compiler. Recently we have been hit by an issue of compiling GNU C compiler toolchain on the Apple M1 hardware. The issue is easily fixable by the patch below, but RTEMS community refuses to include the fix without a clear sign that upstream project (you) were contacted and asked either for patch acceptance or fixing the issue.

Could you be so kind and in next release use latest available autotools to generate configure script and associated files? This way, problematic config.sub file is generated with the proper support for Apple M1 hardware and everything should be working again.

Thanks!
Karel Gardas



--- mpc/build-aux/config.sub.orig       2022-05-11 09:20:51.000000000 +0200
+++ mpc/build-aux/config.sub    2022-05-11 09:23:47.000000000 +0200
@@ -916,6 +916,10 @@
                cpu=sparc
                vendor=`echo "$basic_machine" | sed 's/-.*//'`
                ;;
+       arm64-*)
+               cpu=aarch64
+               vendor=`echo "$basic_machine" | sed 's/-.*//'`
+               ;;

        *-*)
                # shellcheck disable=SC2162
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to