From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VvSa3-0004qE-EN for mharc-grub-devel@gnu.org; Tue, 24 Dec 2013 09:03:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvSZw-0004pJ-N1 for grub-devel@gnu.org; Tue, 24 Dec 2013 09:03:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VvSZr-00079L-IJ for grub-devel@gnu.org; Tue, 24 Dec 2013 09:03:24 -0500 Received: from mail-ee0-x22b.google.com ([2a00:1450:4013:c00::22b]:43359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvSZr-00078h-AY for grub-devel@gnu.org; Tue, 24 Dec 2013 09:03:19 -0500 Received: by mail-ee0-f43.google.com with SMTP id c13so2914165eek.30 for ; Tue, 24 Dec 2013 06:03:18 -0800 (PST) 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=F0ezhhWdZZEN/ZoI823za9P8AYVeWdRXC0tdGw95yhU=; b=HUqmh9Gxv97BJ18Fhd3rOlb+MAIoHoqZd50tuTClhReGCBZr5dTjNVzSrbft1LaYtv zfYcXbGGgY3EYnQwq539kbuYPUG/4FTxh/pVL2jEZY5f8grR17kfPLEmgob1ipTHBfio 53K0fR8wLzpBRM7lV7y8FCwWYDuMZUR8L405Me+2bfjHtP8ffK7EqsWfmla7mfS5rHbB 0hfDSc6M6T9YipHsPPwxNUMXs+52ywEQqHdnHwuq7+Leg0lSmUwVZpsxc1fYvJTMQ4Ul evm3w3abmLZGwiGxJD3YNzr5hMb2eM+F6KxRxqVog0hAOVMD85ETLojo0pF1ejhAW6xM ddoA== X-Received: by 10.15.49.193 with SMTP id j41mr27805395eew.10.1387893798231; Tue, 24 Dec 2013 06:03:18 -0800 (PST) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id h48sm55275877eev.3.2013.12.24.06.03.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Dec 2013 06:03:16 -0800 (PST) Message-ID: <52B99423.6030606@gmail.com> Date: Tue, 24 Dec 2013 15:03:15 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: "Decompressor is too big" building i386-pc image on Cygwin References: <52B841F3.6030802@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pCOKXqnPpB8dwEO4nnaqFd623o00cn7p4" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22b 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, 24 Dec 2013 14:03:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pCOKXqnPpB8dwEO4nnaqFd623o00cn7p4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 24.12.2013 08:38, Andrey Borzenkov wrote: > On Mon, Dec 23, 2013 at 6:00 PM, Vladimir '=CF=86-coder/phcoder' Serbin= enko > wrote: >> On 23.12.2013 13:42, Andrey Borzenkov wrote: >>> bor@server ~/grub-2.02~beta1 >>> $ ./grub-mkimage -d grub-core -O i386-pc -o grub.img >>> ./grub-mkimage: error: Decompressor is too big. >>> >>> bor@server ~/grub-2.02~beta1 >>> $ ls -l grub-core/*_decompress.img >>> -rwxr-xr-x 1 bor None 3604 Dec 23 15:53 grub-core/lzma_decompress.img= >>> >>> bor@server ~/grub-2.02~beta1 >>> $ >>> >>> Well, 3604 is indeed more than size it checks (0x9000 - 0x8200 =3D=3D= >>> 3584). As I definitely can use beta1 on Linux for the same platform, >>> it looks like Cygwin related? >>> >> >> It has a .rdata section with following contents: >> Contents of section .rdata: >> 9000 4743433a 2028474e 55292034 2e382e32 GCC: (GNU) 4.8.2 >> 9010 00000000 >> We'll need to find an option to inhibit this >=20 > Adding -Qn to TARGET_CFLAGS fixes it. >=20 Done > Small downside is, compiler used to generate files is no more present > in *.image and *.modules. May be we could stuff it in modinfo.sh to > facilitate debugging. >=20 Done > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --pCOKXqnPpB8dwEO4nnaqFd623o00cn7p4 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.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlK5lCMACgkQmBXlbbo5nOsIDgD/WEY8RJCpCNI2LSg3tsdzJ9/L FHCwcrkwI6Pt0hIGU2wA/jzjLJXVaHSBZ9dUUs0/LdDc1J9uRSvwkrTdfjGcsTUN =cXoz -----END PGP SIGNATURE----- --pCOKXqnPpB8dwEO4nnaqFd623o00cn7p4--