On 22/04/2010 09:16, Kai Ruottu wrote: > Whatever the 'objdump -T' now tries to do during the > 'gcc/configure', that it does with the wrong 'objdump', > that for the $target, not that for the $host ! > > Maybe there was some usual one-eyeness in implementation, > in a native GCC $host == $target, and it never was thought > that someone could make a cross GCC ?
Yes, it's not an entirely uncommon mistake. (The fact that most target versions of objdump speak such a wide range of object formats may have helped it to be overlooked.) > This "feature" It's a bug, feel free to call it a bug! > appeared when someone tried to build > gcc-4.5.0 for 'arm-elf' on a x86_64 machine, seemingly > the objdump made for arm-elf target and x86_64-linux-gnu > host doesn't grok 64-bit ELF binaries... Right you are. So file a PR please, so that it doesn't get forgotten? cheers, DaveK