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

2018-06-15 Thread Yu, Mingli
On 2018年06月15日 14:54, Alexander Kanavin wrote: Thanks! Mingli, can you try this please? Sure, Alex 2018-06-15 9:44 GMT+03:00 Khem Raj : On 6/1/18 12:34 PM, Alexander Kanavin wrote: On 06/01/2018 09:33 PM, Khem Raj wrote: The .s file is not generated and it does not contain any

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

2018-06-15 Thread Alexander Kanavin
Thanks! Mingli, can you try this please? Alex 2018-06-15 9:44 GMT+03:00 Khem Raj : > > > On 6/1/18 12:34 PM, Alexander Kanavin wrote: >> >> On 06/01/2018 09:33 PM, Khem Raj wrote: The .s file is not generated and it does not contain any .file directives. The .o file also does not

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

2018-06-15 Thread Khem Raj
On 6/1/18 12:34 PM, Alexander Kanavin wrote: On 06/01/2018 09:33 PM, Khem Raj wrote: The .s file is not generated and it does not contain any .file directives. The .o file also does not contain the path. It appears in the final .so library at linking stage. Can you share the linker cmdline

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

2018-06-04 Thread Yu, Mingli
On 2018年06月01日 16:36, Alexander Kanavin wrote: 2018-06-01 8:38 GMT+03:00 Yu, Mingli : I did investigate the path a lot before send out the patch, but didn't figure out why it introduce the path for make_x86_64_sysv_elf_gas.o whose source file is make_x86_64_sysv_elf_gas.S. Anyway, I will

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

2018-06-01 Thread Alexander Kanavin
On 06/01/2018 09:33 PM, Khem Raj wrote: The .s file is not generated and it does not contain any .file directives. The .o file also does not contain the path. It appears in the final .so library at linking stage. Can you share the linker cmdline ? https://pastebin.com/WK9GVDfj Note that of

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

2018-06-01 Thread Khem Raj
On 6/1/18 10:56 AM, Alexander Kanavin wrote: > 2018-06-01 20:07 GMT+03:00 Khem Raj : >> these symbols are added by assembler, if you have .file asm directive >> either explicitly added to .s file or emitted by compiler, compiler >> would emit it if the path specified to source file is absolute

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

2018-06-01 Thread Alexander Kanavin
2018-06-01 20:07 GMT+03:00 Khem Raj : > these symbols are added by assembler, if you have .file asm directive > either explicitly added to .s file or emitted by compiler, compiler > would emit it if the path specified to source file is absolute during > compiler invocation, it will take it

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

2018-06-01 Thread Khem Raj
On 5/31/18 10:38 PM, Yu, Mingli wrote: > > > On 2018年06月01日 13:08, Alexander Kanavin wrote: >> 2018-06-01 4:39 GMT+03:00 Yu, Mingli : >> 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

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

2018-06-01 Thread Alexander Kanavin
2018-06-01 8:38 GMT+03:00 Yu, Mingli : > I did investigate the path a lot before send out the patch, but didn't > figure out why it introduce the path for make_x86_64_sysv_elf_gas.o whose > source file is make_x86_64_sysv_elf_gas.S. > > Anyway, I will try to dig more. > > If you have any ideas,

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

2018-05-31 Thread Yu, Mingli
On 2018年06月01日 13:08, Alexander Kanavin wrote: 2018-06-01 4:39 GMT+03:00 Yu, Mingli : 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? Thanks very much Richard for your

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

2018-05-31 Thread Alexander Kanavin
2018-06-01 4:39 GMT+03:00 Yu, Mingli : >> 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? > > > Thanks very much Richard for your respond! > I did try to strip only file

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

2018-05-31 Thread Yu, Mingli
On 2018年05月31日 21:13, Richard Purdie wrote: On Wed, 2018-05-30 at 23:20 -0700, mingli...@windriver.com wrote: From: Mingli Yu 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

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

2018-05-31 Thread Richard Purdie
On Wed, 2018-05-30 at 23:20 -0700, mingli...@windriver.com wrote: > From: Mingli Yu > > 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

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

2018-05-31 Thread mingli.yu
From: Mingli Yu 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