[OE-core] [PATCH] boost: Improve reproducibility

Richard Purdie richard.purdie at linuxfoundation.org
Thu May 31 13:13:24 UTC 2018


On Wed, 2018-05-30 at 23:20 -0700, mingli.yu at windriver.com wrote:
> From: Mingli Yu <mingli.yu at windriver.com>
> 
> boost_context includes some assembly source
> files and will export the assembly object file
> make_x86_64_sysv_elf_gas.o which contains host
> path as below:
> $ readelf --wide --symbols /my-build/boost/1.67.0-
> r0/boost_1_67_0/x86_64-poky-
> linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38e
> d/libboost_context.so.1.67
> 42: 0000000000000000 0 FILE LOCAL DEFAULT ABS /my-build/boost/1.67.0-
> r0/boost_1_67_0/x86_64-poky-
> linux/boost/bin.v2/libs/context/build/aca09349fdb84d131321425f6c3a38e
> d/asm/make_x86_64_sysv_elf_gas.o
> 
> Enable stirp for boost_context to hidden the
> symbols
> 
> [YOCTO #12708]
> 
> Signed-off-by: Mingli Yu <mingli.yu at windriver.com>

This looks very unlikely to ever make it upstream. Rather than carrying
a patch to boost forever would we want to just strip the file in
question with a custom command?

Alternatively, can we stop this path being injected into the binary in
the first place?

Cheers,

Richard



More information about the Openembedded-core mailing list