This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libatomic Makefile unconditionally sets -march=armv7-a when configuring with ifunc support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]