From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OynPm-0005LL-30 for garchives@archives.gentoo.org; Thu, 23 Sep 2010 15:08:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78FA0E083E for ; Thu, 23 Sep 2010 15:08:47 +0000 (UTC) Received: from gw1.transmode.se (gw1.transmode.se [213.115.205.20]) by pigeon.gentoo.org (Postfix) with ESMTP id 89D15E07FD for ; Thu, 23 Sep 2010 14:42:15 +0000 (UTC) Received: from sesr04.transmode.se (sesr04.transmode.se [192.168.201.15]) by gw1.transmode.se (Postfix) with ESMTP id DB64C2597E3 for ; Thu, 23 Sep 2010 16:42:14 +0200 (CEST) Subject: [gentoo-embedded] crossdev-20100620 uses wrong gcc X-KeepSent: C962C986:500F58B7-C12577A7:004F830C; type=4; name=$KeepSent To: gentoo-embedded@lists.gentoo.org X-Mailer: Lotus Notes Release 8.5.2 August 10, 2010 Message-ID: From: Joakim Tjernlund Date: Thu, 23 Sep 2010 16:37:47 +0200 X-MIMETrack: Serialize by Router on sesr04/Transmode(Release 8.5.2 HF23|September 01, 2010) at 2010-09-23 16:42:15 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Archives-Salt: 03a36613-44da-4598-8b45-e29d640f8295 X-Archives-Hash: ba844628fe166d377e0b9fbd64e338b2 Trying to add support for e300c2 in glibc/ports I got another error. when crossdev is building cross-glibc-headers it uses the hosts gcc instead of the cross compiler and glibc configure fails: configure:7498: checking for compiler option for CPU variant configure:7506: gcc -march=e300c2 -xc /dev/null -S -o /dev/null /dev/null:1: error: bad value (e300c2) for -march= switch /dev/null:1: error: bad value (e300c2) for -mtune= switch configure:7509: $? = 1 configure:7506: gcc -mcpu=e300c2 -xc /dev/null -S -o /dev/null `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. /dev/null:1: error: bad value (e300c2) for -mtune= switch configure:7509: $? = 1 configure:7516: result: no configure:7519: error: gcc does not support e300c2 Here is the configure log snippet when it finds the hosts gcc: configure:2028: checking build system type configure:2046: result: i686-pc-linux-gnu configure:2068: checking host system type configure:2083: result: powerpc-e300c2_softfloat-linux-gnu configure:2114: checking for powerpc-e300c2_softfloat-linux-gnu-gcc configure:2141: result: gcc configure:2413: checking for C compiler version configure:2421: gcc --version >&5 gcc (Gentoo 4.4.3-r2 p1.2) 4.4.3 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.