Hi Aaro, On Mon, Dec 3, 2012 at 3:50 AM, Aaro Koskinen <aaro.koskinen@xxxxxx> wrote: > Hi, > > Kernel (3.7-rc7) build is failing with binutils 2.23.1, because _end is > no longer absolute for some reason and piggyback can't find it: > > $ tail -3 System.map > 000000000086bcb8 b net_header > 000000000086bcc0 B __bss_stop > 000000000086bcc0 B _end > > [...] > > kernel: arch/sparc/boot/image is ready > HOSTCC arch/sparc/boot/piggyback > ELFTOAOUT arch/sparc/boot/tftpboot.img > PT 0 Entry: Loadable to 0x400000[0x46bcc0] from 0x0[0x40ed60] align 0x100000 > PT 1 Entry: Note > PT 2 Entry: unknown > PIGGY arch/sparc/boot/tftpboot.img > Could not determine start and end from System.map > make[6]: *** [arch/sparc/boot/tftpboot.img] Error 1 > > Is this a bug in binutils, or is the check in piggyback too strict? Given that the addresses below are the same as the addresses above, I'm suspecting that the test is too strict. I assume that you have a sparc64 system you can reliably boot with TFTP, could you try changing the code in the "end_line" function (line 91) to look for 'B' symbols and check that it still boots correctly? I'd cook you up a patch, but I'm away from my development machine at the moment. If that works, we'll have to figure out a better test for this. > With older binutils (2.22) the symbol is still "A": > > $ tail -3 System.map > 000000000086bcb8 b net_header > 000000000086bcc0 A __bss_stop > 000000000086bcc0 A _end Thanks, -- Julian Calaby Email: julian.calaby@xxxxxxxxx Profile: http://www.google.com/profiles/julian.calaby/ .Plan: http://sites.google.com/site/juliancalaby/ -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html