[Buildroot] [PATCH v2 1/1] package/boost: bump to version 1.58.0

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri May 1 14:29:31 UTC 2015


Dear Gustavo Zacarias,

On Fri, 01 May 2015 09:32:36 -0300, Gustavo Zacarias wrote:
> On 05/01/2015 09:08 AM, Jörg Krause wrote:
> 
> > Add upstream patch from [1] to fix autobuild error [2] for mips:
> > 	mipsel-linux-g++: error: unrecognized command line option '-m32'
> > 
> > [1] https://github.com/boostorg/build/commit/c0634341d9ee2c02d3a55c91dafb988afc066c49
> > [2] http://autobuild.buildroot.org/results/66c/66c3a868816dfe4bd4d0ffafec6988fd87a2c058/
> > 
> > Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> 
> Hi.
> It will need some extra tweaking since it failed in a similar way for sh4:
> http://autobuild.buildroot.net/results/ccd/ccd5c83963032ba49b1627b1dff39e34a9486943/build-end.log

Generally speaking, doing:

if $(arch) != arm && $(arch) != mips1

to decide whether to use -m32 is going to cause numerous problems. It
should be an opt-in test rather than an opt-out test. I.e only those
architectures that actually need -m32 should use it, rather than trying
to exclude all architectures that do not provide -m32.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list