All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: "Decompressor is too big" building i386-pc image on Cygwin
Date: Tue, 24 Dec 2013 15:03:15 +0100	[thread overview]
Message-ID: <52B99423.6030606@gmail.com> (raw)
In-Reply-To: <CAA91j0UFojhL-thy6bKsG+-bNCWzYJ-VqstiSkjsj09TLfofXw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

On 24.12.2013 08:38, Andrey Borzenkov wrote:
> On Mon, Dec 23, 2013 at 6:00 PM, Vladimir 'φ-coder/phcoder' Serbinenko
> <phcoder@gmail.com> 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 ==
>>> 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
> 
> Adding -Qn to TARGET_CFLAGS fixes it.
> 
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.
> 
Done
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]

      reply	other threads:[~2013-12-24 14:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-23 12:42 "Decompressor is too big" building i386-pc image on Cygwin Andrey Borzenkov
2013-12-23 13:16 ` Vladimir 'phcoder' Serbinenko
2013-12-23 13:29   ` Andrey Borzenkov
2013-12-23 13:36     ` Vladimir 'phcoder' Serbinenko
2013-12-23 14:00 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-23 14:55   ` Andrey Borzenkov
2013-12-24  7:38   ` Andrey Borzenkov
2013-12-24 14:03     ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52B99423.6030606@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.