From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WJMqL-0001yT-4Z for ptxdist@pengutronix.de; Fri, 28 Feb 2014 13:47:10 +0100 Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 36C64207D7 for ; Fri, 28 Feb 2014 07:47:07 -0500 (EST) Received: from [192.168.2.12] (unknown [37.49.51.80]) by mail.messagingengine.com (Postfix) with ESMTPA id A98B0C007AA for ; Fri, 28 Feb 2014 07:47:06 -0500 (EST) From: Jean-Claude Monnin Message-Id: Date: Fri, 28 Feb 2014 13:47:04 +0100 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: [ptxdist] OSELAS Cortex-A8 toolchain: Warning: --with-arch overrides --with-cpu=cortex-a8 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, When building the `OSELAS.Toolchain-2013.12.1` with the config `arm-cortexa8-linux-gnueabihf_gcc-4.8.3_glibc-2.18_binutils-2.24_kernel-3.12-sanitized.ptxconfig`, I get following lines in the log file: checking for clock_t... yes checking for F_SETLKW... yes checking if mkdir takes one argument... no For cortex-a8 real value is cortexa8 For real value is Warning: --with-arch overrides --with-cpu=cortex-a8 Using `/home/jean-claude/src/OSELAS.Toolchain/platform-arm-cortexa8-linux-gnueabihf-gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-linaro-4.8-2013.11/gcc/config/arm/arm.c' for machine-specific logic. I'm wondering if the line ` Warning: --with-arch overrides --with-cpu=cortex-a8` can be ignored safely. Does it really do what the warning says; `--with-arch` prevails, therefore the toolchain is a generic `armv7-a` toolchain rather than one optimised for cortex-a8? The gcc flags are: PTXCONF_CROSS_GCC_CONFIG_EXTRA="--with-float=hard --with-fpu=neon --with-cpu=cortex-a8 --with-arch=armv7-a --with-mode=thumb" Regards, Jean-Claude -- ptxdist mailing list ptxdist@pengutronix.de