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

Yu, Mingli mingli.yu at windriver.com
Tue Jun 19 01:27:24 UTC 2018



On 2018年06月17日 22:04, Khem Raj wrote:
>
>
> On Sun, Jun 17, 2018 at 2:17 AM Richard Purdie
> <richard.purdie at linuxfoundation.org
> <mailto:richard.purdie at linuxfoundation.org>> wrote:
>
>     On Fri, 2018-06-15 at 16:35 +0800, mingli.yu at windriver.com
>     <mailto:mingli.yu at windriver.com> wrote:
>      > From: Mingli Yu <Mingli.Yu at windriver.com
>     <mailto:Mingli.Yu at windriver.com>>
>      >
>      > Set .file section explicitly for .S files to avoid
>      > the linker introduces the host path in symbols for
>      > object files whose source file is .S
>      > Otherwise, there is a host path in the symbols 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.0
>      > 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
>      >
>      > [YOCTO #12708]
>      >
>      > Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com
>     <mailto:Mingli.Yu at windriver.com>>
>      >
>     Thanks for working through this, the final result is a much better fix!
>
>
> If we add this directive to all the .S files there
> Then it can be up streamed too

Yes, I did try to send the related fix to upstream.
Thanks Khem's help!

Thanks,

>
>
>
>     Cheers,
>
>     Richard
>



More information about the Openembedded-core mailing list