From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 82DFB73694 for ; Tue, 21 Jul 2015 15:26:39 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.1/8.15.1) with ESMTPS id t6LFQdPL010328 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 21 Jul 2015 08:26:39 -0700 (PDT) Received: from Marks-MacBook-Pro-2.local (172.25.36.226) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.235.1; Tue, 21 Jul 2015 08:26:32 -0700 To: Dmitry Eremin-Solenikov References: <1435759342-5312-1-git-send-email-dbaryshkov@gmail.com> <559D1AD2.3050305@windriver.com> <55AD1800.20706@windriver.com> <55AE57D8.3040205@windriver.com> From: Mark Hatle Organization: Wind River Systems Message-ID: <55AE64AD.8060406@windriver.com> Date: Tue, 21 Jul 2015 10:26:37 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55AE57D8.3040205@windriver.com> Cc: Patches and discussions about the oe-core layer Subject: Re: [PATCH 0/4] Fix builds for MIPS64 N32 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: Tue, 21 Jul 2015 15:26:40 -0000 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit On 7/21/15 9:31 AM, Mark Hatle wrote: > On 7/21/15 3:23 AM, Dmitry Eremin-Solenikov wrote: >> Hello, >> >> 2015-07-20 18:47 GMT+03:00 Mark Hatle : >>> Between customer escalations, other work and vacation.. I didn't happen. >> >> No problem, really. I just wanted to be sure that the patches aren't going >> to be lost. >> >>> >>> I've started testing it this morning and should have results tomorrow.. (US time). >> >> Thank you very much! > > With master and the four patches I got an error trying to construct the SDK. > > I'm still investigating the error: > > Collected errors: > * satisfy_dependencies_for: Cannot satisfy the following dependencies for > packagegroup-cross-canadian-qemumips64: > * gcc-cross-canadian-mips * binutils-cross-canadian-mips * > gdb-cross-canadian-mips * > * opkg_install_cmd: Cannot install package packagegroup-cross-canadian-qemumips64. > > > My configuration for this particular test was: > > (oe-init-build-env stock w/ the following changes) I've narrowed down the reproducer to just: MACHINE = "qemumips64" require conf/multilib.conf DEFAULTTUNE = "mips64-n32" MULTILIBS = "" (If you remove the require conf/multilib.conf then things work.) I'm going to continue to investigate. --Mark > MACHINE = "qemumips64" > > require conf/multilib.conf > DEFAULTTUNE = "mips64-n32" > MULTILIBS = "multilib:lib64 multilib:lib32" > DEFAULTTUNE_virtclass-multilib-lib64 = "mips64" > DEFAULTTUNE_virtclass-multilib-lib32 = "mips32r2" > > # Set RPM_PREFER_ELF_ARCH to configure preferred ABI when using rpm packaging > # backend to generate a rootfs, choices are: > # 1: ELF32 wins > # 2: ELF64 wins > # 4: ELF64 N32 wins (for mips64 or mips64el only) > RPM_PREFER_ELF_ARCH = "4" > > >>> >>> --Mark >>> >>> On 7/20/15 7:11 AM, Dmitry Eremin-Solenikov wrote: >>>> 2015-07-08 15:42 GMT+03:00 Mark Hatle : >>>>> On 7/8/15 7:00 AM, Dmitry Eremin-Solenikov wrote: >>>>>> Hello, >>>>>> >>>>>> 2015-07-01 17:02 GMT+03:00 Dmitry Eremin-Solenikov : >>>>>>> Quite simple configuration (MIPS64 N32 image) fails to build (see below). >>>>>>> I have verified these patches in both single lib and in multilib cases. >>>>>>> Tri-lib images and SDK for MIPS build fine with these patches. >>>>>> >>>>>> Any comments on this patchset? It would be nice to have N32 ubroken in >>>>>> the current >>>>>> master tree. >>>>> >>>>> Sorry, I'm traveling right now and haven't had time to review this. I should be >>>>> able to get back to the office and test it by the end of the week. >>>>> >>>>> I visually reviewed the patches and I don't object to them going in -- but I'm >>>>> still not sure they are all correct. >>>> >>>> Re-ping. I'd like to receive a confirmation from you (and thus get the >>>> patches merged) >>>> or to discuss, what seems wrong to you. >>>> >>>>> >>>>> --Mark >>>>> >>>>>>> >>>>>>> Current situation: >>>>>>> >>>>>>> lumag@nexs:~/OE$ MACHINE=qemumips64n32 bitbake core-image-base >>>>>>> NOTE: Started PRServer with DBfile: >>>>>>> /home/lumag/OE/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 46391, PID: >>>>>>> 15895 >>>>>>> Loading cache: 100% >>>>>>> |########################################################################################################################| >>>>>>> ETA: 00:00:00 >>>>>>> Loaded 1302 entries from dependency cache. >>>>>>> NOTE: Resolving any missing task queue dependencies >>>>>>> ERROR: Nothing RPROVIDES 'binutils-cross-canadian-mips64' (but >>>>>>> /home/lumag/OE/sources/openembedded-core/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb >>>>>>> RDEPENDS on or otherwise requires it) >>>>>>> NOTE: Runtime target 'binutils-cross-canadian-mips64' is unbuildable, >>>>>>> removing... >>>>>>> Missing or unbuildable dependency chain was: ['binutils-cross-canadian-mips64'] >>>>>>> NOTE: Runtime target 'packagegroup-cross-canadian-qemumips64n32' is >>>>>>> unbuildable, removing... >>>>>>> Missing or unbuildable dependency chain was: >>>>>>> ['packagegroup-cross-canadian-qemumips64n32', >>>>>>> 'binutils-cross-canadian-mips64'] >>>>>>> ERROR: Required build target 'core-image-base' has no buildable providers. >>>>>>> Missing or unbuildable dependency chain was: ['core-image-base', >>>>>>> 'packagegroup-cross-canadian-qemumips64n32', >>>>>>> 'binutils-cross-canadian-mips64'] >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>>> >>> >> >> >> >