All of lore.kernel.org
 help / color / mirror / Atom feed
* [Dizzy] Multilib in Poky
@ 2015-04-13  5:03 Chang, Rebecca Swee Fun
  2015-04-14 14:31 ` Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Chang, Rebecca Swee Fun @ 2015-04-13  5:03 UTC (permalink / raw)
  To: 'yocto@yoctoproject.org'; +Cc: 'paul.eggleton@linux.intel.com'

[-- Attachment #1: Type: text/plain, Size: 1988 bytes --]

Hi,

I am building a MACHINE = "qemux86" image using Poky v1.7.1 with multilib feature. I would like the image generated to use glibc as the main libc and uclibc in lib32 multilib.
Here are my settings in build/local.conf:

# Multilib Configurations
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
baselib_virtclass-multilib-lib32 = "lib32"
LIBCEXTENSION_virtclass-multilib-lib32 = "-uclibc"
LIBCOVERRIDE_virtclass-multilib-lib32 = ":libc-uclibc"
PREFERRED_PROVIDER_virtual/lib32-libc ?= "uclibc"
PREFERRED_PROVIDER_virtual/lib32-libiconv ?= "libiconv"
PREFERRED_PROVIDER_virtual/lib32-libintl ?= "gettext"
USE_NLS_virtclass-multilib-lib32 ?= "no"
CXXFLAGS_append_virtclass-multilib-lib32 = " -fvisibility-inlines-hidden"
IMAGE_LINGUAS_virtclass-multilib-lib32 = ""
LIBC_DEPENDENCIES_virtclass-multilib-lib32 = "uclibc uclibc-dbg uclibc-dev uclibc-thread-db"
PTEST_ENABLED_virtclass-multilib-lib32 = ""


When I run BitBake to build a Sato image, Bitbake prompt the following error.

Parsing of 893 .bb files complete (0 cached, 893 parsed). 2181 targets, 174 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'lib32-glibc'
ERROR: lib32-glibc was skipped: incompatible with target linux-uclibc
ERROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato', 'lib32-glibc']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

While the same configurations for multilib was run on Poky Daisy branch, however we don't hit this problem.
From the Reference Manual, I know that as we migrate to YP version 1.7, eglibc 3.19 has been replaced with glibc 2.20.
Could this be the reason of the broken multilib features?

How should I resolve this? How should I exclude the "lib32-glibc" package from the build?
Thanks in advance.

Regards,
Rebecca

[-- Attachment #2: Type: text/html, Size: 5508 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Dizzy] Multilib in Poky
  2015-04-13  5:03 [Dizzy] Multilib in Poky Chang, Rebecca Swee Fun
@ 2015-04-14 14:31 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2015-04-14 14:31 UTC (permalink / raw)
  To: Chang, Rebecca Swee Fun; +Cc: 'yocto@yoctoproject.org'

Hi Rebecca,

On Monday 13 April 2015 05:03:00 Chang, Rebecca Swee Fun wrote:
> I am building a MACHINE = "qemux86" image using Poky v1.7.1 with multilib
> feature. I would like the image generated to use glibc as the main libc and
> uclibc in lib32 multilib. Here are my settings in build/local.conf:
> 
> # Multilib Configurations
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
> baselib_virtclass-multilib-lib32 = "lib32"
> LIBCEXTENSION_virtclass-multilib-lib32 = "-uclibc"
> LIBCOVERRIDE_virtclass-multilib-lib32 = ":libc-uclibc"
> PREFERRED_PROVIDER_virtual/lib32-libc ?= "uclibc"
> PREFERRED_PROVIDER_virtual/lib32-libiconv ?= "libiconv"
> PREFERRED_PROVIDER_virtual/lib32-libintl ?= "gettext"
> USE_NLS_virtclass-multilib-lib32 ?= "no"
> CXXFLAGS_append_virtclass-multilib-lib32 = " -fvisibility-inlines-hidden"
> IMAGE_LINGUAS_virtclass-multilib-lib32 = ""
> LIBC_DEPENDENCIES_virtclass-multilib-lib32 = "uclibc uclibc-dbg uclibc-dev
> uclibc-thread-db" PTEST_ENABLED_virtclass-multilib-lib32 = ""
> 
> 
> When I run BitBake to build a Sato image, Bitbake prompt the following
> error.
> 
> Parsing of 893 .bb files complete (0 cached, 893 parsed). 2181 targets, 174
> skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue
> dependencies
> ERROR: Nothing PROVIDES 'lib32-glibc'
> ERROR: lib32-glibc was skipped: incompatible with target linux-uclibc
> ERROR: Required build target 'core-image-sato' has no buildable providers.
> Missing or unbuildable dependency chain was: ['core-image-sato',
> 'lib32-glibc'] Summary: There were 2 ERROR messages shown, returning a
> non-zero exit code.
> 
> While the same configurations for multilib was run on Poky Daisy branch,
> however we don't hit this problem. From the Reference Manual, I know that
> as we migrate to YP version 1.7, eglibc 3.19 has been replaced with glibc
> 2.20. Could this be the reason of the broken multilib features?
> 
> How should I resolve this? How should I exclude the "lib32-glibc" package
> from the build? Thanks in advance.

I have reproduced this; it appears uclibc isn't actually being selected 
properly for the multilib. I've filed a bug with some details:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7607

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-14 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-13  5:03 [Dizzy] Multilib in Poky Chang, Rebecca Swee Fun
2015-04-14 14:31 ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.