]> code.ossystems Code Review - openembedded-core.git/commit
boost: Improve reproducibility
authorMingli Yu <Mingli.Yu@windriver.com>
Fri, 15 Jun 2018 08:35:05 +0000 (16:35 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2018 09:58:55 +0000 (10:58 +0100)
commit5d785dadf2bd35f4ae7304ab927fda10368377ce
tree30f067dc5c81302b99b3cb5c288178f68a31ad3e
parent7c8b85e1c3d852975cd5961a297aa939bf4c7fe7
boost: Improve reproducibility

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/aca09349fdb84d131321425f6c3a38ed/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/aca09349fdb84d131321425f6c3a38ed/asm/make_x86_64_sysv_elf_gas.o

[YOCTO #12708]

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/boost/boost/0001-make_x86_64_sysv_elf_gas.S-set-.file-section.patch [new file with mode: 0644]
meta/recipes-support/boost/boost_1.67.0.bb