Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XWSLl-00061E-W5 for mharc-grub-devel@gnu.org; Tue, 23 Sep 2014 11:49:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWSLe-0005w0-OJ for grub-devel@gnu.org; Tue, 23 Sep 2014 11:49:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWSLd-0002af-5r for grub-devel@gnu.org; Tue, 23 Sep 2014 11:49:50 -0400 Received: from b.painless.aa.net.uk ([2001:8b0:0:30::51bb:1e34]:33686 helo=b.b.painless.aa.net.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWSLc-0002aE-St for grub-devel@gnu.org; Tue, 23 Sep 2014 11:49:49 -0400 Received: from 3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.1.b.e.2.f.f.b.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:bff2:eb14::3] helo=riva.pelham.vpn.ucam.org) by b.painless.aa.net.uk with esmtps (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1XWSLP-0007YE-Qm for grub-devel@gnu.org; Tue, 23 Sep 2014 16:49:41 +0100 Received: from ns1.pelham.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org) by riva.pelham.vpn.ucam.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XWSLP-0000GS-2D for grub-devel@gnu.org; Tue, 23 Sep 2014 16:49:35 +0100 Date: Tue, 23 Sep 2014 16:49:33 +0100 From: Colin Watson To: grub-devel@gnu.org Subject: Re: mips-arc build failure on xz_decompress.img Message-ID: <20140923154933.GA850@riva.ucam.org> References: <20140825222907.GA22063@riva.ucam.org> <541EF452.7090000@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <541EF452.7090000@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:0:30::51bb:1e34 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 15:49:56 -0000 On Sun, Sep 21, 2014 at 05:52:50PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > @Colin: do you have intermediate files? We should probably strip those > extra sections. Right, I'm seeing the same thing on mipsel now, so it looks like a change introduced by new binutils. I've attached xz_decompress.image. "objdump -h" from a build on Debian wheezy looks like this: obj/grub-yeeloong/grub-core/xz_decompress.image: file format elf32-tradlittlemips Sections: Idx Name Size VMA LMA File off Algn 0 .text 00002ab0 80100000 80100000 000000b0 2**4 CONTENTS, ALLOC, LOAD, CODE 1 .reginfo 00000018 00400094 00400094 00000094 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_SAME_SIZE 2 .rodata 000000dc 80102ab0 80102ab0 00002b60 2**4 CONTENTS, ALLOC, LOAD, READONLY, DATA 3 .data 00000010 80102b90 80102b90 00002c40 2**4 CONTENTS, ALLOC, LOAD, DATA 4 .sbss 00000004 80102ba0 80102ba0 00002c50 2**2 ALLOC 5 .bss 00007408 80102bb0 80102bb0 00002c50 2**4 ALLOC 6 .comment 0000001c 00000000 00000000 00002c50 2**0 CONTENTS, READONLY 7 .pdr 000002e0 00000000 00000000 00002c6c 2**2 CONTENTS, READONLY 8 .gnu.attributes 00000010 00000000 00000000 00002f4c 2**0 CONTENTS, READONLY 9 .mdebug.abi32 00000000 00000000 00000000 00002f5c 2**0 CONTENTS, READONLY And "objdump -h" from a build on Debian jessie looks like this: obj/grub-yeeloong/grub-core/xz_decompress.image: file format elf32-tradlittlemips Sections: Idx Name Size VMA LMA File off Algn 0 .text 00002af0 80100000 80100000 000000f0 2**4 CONTENTS, ALLOC, LOAD, CODE 1 .MIPS.abiflags 00000018 004000b8 004000b8 000000b8 2**3 CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_SAME_SIZE 2 .reginfo 00000018 004000d0 004000d0 000000d0 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA, LINK_ONCE_SAME_SIZE 3 .rodata 0000007c 80102af0 80102af0 00002be0 2**4 CONTENTS, ALLOC, LOAD, READONLY, DATA 4 .data.rel.ro 00000058 80102b6c 80102b6c 00002c5c 2**2 CONTENTS, ALLOC, LOAD, DATA 5 .data 00000010 80102bd0 80102bd0 00002cc0 2**4 CONTENTS, ALLOC, LOAD, DATA 6 .got 00000044 80102be0 80102be0 00002cd0 2**4 CONTENTS, ALLOC, LOAD, DATA 7 .sbss 00000004 80102c24 80102c24 00002d14 2**2 ALLOC 8 .bss 00007408 80102c30 80102c30 00002d14 2**4 ALLOC 9 .comment 0000001d 00000000 00000000 00002d14 2**0 CONTENTS, READONLY 10 .pdr 000002e0 00000000 00000000 00002d34 2**2 CONTENTS, READONLY 11 .gnu.attributes 00000010 00000000 00000000 00003014 2**0 CONTENTS, READONLY 12 .mdebug.abi32 00000000 00000000 00000000 00003024 2**0 CONTENTS, READONLY "-R .MIPS.abiflags" seems to fix things; does that need to be added anywhere other than gentpl.py:image? -- Colin Watson [cjwatson@ubuntu.com]