2001-10-25 23:04:31

by J.A. Magallon

[permalink] [raw]
Subject: gcc-3.0.2 and 2.4.14-pre1

Hi.

Results of building with 3.0.2
- It works
- Kernel Sizes:
903449 Oct 26 00:38 vmlinuz-2.4.14-pre1-beo (2.96)
864599 Oct 26 00:25 vmlinuz-2.4.14-pre1-beo.old (3.0.2)
- Modules Sizes:
2750 /lib/modules/2.4.14-pre1-beo
2758 /lib/modules/2.4.14-pre1-beo.org
werewolf:/lib/modules# modprobe -l | wc -l
71

So it looks like the code is not bigger (modules) but some data structure
in main kernel...

--
J.A. Magallon # Let the source be with you...
mailto:[email protected]
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.14-pre1-beo #3 SMP Fri Oct 26 00:27:18 CEST 2001 i686


2001-10-26 01:48:19

by David Weinehall

[permalink] [raw]
Subject: Re: gcc-3.0.2 and 2.4.14-pre1

On Fri, Oct 26, 2001 at 01:04:32AM +0200, J . A . Magallon wrote:
> Hi.
>
> Results of building with 3.0.2
> - It works
> - Kernel Sizes:
> 903449 Oct 26 00:38 vmlinuz-2.4.14-pre1-beo (2.96)
> 864599 Oct 26 00:25 vmlinuz-2.4.14-pre1-beo.old (3.0.2)

Aren't these figures swapped in some way? I find it hard to believe
that 2.96 would produce the 40k bigger kernel.

> - Modules Sizes:
> 2750 /lib/modules/2.4.14-pre1-beo
> 2758 /lib/modules/2.4.14-pre1-beo.org
> werewolf:/lib/modules# modprobe -l | wc -l
> 71
>
> So it looks like the code is not bigger (modules) but some data structure
> in main kernel...

Quite likely due to the 16 bytes alignment that takes place (AFAIK).


/David
_ _
// David Weinehall <[email protected]> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </

2001-10-26 03:44:38

by The Doctor What

[permalink] [raw]
Subject: Re: gcc-3.0.2 and 2.4.14-pre1

* David Weinehall ([email protected]) [011025 20:51]:
> On Fri, Oct 26, 2001 at 01:04:32AM +0200, J . A . Magallon wrote:
> > 903449 Oct 26 00:38 vmlinuz-2.4.14-pre1-beo (2.96)
> > 864599 Oct 26 00:25 vmlinuz-2.4.14-pre1-beo.old (3.0.2)
>
> Aren't these figures swapped in some way? I find it hard to believe
> that 2.96 would produce the 40k bigger kernel.

Uhh...you misread it. The 2.96 is the top one, which is bigger.

Ciao!

--
"We are such stuff as dreams are made on and our little life is rounded with
a sleep..."
--Shakespeare, The Tempest, IV:i

The Doctor What: Second Baseman http://docwhat.gerf.org/
[email protected] KF6VNC

2001-10-26 08:05:41

by J.A. Magallon

[permalink] [raw]
Subject: Re: gcc-3.0.2 and 2.4.14-pre1


On 20011026 The Doctor What wrote:
>* David Weinehall ([email protected]) [011025 20:51]:
>> On Fri, Oct 26, 2001 at 01:04:32AM +0200, J . A . Magallon wrote:
>> > 903449 Oct 26 00:38 vmlinuz-2.4.14-pre1-beo (2.96)
>> > 864599 Oct 26 00:25 vmlinuz-2.4.14-pre1-beo.old (3.0.2)
>>
>> Aren't these figures swapped in some way? I find it hard to believe
>> that 2.96 would produce the 40k bigger kernel.
>
>Uhh...you misread it. The 2.96 is the top one, which is bigger.
>

My Fault, bigger is 3.0.2.

--
J.A. Magallon # Let the source be with you...
mailto:[email protected]
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.14-pre1-beo #3 SMP Fri Oct 26 00:27:18 CEST 2001 i686