When grub's configure script runs it looks to the output of
objcopy -O binary and complains that 2 files linked with an other
address results in a different file. It seems that on amd64 this
isn't working properly.
When running configure it says:
configure: error: GRUB requires a working absolute objcopy;
upgrade your binutils
in acinclude.m4:
dnl Some versions of `objcopy -O binary' vary their output depending
dnl on the link address.
....
Running the test program mannually, once linked at 2000 once at
8000 shows this difference (hexdump of the binary file):
0000000 4855 e589 04c7 0025 0010 0200 0000 c900
0000010 00c3 0000 0000 0000 0014 0000 0000 0000
0000020 0001 7801 0c10 0807 0190 0000 0000 0000
-0000030 001c 0000 001c 0000 2000 0000 0000 0000
+0000030 001c 0000 001c 0000 8000 0000 0000 0000
0000040 0011 0000 0000 0000 0e41 8610 4302 060d
0000050
It shows the difference are the addresses linked at.
Kurt