From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4364 invoked by alias); 4 Aug 2012 16:07:46 -0000 Received: (qmail 4327 invoked by uid 22791); 4 Aug 2012 16:07:26 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 04 Aug 2012 16:07:13 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Sxgsh-0002of-71 from joseph_myers@mentor.com ; Sat, 04 Aug 2012 09:07:11 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 4 Aug 2012 09:07:11 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Sat, 4 Aug 2012 17:07:08 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1Sxgsd-00042u-UF; Sat, 04 Aug 2012 16:07:07 +0000 Date: Sat, 04 Aug 2012 16:07:00 -0000 From: "Joseph S. Myers" To: "acrux_it @ libero.it" CC: , David Alan Gilbert Subject: Re: [ARM] architecture specific subdirectories & optimised memchr [V6] In-Reply-To: <20120804060117.400a5d25ea3587e0fe946b82@libero.it> Message-ID: References: <20120804060117.400a5d25ea3587e0fe946b82@libero.it> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00040.txt.bz2 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