This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libatomic Makefile unconditionally sets -march=armv7-a when configuring with ifunc support
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: rth at redhat dot com
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 16 Jan 2014 13:51:22 +0000
- Subject: libatomic Makefile unconditionally sets -march=armv7-a when configuring with ifunc support
- Authentication-results: sourceware.org; auth=none
Hi Richard,
I noticed that Makefile.in in libatomic sets -march=armv7-a when compiling for
arm linux targets with ifunc support:
@ARCH_ARM_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv7-a -DHAVE_KERNEL64
Is there any particular reason why it must do that?
It seems that if we're trying to build a multilib for armv8-a, for example, this
would override any architecture options, and even conflict with any -mcpu
options that we might specify elsewhere.
Would there be any fallout I'm not seeing from removing -march=armv7-a from there?
Thanks,
Kyrill