From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XVjRm-000356-Qw for mharc-grub-devel@gnu.org; Sun, 21 Sep 2014 11:53:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVjRh-00034u-9b for grub-devel@gnu.org; Sun, 21 Sep 2014 11:53:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVjRc-0002jZ-Vz for grub-devel@gnu.org; Sun, 21 Sep 2014 11:53:05 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:55399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVjRc-0002iw-Ou for grub-devel@gnu.org; Sun, 21 Sep 2014 11:53:00 -0400 Received: by mail-wi0-f178.google.com with SMTP id z2so1686363wiv.17 for ; Sun, 21 Sep 2014 08:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=Ja8yAip6GhWW1gI9BPANoaIcVvvwBH1vBTxyOY/tv0Q=; b=b9KYn84U7WmBJGiPVSUNA7otqrFRmLqDmjgcoiuqutPwN5V/8k9EjYlIUdupfpsLu3 NAayvmgTeYjBCNyH9wLZXIJZZij19Sy7NqyC1Jz1POSE9ydPVi25I7OXPb8vHhHykmxm CeCsOnyjqcmCoE9UWPUZOEleKpDLgHtu609s9WjGSdakO8mHrw3FZw9lq0+KXTFWd4DL ewB9eqDFonRWBYknMTXGzXUaeoadPv9l+kKukb71sIZKpJZOpbUOFi2EEGlBv0/SsW37 gvZozLiMfyD6kTGcaJkbPnm52mSU7wP765ptSlCjX5nlqxwu1/4f+78OsJ6lcVRnPy/s 99jw== X-Received: by 10.194.78.101 with SMTP id a5mr1647832wjx.118.1411314774933; Sun, 21 Sep 2014 08:52:54 -0700 (PDT) Received: from [192.168.42.4] (160-228.197-178.cust.bluewin.ch. [178.197.228.160]) by mx.google.com with ESMTPSA id cw6sm9281626wjb.18.2014.09.21.08.52.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Sep 2014 08:52:54 -0700 (PDT) Message-ID: <541EF452.7090000@gmail.com> Date: Sun, 21 Sep 2014 17:52:50 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: mips-arc build failure on xz_decompress.img References: <20140825222907.GA22063@riva.ucam.org> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tujoAWxWUUJaGrSRvP7KlQUDdj292Foh6" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::232 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: Sun, 21 Sep 2014 15:53:09 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tujoAWxWUUJaGrSRvP7KlQUDdj292Foh6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 26.08.2014 10:23, Andrei Borzenkov wrote: > On Tue, Aug 26, 2014 at 8:52 AM, Andrei Borzenkov = wrote: >> On Tue, Aug 26, 2014 at 2:29 AM, Colin Watson wr= ote: >>> I tried to enable the mips-arc platform in Debian. When test-buildin= g, >>> I first ran into a GCC uninitialised warning (promoted to an error by= >>> -Werror), which I fixed in >>> http://git.savannah.gnu.org/gitweb/?p=3Dgrub.git;a=3Dcommitdiff;h=3D1= de3a48098053aaebd35232bd73e3ce3f3fdf51c. >>> Following that, I get: >>> >>> if test x0 =3D x1; then ../grub-macho2img xz_decompress.image xz_= decompress.img; else objcopy -O binary --strip-unneeded -R .note -R .= comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn -R .note.gnu.gold-v= ersion xz_decompress.image xz_decompress.img; fi >>> BFD: Warning: Writing section `.text' to huge (ie negative) file of= fset 0x87cfff48. >>> BFD: Warning: Writing section `.rodata' to huge (ie negative) file = offset 0x87d027b8. >>> BFD: Warning: Writing section `.data.rel.ro' to huge (ie negative) = file offset 0x87d02834. >>> BFD: Warning: Writing section `.data' to huge (ie negative) file of= fset 0x87d02898. >>> BFD: Warning: Writing section `.got' to huge (ie negative) file off= set 0x87d028a8. >>> objcopy:xz_decompress.img[.text]: File truncated >>> Makefile:41738: recipe for target 'xz_decompress.img' failed >>> make[5]: *** [xz_decompress.img] Error 1 >>> >>> Any idea what's going on here? Let me know if I need to provide more= >>> information. >>> >> >> >> Looks similar to >> http://www.linux-mips.org/archives/linux-mips/2006-06/msg00028.html. >=20 > To be more precise - Makefile is using > -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR) with > TARGET_DECOMPRESSOR_LINK_ADDR=3D0x88100000 for MIPS. It may need to > explicitly specify start address for other sections as well, somewhere > near 0x88100000. >=20 @Colin: do you have intermediate files? We should probably strip those extra sections. > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --tujoAWxWUUJaGrSRvP7KlQUDdj292Foh6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iF4EAREKAAYFAlQe9FIACgkQmBXlbbo5nOsx8QEAp0lLfQf2iNHI4jDN+zoJZKa3 4wXTQqyTsu+abqgJv5EA/24MoV1M0BHXM3bhIt6FZkeZN0ulPcjRJWtIAN2LQAEY =Vr7n -----END PGP SIGNATURE----- --tujoAWxWUUJaGrSRvP7KlQUDdj292Foh6--