
On Fri, May 27, 2011 at 9:59 AM, Matthias Kilian
An alternative could be to just strip the single `symbol' off the object file (using something like strip -N ...). I didn't yet test this for real.
This has to go with -optl=-Wl,build-id=none. Otherwise ld produces a .note.gnu.build-id ELF section. In words of my wiser colleague: The reason build-ids differ is that build-id is a checksum of "important ELF bits" (at link time), and symbol table counts. I suppose one could strip off the .note.gnu.build-id as well, but avoiding differences in the first places is a better strategy. Thanks Greg -- nest.cx is Gmail hosted, use PGP for anything private. Key: http://tinyurl.com/ho8qg Fingerprint: 5E2B 2D0E 1E03 2046 BEC3 4D50 0B15 42BD 8DF5 A1B0