Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 0/4] Fix builds for MIPS64 N32
Date: Tue, 21 Jul 2015 10:26:37 -0500	[thread overview]
Message-ID: <55AE64AD.8060406@windriver.com> (raw)
In-Reply-To: <55AE57D8.3040205@windriver.com>

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 <mark.hatle@windriver.com>:
>>> 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 <mark.hatle@windriver.com>:
>>>>> On 7/8/15 7:00 AM, Dmitry Eremin-Solenikov wrote:
>>>>>> Hello,
>>>>>>
>>>>>> 2015-07-01 17:02 GMT+03:00 Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>:
>>>>>>> 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']
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
> 



  reply	other threads:[~2015-07-21 15:26 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 14:02 [PATCH 0/4] Fix builds for MIPS64 N32 Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 1/4] arch-mips.inc: don't override TRANSLATED_TARGET_ARCH Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 2/4] packagegroups-cross-canadian: " Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 3/4] cross.bbclass: override MULTIMACH_TARGET_SYS Dmitry Eremin-Solenikov
2015-07-01 14:02 ` [PATCH 4/4] glibc: don't override TUNE_CCARGS for MIPS Dmitry Eremin-Solenikov
2015-08-15 19:34   ` Khem Raj
2015-08-15 23:15     ` Dmitry Eremin-Solenikov
2015-08-16  0:29       ` Khem Raj
2015-08-17 15:30         ` Dmitry Eremin-Solenikov
2015-08-18 15:05           ` Dmitry Eremin-Solenikov
2015-07-08 12:00 ` [PATCH 0/4] Fix builds for MIPS64 N32 Dmitry Eremin-Solenikov
2015-07-08 12:02   ` Richard Purdie
2015-07-08 12:42   ` Mark Hatle
2015-07-20 12:11     ` Dmitry Eremin-Solenikov
2015-07-20 15:47       ` Mark Hatle
2015-07-21  8:23         ` Dmitry Eremin-Solenikov
2015-07-21 14:31           ` Mark Hatle
2015-07-21 15:26             ` Mark Hatle [this message]
2015-07-22 15:48               ` Dmitry Eremin-Solenikov
2015-07-28 17:26               ` Dmitry Eremin-Solenikov
2015-07-29 14:58                 ` Mark Hatle
2015-07-29 15:00                   ` Dmitry Eremin-Solenikov
2015-07-31 10:59                     ` Richard Purdie
2015-07-31 15:47                       ` Dmitry Eremin-Solenikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55AE64AD.8060406@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=dbaryshkov@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox