From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] host-pkgconf: use --static option for static builds
Date: Wed, 07 May 2014 19:05:03 +0200 [thread overview]
Message-ID: <536A67BF.80306@mind.be> (raw)
In-Reply-To: <20140507164708.GI3861@tarshish>
On 07/05/14 18:47, Baruch Siach wrote:
> Hi Arnout,
>
> On Wed, May 07, 2014 at 04:43:46PM +0200, Arnout Vandecappelle wrote:
>> On 05/03/14 13:19, Vicente Olivert Riera wrote:
>>> Detect when BR2_PREFER_STATIC_LIBS is selected and modify the host
>>> pkg-config wrapper to append the --static option in that case.
>>>
>>> Fixes:
>>> http://autobuild.buildroot.net/results/161/161446dde7e8e774773eb2b34fd555f5ac22dd02/
>>>
>>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
>>
>> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>>
>> Tested with an allpackageyesconfig with
>> http://autobuild.buildroot.org/toolchains/configs/free-electrons/br-x86-64-core2-full.config
>> as the toolchain (and PREFER_STATIC added to the config, of course).
>>
>> I ran this config with and without this patch applied, by running make -k
>> and then make -k again to collect the failures.
>>
>> The following packages are fixed by this patch:
>> at
>> gdk-pixbuf
>> xerces
>> xfsprogs
>>
>> The following packages fail in both cases. I did a very basic
>> analysis for about half of them, but then I gave up :-)
>
> Thanks for testing.
>
> [...]
>
>> dhcpdump (fails to link agains -lusb, dependency of pcap, which doesn't use
>> pkg-config)
>
> Fixed by http://patchwork.ozlabs.org/patch/341970/.
>
> Haven't you encountered the flite failure
> http://autobuild.buildroot.net/results/3ff/3ff2217a4fccbddbdb2bc8ade68c88fc52848d36/?
> This one is fixed by http://patchwork.ozlabs.org/patch/344396/.
Since python and alsa-lib are enabled, flite depends on python so it doesn't
get built. That's the problem with allpackageyes: one build failure can block a
lot of other packages.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2014-05-07 17:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 12:19 [Buildroot] [PATCH] host-pkgconf: use --static option for static builds Vicente Olivert Riera
2014-04-08 3:58 ` [Buildroot] " Baruch Siach
2014-05-01 12:49 ` Baruch Siach
2014-05-01 13:51 ` Vicente Olivert Riera
2014-05-02 22:00 ` Arnout Vandecappelle
2014-05-05 8:10 ` Thomas Petazzoni
2014-05-07 14:43 ` [Buildroot] [PATCH] " Arnout Vandecappelle
2014-05-07 16:47 ` Baruch Siach
2014-05-07 17:05 ` Arnout Vandecappelle [this message]
2014-05-07 20:40 ` Peter Korsgaard
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=536A67BF.80306@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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