This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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]

Re: [ARM] architecture specific subdirectories & optimised memchr [V6]


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


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