help
A message that is not in the archive (sent off-list or not yet received): [email protected]
unsubscribe
________________________________
From: "[email protected]" <[email protected]>
To: [email protected]
Sent: Sunday, 16 September 2012, 20:00
Subject: yocto Digest, Vol 24, Issue 66
Send yocto mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.yoctoproject.org/listinfo/yocto
or, via email, send a message with subject or body 'help' to [email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific than "Re: Contents of yocto digest..."
Today's Topics:
1. Re: Dependency walk for busybox recipe (Khem Raj)
2. Re: Forcing link order for autotools recipe [SOLVED] (Chris Tapp)
3. Re: Dependency walk for busybox recipe (Elvis Dowson)
4. Re: All kernel modules being built and shipped in images/modules-*.tgz (Elvis Dowson)
5. Re: Dependency walk for busybox recipe (Paul Eggleton)
----------------------------------------------------------------------
Message: 1
Date: Sat, 15 Sep 2012 20:54:56 -0700
From: Khem Raj <[email protected]>
To: Elvis Dowson <[email protected]>
Cc: Yocto Discussion Mailing List <[email protected]>
Subject: Re: [yocto] Dependency walk for busybox recipe Message-ID:
<CAMKF1sr9zgFJMrhBM_xdVPMM_zhnQCzjxYanub6O7NFG4w1Ohg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Quoted 3 lines · Elvis Dowson
So I added busybox-1.19.4 recipe back into my poky master branch, and the resulting size of the busybox-1.19.4
/bin/busyboxor/bin/shexecutable is 604.2 kb.
make sure that .config of busybox has not changed even if you have same version backported
------------------------------
Message: 2
Date: Sun, 16 Sep 2012 11:08:37 +0100
From: Chris Tapp <[email protected]>
To: "[email protected] Project" <[email protected]>
Subject: Re: [yocto] Forcing link order for autotools recipe [SOLVED]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Quoted 8 lines · Chris Tapp
I've got a recipe that uses autotools. It builds ok under Poky, but if I try to build it on my host (e.g. when developing) then it fails to build with lots of 'symbol not found' link errors related to libs that are on the system and which are in the gcc lib search path.
I've finally tracked this down to link order. The final command is of the form:
g++ -lGL -lcurl -o binary a.o b.o
If I change this to:
Quoted 7 lines
g++ -o binary a.o b.o -lGL -lcurl
then it builds ok.
Stranger still is the original form works fine on another system (older Ubuntu). The ld versions are different (2.21.53 on the one that fails, 2.20.1 on the one that works).
Can I get autotools to always link the libraries last?
Turns out there was a problem with one of my makefiles - it was using LDFLAGS to add the libs when it should have used LDADD (which puts them at the end of the command line).
That'll teach me to blindly copy from else where ;-) Strange it's worked up till now...
Chris Tapp
[email protected]
www.keylevel.com
------------------------------
Message: 3
Date: Sun, 16 Sep 2012 20:09:10 +0400
From: Elvis Dowson <[email protected]>
To: Khem Raj <[email protected]>
Cc: Yocto Discussion Mailing List <[email protected]>
Subject: Re: [yocto] Dependency walk for busybox recipe
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Quoted 4 lines · Khem Raj
Quoted 1 line · Elvis Dowson
So I added busybox-1.19.4 recipe back into my poky master branch, and the resulting size of the busybox-1.19.4
/bin/busyboxor/bin/shexecutable is 604.2 kb.make sure that .config of busybox has not changed even if you have same version backported
I've made sure that the defconfig files used in the recipe are identical. The only addition that I notice now, is that the recent rework done to task-core-boot, resulting in it being renamed as packagegroup-core-boot.bb adds the following extra line:
${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
My virtex5.conf machine features entry does not specify an rtc,
MACHINE_FEATURES = "kernel26 apm ext2 ext3 vfat ethernet keyboard screen serial"
yet the current poky master attempts to pull it in:
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'busybox-hwclock' (but /tool/yocto/poky/meta/recipes-core/packagegroups/packagegroup-core-boot.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'busybox-hwclock' is unbuildable, removing... Missing or unbuildable dependency chain was: ['busybox-hwclock']
NOTE: Runtime target 'packagegroup-core-boot' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-core-boot', 'busybox-hwclock']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'packagegroup-core-boot', 'busybox-hwclock']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Is this a bug? Is the rtc being added from somewhere else? Should this be happening?
Best regards,
Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120916/7a6c7236/attachment-0001.html>
------------------------------
Message: 4
Date: Sun, 16 Sep 2012 20:49:38 +0400
From: Elvis Dowson <[email protected]>
To: Yocto Discussion Mailing List <[email protected]>
Subject: Re: [yocto] All kernel modules being built and shipped in images/modules-*.tgz
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi,
Quoted 7 lines · Elvis Dowson
I just noticed that with the recent poky master updates, my images/modules-3.3.1-r00-virtex5.tgz file has grown from 33.1 MB to 668.5MB. When I looked in the package, I saw that the kernel/drivers folder inside that package was nearly 1.5GB uncompressed!!
My kenel defconfig was tuned so that I only used a bare minimum of kernel modules, and nearly all except for 2 groups (one related to filesystem and the other for networking) was built as a module. The rest were all built into the kernel.
Isn't this a regression or an error?
Also my build time has gone up from 40 minutes to 67 minutes, probably as a result of the increased number of kernel modules being built and shipped.
Is there any way to prevent all the kernel modules from being built, when 99% of my kernel defconfig settings are set to 'y' and not to build any modules?
Elvis
------------------------------
Message: 5
Date: Sun, 16 Sep 2012 19:31:15 +0100
From: Paul Eggleton <[email protected]>
To: Elvis Dowson <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] Dependency walk for busybox recipe
Message-ID: <2099128.G0xV8XsdZC@helios>
Content-Type: text/plain; charset="us-ascii"
Quoted 2 lines · On Sunday 16 September 2012 20:09:10 Elvis Dowson wrote:
Quoted 1 line · Khem Raj
On Sat, Sep 15, 2012 at 10:59 AM, Elvis Dowson <[email protected]>
Quoted 34 lines · wrote:
Quoted 5 lines
Quoted 3 lines
So I added busybox-1.19.4 recipe back into my poky master branch, and the resulting size of the busybox-1.19.4
/bin/busyboxor/bin/shexecutable is 604.2 kb.>make sure that .config of busybox has not changed even if you have same version backported
I've made sure that the defconfig files used in the recipe are identical. The only addition that I notice now, is that the recent rework done to task-core-boot, resulting in it being renamed as packagegroup-core-boot.bb adds the following extra line:
${@base_contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
My virtex5.conf machine features entry does not specify an rtc,
MACHINE_FEATURES= "kernel26 apm ext2 ext3 vfat ethernet keyboard screen serial"yet the current poky master attempts to pull it in:
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'busybox-hwclock' (but /tool/yocto/poky/meta/recipes-core/packagegroups/packagegroup-core-boot.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'busybox-hwclock' is unbuildable, removing... Missing or unbuildable dependency chain was: ['busybox-hwclock']
NOTE: Runtime target 'packagegroup-core-boot' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-core-boot', 'busybox-hwclock']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'packagegroup-core-boot', 'busybox-hwclock']
Quoted 4 lines
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Is this a bug? Is the rtc being added from somewhere else? Should this be happening?
It's not a bug, this is meant to happen. This is a result of MACHINE_FEATURES_BACKFILL, which is intended to ensure that we can introduce new items to MACHINE_FEATURES controlling existing functionality without breaking existing machine configurations by disabling the existing functionality because the configuration doesn't include it. (In older versions of busybox the hwclock feature was on by default - an hwclock item was added at the MACHINE_FEATURES level to be able to control it).
To fix this, just add hwclock to MACHINE_FEATURES_BACKFILL_CONSIDERED in your machine configuration.
Cheers,
Paul
Signature · 14 lines
Paul Eggleton Intel Open Source Technology Centre ------------------------------ _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto End of yocto Digest, Vol 24, Issue 66 *************************************