All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
To: Saul Wold <sgw@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] elfutils: split libraries into separate packages
Date: Thu, 04 Apr 2013 14:14:03 +0200	[thread overview]
Message-ID: <515D6E8B.3070201@linaro.org> (raw)
In-Reply-To: <515C983E.20007@linux.intel.com>

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

W dniu 03.04.2013 22:59, Saul Wold pisze:
> On 04/03/2013 01:47 PM, Marcin Juszkiewicz wrote:
>> W dniu 03.04.2013 17:50, Saul Wold pisze:
>>> This change seems to cause some issues with multilib build with lib32 on
>>> x86-64:
>>
>> I have to admit that I never did any multilib builds with OE. Can you
>> point me to config options I need to set to get such build done?
>>
>>
> 
> Sure set the following in your local.conf:
> 
> MACHINE = "qemux86-64"
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
> 
> 
> bitbake lib32-elfutils

Never mind do I use gcc-4.7 or gcc-linaro-4.7 it fails (conf/site.conf
attached):

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Error executing a python function in
/home/hrw/HDD/devel/canonical/aarch64/openembedded/repos/openembedded-core/meta/recipes-devtools/gcc/libgcc_4.7.bb:
NameError: global name 'get_tune_parameters' is not defined

ERROR: The stack trace of python calls that resulted in this
exception/failure was:
ERROR:   File "do_multilib_install", line 64, in <module>
ERROR:
ERROR:   File "do_multilib_install", line 17, in do_multilib_install
ERROR:
ERROR: The code that was being executed was:
ERROR:      0060:            os.unlink(dest)
ERROR:      0061:        os.symlink(src, dest)
ERROR:      0062:
ERROR:      0063:
ERROR:  *** 0064:do_multilib_install(d)
ERROR:      0065:
ERROR: [From file: 'do_multilib_install', lineno: 64, function: <module>]
ERROR:      0013:        return
ERROR:      0014:
ERROR:      0015:    if mlprefix:
ERROR:      0016:        orig_tune =
d.getVar('DEFAULTTUNE_MULTILIB_ORIGINAL', True)
ERROR:  *** 0017:        orig_tune_params =
get_tune_parameters(orig_tune, d)
ERROR:      0018:        orig_tune_baselib = orig_tune_params['baselib']
ERROR:      0019:        orig_tune_bitness =
orig_tune_baselib.replace('lib', '')
ERROR:      0020:        if not orig_tune_bitness:
ERROR:      0021:            orig_tune_bitness = '32'
ERROR: [From file: 'do_multilib_install', lineno: 17, function:
do_multilib_install]
ERROR: Function failed: do_multilib_install
ERROR: Logfile of failure stored in:
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/x86-oemllib32-linux/lib32-libgcc/4.7.2-r13/temp/log.do_multilib_install.9501
ERROR: Task 679
(virtual:multilib:lib32:/home/hrw/HDD/devel/canonical/aarch64/openembedded/repos/openembedded-core/meta/recipes-devtools/gcc/libgcc_4.7.bb,
do_multilib_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 924 tasks of which 923 didn't need to be
rerun and 1 failed.
No currently running tasks (461 of 1042)

Summary: 1 task failed:

virtual:multilib:lib32:/home/hrw/HDD/devel/canonical/aarch64/openembedded/repos/openembedded-core/meta/recipes-devtools/gcc/libgcc_4.7.bb,
do_multilib_install
Summary: There were 25 ERROR messages shown, returning a non-zero exit code.


[-- Attachment #2: site.conf --]
[-- Type: text/plain, Size: 1446 bytes --]

SCONF_VERSION = "1"
# specify the alignment of the root file system
# this is required when building for qemuarmv7a
IMAGE_ROOTFS_ALIGNMENT = "2048"

BB_GENERATE_MIRROR_TARBALLS = "True"
#MACHINE ?= "genericarmv8"
BB_NUMBER_THREADS = "18"
PARALLEL_MAKE = "-j8"
IMAGE_FSTYPES = "tar.gz ext2"
SOURCE_MIRROR_URL = "http://snapshots.linaro.org/openembedded/sources/"
INHERIT += "own-mirrors"

DL_DIR = "/home/hrw/devel/sources/oe"

INHERIT += "rm_work"

# SOURCE_ARCHIVE_PACKAGE_TYPE = "tar"
# SOURCE_ARCHIVE_LOG_WITH_SCRIPTS = "logs_with_scripts"
# INHERIT += "archive-original-source"

#GCCVERSION       = "linaro-4.7"
#SDKGCCVERSION    = "linaro-4.7"

#GCCVERSION       = "4.8%"
#SDKGCCVERSION    = "4.8%"

BINUVERSION      = "2.23.1"

PREFERRED_PROVIDER_libevent = "libevent-fb"

LICENSE_FLAGS_WHITELIST = "Commercial commercial"

#DISTRO_FEATURES_append = " ptest "


# cross toolchain from tcwg
#TCMODE = "external-linaro"
#TMPDIR = tmp-external-linaro
#ELT_TARGET_SYS = "aarch64-linux-gnu"
#EXTERNAL_TOOLCHAIN = "/home/hrw/devel/canonical/aarch64/openembedded/build/linaro-tcwg/gcc-linaro-aarch64-linux-gnu-4.7-2013.03-20130313_linux"

# armv7a
#EXTERNAL_TOOLCHAIN = "/home/hrw/devel/canonical/aarch64/openembedded/build/linaro-tcwg/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux"
#MACHINE = "genericarmv7a"

MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

  reply	other threads:[~2013-04-04 12:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13 10:55 [PATCH] elfutils: split libraries into separate packages Marcin Juszkiewicz
2013-03-20  4:16 ` Saul Wold
2013-03-20  9:11   ` Marcin Juszkiewicz
2013-04-03 15:50     ` Saul Wold
2013-04-03 20:47       ` Marcin Juszkiewicz
2013-04-03 20:59         ` Saul Wold
2013-04-04 12:14           ` Marcin Juszkiewicz [this message]
2013-04-04 18:55       ` [PATCH v4] " Marcin Juszkiewicz

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=515D6E8B.3070201@linaro.org \
    --to=marcin.juszkiewicz@linaro.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sgw@linux.intel.com \
    /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 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.