Gentoo Archives: gentoo-dev

From: Jeremiah Mahler <jmahler@×××××××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] gcc3 and linux-kernel
Date: Wed, 21 Aug 2002 11:49:16
Message-Id: 20020821164905.GA9739@jackpot.localdomain
In Reply to: [gentoo-dev] gcc3 and linux-kernel by Christian Skarby
1 On Wed, Aug 21, 2002 at 06:51:32PM +0200, Christian Skarby wrote:
2 > Anyone else who experience problems compiling the kernel with
3 > gentoo-1.4_beta and gcc3? Myself I've had touble both with gcc-3.1.1-r1
4 > and gcc-3.2.
5 >
6 > Problem spec:
7 > No errors untill "make modules_install"
8 >
9 > /* Many lines featuring the same scenario as beneath for other .o-files */
10 > depmod: *** Unresolved symbols in
11 > /lib/modules/2.4.20-pre4/kernel/fs/vfat/vfat.o
12 > /* and a lot of lines here beginning with "depmod: " */
13 > make: *** [_modinst_post] Error 1
14 >
15 > With gcc-3.2 I've tried gentoo-sources-2.4.19-r7, vanilla-sources-2.4.19
16 > and vanilla-sources-2.4.20_pre-r4 (which I wrote myself for testing the
17 > most recent kernel prerelease.)
18 >
19 > Ergo: the compilation itself pass by without any alerting messages that
20 > I've noticed (anyway I probably wouldn't because it's compiling unattended
21 > so it would require an exit before I would see it.) It's the module
22 > installation that exit. Not sure if it is because depmod is broken, or if
23 > there is anything else - most of the time programs compile without errors
24 > so playing with this is not like playing in my backyard...
25 >
26 > Looking forward to hearing if anyone has experienced the same and know how
27 > to solve this issue :)
28 >
29 > Christian
30 >
31
32 I ran into this problem while upgrading to gcc-3.2 (of which I am still
33 in the process of; 2 days so far). I tried every make instruction I
34 could find: clean, mrproper, etc. I have not had a chance to reboot to
35 see if the kernel I made worked, but the only way I got "make modules_install"
36 to shut up was by configuring nothing to be used as a module.
37
38 Note also, gentoo-sources is
39 broken (http://bugs.gentoo.org/show_bug.cgi?id=6787) but the
40 vanilla-sources still work. And, linux-headers, which are needed
41 for glibc, is out of date with respect to the vanilla-source
42 (http://bugs.gentoo.org/show_bug.cgi?id=6793).
43
44 --
45 Jeremiah Mahler
46 <jmahler@×××××××.net>