All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Why does boost require bzip2
@ 2013-06-03 18:13 Will Wagner
  2013-06-03 18:36 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Will Wagner @ 2013-06-03 18:13 UTC (permalink / raw)
  To: buildroot

Hello,

Does anyone know why the boost package requires bzip2? I am wanting to 
build a very small rootfs and require only a single boost library, I 
want to avoid the overhead of having the bzip2 library in my target fs.

If I change the boost package it still manages to build all the 
libraries so I can't work out which libraries need bzip2. (I also have a 
build failure when trying to build the boost context library, it is 
failing because my arm target doesn't support the assembler, I'll look 
into that error separately).

Thanks
Will
-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7471 9224
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

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

* [Buildroot] Why does boost require bzip2
  2013-06-03 18:13 [Buildroot] Why does boost require bzip2 Will Wagner
@ 2013-06-03 18:36 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2013-06-03 18:36 UTC (permalink / raw)
  To: buildroot

>>>>> "Will" == Will Wagner <will_wagner@carallon.com> writes:

 Will> Hello,
 Will> Does anyone know why the boost package requires bzip2? I am
 Will> wanting to build a very small rootfs and require only a single
 Will> boost library, I want to avoid the overhead of having the bzip2
 Will> library in my target fs.

It has been there since the boost package was added:

commit f64a740f360439bbab6526b8a08588a57ea8fd52
Author: Yegor Yefremov <yegor_sub1@visionsystems.de>
Date:   Thu Oct 13 12:39:12 2011 +0200

    boost: New package added. Version 1.47
    
    [Peter: Config.in tweaks]
    Signed-off-by: Allan W. Nielsen <a@awn.dk>
    Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>

But I don't know enough about boost to know if it really is needed.

I must say that libbz2 is probably not your biggest concern compared to
the size of libstdc++ and the template heavy boost code:

-rwxr-xr-x 1 peko peko 73K Jun  3 20:28 output/target/usr/lib/libbz2.so.1.0.6
-rwxr-xr-x 1 peko peko 624K 2013-06-03 19:42 output/target/usr/lib/libstdc++.so.6.0.16

 Will> If I change the boost package it still manages to build all the
 Will> libraries so I can't work out which libraries need bzip2.

Perhaps it used to be a dependency of something, and isn't anymore? We
have relatively recently (February) bumped the boost version to 1.53.0.

 Will> (I also have a build failure when trying to build the boost
 Will> context library, it is failing because my arm target doesn't
 Will> support the assembler, I'll look into that error separately).

Thanks!

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2013-06-03 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 18:13 [Buildroot] Why does boost require bzip2 Will Wagner
2013-06-03 18:36 ` Peter Korsgaard

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.