public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* Size of images in make-kpkg and make deb-pkg
@ 2013-02-12  0:29 Javier Domingo
  2013-02-21 23:14 ` Michal Marek
  0 siblings, 1 reply; 4+ messages in thread
From: Javier Domingo @ 2013-02-12  0:29 UTC (permalink / raw)
  To: linux-kbuild

Hello,

I don't know if this belongs here, but I just wanted to came across a
strange thing I am experiencing. I am currently working on v3.6, and I
have just discovered that generated kernel images have a totally
unrelated size.

When I compile with something like make-kpkg --initrd kernel_image
kernel_headers, the generated image is 7.7MB, and when I then run make
deb-pkg, the generated deb package is 33MB.

Other sizes are:
6.5M <-> 24M
38M <-> 484M (!!!)

Can anyone explain me this? I can't understand the difference, appart
from the obvious (that are different tools).

Thank you for your attention,

Javier Domingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Size of images in make-kpkg and make deb-pkg
  2013-02-12  0:29 Size of images in make-kpkg and make deb-pkg Javier Domingo
@ 2013-02-21 23:14 ` Michal Marek
  2013-02-21 23:22   ` Javier Domingo
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Marek @ 2013-02-21 23:14 UTC (permalink / raw)
  To: Javier Domingo; +Cc: linux-kbuild

On 12.2.2013 01:29, Javier Domingo wrote:
> Hello,
> 
> I don't know if this belongs here, but I just wanted to came across a
> strange thing I am experiencing. I am currently working on v3.6, and I
> have just discovered that generated kernel images have a totally
> unrelated size.
> 
> When I compile with something like make-kpkg --initrd kernel_image
> kernel_headers, the generated image is 7.7MB, and when I then run make
> deb-pkg, the generated deb package is 33MB.
> 
> Other sizes are:
> 6.5M <-> 24M
> 38M <-> 484M (!!!)

My guess is that the big one includes full debuginfo, while the other
one is stripped.

Michal


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Size of images in make-kpkg and make deb-pkg
  2013-02-21 23:14 ` Michal Marek
@ 2013-02-21 23:22   ` Javier Domingo
  2013-02-21 23:26     ` Michal Marek
  0 siblings, 1 reply; 4+ messages in thread
From: Javier Domingo @ 2013-02-21 23:22 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild

Is there any way to get rid of the full debuginfo?
Javier Domingo


2013/2/22 Michal Marek <mmarek@suse.cz>:
> On 12.2.2013 01:29, Javier Domingo wrote:
>> Hello,
>>
>> I don't know if this belongs here, but I just wanted to came across a
>> strange thing I am experiencing. I am currently working on v3.6, and I
>> have just discovered that generated kernel images have a totally
>> unrelated size.
>>
>> When I compile with something like make-kpkg --initrd kernel_image
>> kernel_headers, the generated image is 7.7MB, and when I then run make
>> deb-pkg, the generated deb package is 33MB.
>>
>> Other sizes are:
>> 6.5M <-> 24M
>> 38M <-> 484M (!!!)
>
> My guess is that the big one includes full debuginfo, while the other
> one is stripped.
>
> Michal
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Size of images in make-kpkg and make deb-pkg
  2013-02-21 23:22   ` Javier Domingo
@ 2013-02-21 23:26     ` Michal Marek
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Marek @ 2013-02-21 23:26 UTC (permalink / raw)
  To: Javier Domingo; +Cc: linux-kbuild

On 22.2.2013 00:22, Javier Domingo wrote:
> Is there any way to get rid of the full debuginfo?

See CONFIG_DEBUG_INFO and CONFIG_DEBUG_INFO_REDUCED. And please do not
top-post.

Michal



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-21 23:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12  0:29 Size of images in make-kpkg and make deb-pkg Javier Domingo
2013-02-21 23:14 ` Michal Marek
2013-02-21 23:22   ` Javier Domingo
2013-02-21 23:26     ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox