From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id A1BEC607BB for ; Thu, 2 Jul 2015 09:59:42 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail.windriver.com (8.15.1/8.15.1) with ESMTPS id t629xfvq027365 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 2 Jul 2015 02:59:42 -0700 (PDT) Received: from [128.224.162.200] (128.224.162.200) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.224.2; Thu, 2 Jul 2015 02:59:41 -0700 Message-ID: <55950B8C.8070508@windriver.com> Date: Thu, 2 Jul 2015 17:59:40 +0800 From: Robert Yang User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer Subject: gcc-cross-canadian-i586 doesn't work PREFERRED_VERSION X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 09:59:43 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Currently in oe-core, the default GCCVERSION is 4.9, and we also have gcc 5.1, so when: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake gcc-cross-canadian-i586 Then the 5.1 has been built, though we had set 4.9 in tcmode-default.inc: PREFERRED_VERSION_gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GCCVERSION}" The funny is that if we build gcc-cross-i586, then 4.9 would be built, Any ideas on how to fix it, please ? -- Thanks Robert