Shachar Shemesh
Tue, 09 Feb 2010 01:27:43 -0800
Orna Agmon Ben-Yehuda wrote:
That's why I'm using objdump -d, which does not print the source files, and is path location agnostic. In essence, I'm comparing just the actual assembly produced.2010/2/9 Shachar Shemesh <shac...@shemesh.biz <mailto:shac...@shemesh.biz>>ronys wrote:Hi Shachar,Interesting problem. Here are some thoughts: Can you control the level of optimization used by the customer?Does -O0 create identical object code?Havn't tested yet, but my gut feeling is "yes".What are the differences in code? Perhaps they're related to the different paths? (If the lengths of the paths are different, and they're stored somewhere in the object code, that'll change the results)The question is why should identical source code produce different paths when compiled with the same compiler?If the absolute path is included (I think -g does that). The mount point in the two environments may be called differently.
Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
- toolchain's output depends on toolchain used to build the compiler? Shachar Shemesh
- RE: toolchain's output depends on toolchain used to build the compiler? ronys
- Re: toolchain's output depends on toolchain used to build the compiler? Shachar Shemesh
- Re: toolchain's output depends on toolchain used to build the compiler? Orna Agmon Ben-Yehuda
Re: toolchain's output depends on toolchain used to build the compiler? Shachar Shemesh- Re: toolchain's output depends on toolchain used to build the compiler? Omer Zak
- RE: toolchain's output depends on toolchain used to buildthe compiler? ronys
- RE: toolchain's output depends on toolchain used to build the compiler? Omer Zak
- Re: toolchain's output depends on toolchain used to build the compiler? Oleg Goldshmidt