This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [ARM] architecture specific subdirectories & optimised memchr [V6]
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: "acrux_it @ libero.it" <acrux_it at libero dot it>
- Cc: <libc-ports at sourceware dot org>, David Alan Gilbert <david dot gilbert at linaro dot org>
- Date: Sat, 4 Aug 2012 16:07:07 +0000
- Subject: Re: [ARM] architecture specific subdirectories & optimised memchr [V6]
- References: <20120804060117.400a5d25ea3587e0fe946b82@libero.it>
On Sat, 4 Aug 2012, acrux_it @ libero.it wrote:
> i've tried to enable it --with-cpu=armv7 but it fails on my machine
> (Freescale i.MX51, armv7-a CortexA8) because -march=armv7 breaks it.
--with-cpu=armv7 is not a valid configure option, since -march=armv7 means
the common subset of v7-A, v7-M and v7-R, which cannot be used to build
glibc (most .S source files expect to be built in ARM mode, not Thumb-2).
These directories are expected to be selected on the basis of
autodetection of what architecture $CC $CFLAGS $CPPFLAGS builds for, not
using --with-cpu configure options.
--
Joseph S. Myers
joseph@codesourcery.com