Building 2.6 kernels on FC1
Michel Alexandre Salim
salimma at fastmail.fm
Tue Feb 24 17:36:23 UTC 2004
Hi all,
I have been trying to track down the problems with my Firewire external
drive unit, and thought I would try building a 2.6.3 kernel using Red
Hat's spec for UP i686 on FC1, using gcc32 and gcc 3.3, and copy the
result over.
The result, simply said, is interesting. This is taken using 2.6.3-mm3
with gcc 3.3, but other results are similar.
/lib/modules/linux-2.6.3-mm3: 376 MB
linux-2.6.3-mm3 build directory: 1.4G
linux-2.6.3-mm3/arch/i386/boot/bzImage: 1.5M
saying those were a bit on the large size would be a bit of an
understatement..
it turns out make modules_install is doing bizarre things; a listing of
kernel/drivers/acpi does this for instance:
total 1768
-rw-r--r-- 1 root root 7938 Feb 24 23:58 ac.c
-rw-r--r-- 1 root root 185294 Feb 24 23:58 ac.ko
-rw-r--r-- 1 root root 33213 Feb 24 23:58 asus_acpi.c
-rw-r--r-- 1 root root 204759 Feb 24 23:58 asus_acpi.ko
-rw-r--r-- 1 root root 20347 Feb 24 23:58 battery.c
-rw-r--r-- 1 root root 194175 Feb 24 23:58 battery.ko
-rw-r--r-- 1 root root 13126 Feb 24 23:58 button.c
-rw-r--r-- 1 root root 187411 Feb 24 23:58 button.ko
-rw-r--r-- 1 root root 6658 Feb 24 23:58 fan.c
-rw-r--r-- 1 root root 183526 Feb 24 23:58 fan.ko
-rw-r--r-- 1 root root 61229 Feb 24 23:59 processor.c
-rw-r--r-- 1 root root 240387 Feb 24 23:59 processor.ko
-rw-r--r-- 1 root root 35245 Feb 25 00:00 thermal.c
-rw-r--r-- 1 root root 206273 Feb 25 00:00 thermal.ko
-rw-r--r-- 1 root root 13610 Feb 25 00:00 toshiba_acpi.c
-rw-r--r-- 1 root root 189128 Feb 25 00:00 toshiba_acpi.ko
1) .c source files are installed
2) size bloat of an order of magnitude
I will try rebuilding the Fedora kernel next - on FC1 and FC2-devel,
gcc32 and gcc 3.3. Which reminds me - why does the kernel Makefile
define both HOSTCC and HOSTCXX ? IIRC the kernel contains zero LOC of C+
+.
Thanks,
- Michel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040225/c0f05996/attachment.sig>
More information about the fedora-devel-list
mailing list