Gentoo Archives: gentoo-user

From: Michael Scherer <a6702894@××××××××××××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails
Date: Thu, 17 May 2012 20:14:54
Message-Id: 20120517221302.2d87cac4@unet.univie.ac.at
In Reply to: Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails by Pandu Poluan
1 On Fri, 18 May 2012 01:06:02 +0700
2 Pandu Poluan <pandu@××××××.info> wrote:
3
4 > On May 17, 2012 11:19 PM, "Michael Scherer"
5 > <a6702894@××××××××××××××.at> wrote:
6 > >
7 > > On Wed, 16 May 2012 07:41:32 +0700
8 > > Pandu Poluan <pandu@××××××.info> wrote:
9 > >
10 > > > On May 15, 2012 7:50 AM, "Dale" <rdalek1967@×××××.com> wrote:
11 > > > >
12 > > > > Maybe like me, you blabber more than you think:
13 > > > >
14 > > > > http://archives.gentoo.org/stats/gentoo-user-per-year.xml
15 > > > >
16 > > > > I didn't put them in any certain order but you have fallen a bit
17 > > > > tho. Someone put alum in your water or something?
18 > > > >
19 > > >
20 > > > I blabbed that much??
21 > > >
22 > > > Gee... I purposefully stay away from piping up in threads related
23 > > > to CUPS, KDE, Gnome, and other desktop-only stuff, and still end
24 > > > up in the top 5?? o_O
25 > > >
26 > > > Rgds,
27 > >
28 > > OK, OK. May I remind you what started this thread?
29 > > If bottom-most is really that important to you, I will
30 > > of course comply, though with outlook express which I'm
31 > > forced to use most of the time this is a bit tedious.
32 > > I had no idea what a flood of angry comments my post
33 > > on preferring top-most would start off.
34 > >
35 > > My original problem (see title) is as yet unsolved. Any one
36 > > out there with an idea what might be causing this?
37 > > I'm grateful to those 3 or 4 who tried to help, but
38 > > by now I'm rather desperate and in the whole of internet
39 > > pages there is nothing even coming near.
40 > >
41 > > bugzilla told me this wasn't a bug and go to the forums.
42 > > So you are really my last resort.
43 > >
44 > > regards, michael
45 > >
46 >
47 > Based on the information you've given, there can be only 2 possible
48 > cause:
49 >
50 > 1. The Makefile is somehow b0rken.
51 >
52 > Evidence : 'ls' instead of 'ld'
53 >
54 > 2. Some file creation failed, causing the next step to fail.
55 >
56 > Please post the output of 'df -i'. I once ran out of inodes during
57 > kernel compile, even when the filesystem (ext4) was created with IIRC
58 > 100'000-something inodes (and still having several gigabytes of free
59 > space).
60 >
61 > Nowadays, I put /usr/src and portage's tempdir on a reiserfs to
62 > prevent running out of inodes.
63 >
64 > 3. Something is wrong with your filesystem.
65 >
66 > Especially if /usr/src is *already* on reiserfs. In this case, boot
67 > using SystemRescueCD and do an offline fsck on the partition
68 > containing /usr/src
69 >
70 > 4. Swapfile / Swap partition problems.
71 >
72 > Even with enough RAM, sometimes gcc just wants a swap. Post the
73 > output of 'swapon -s' please.
74 >
75 > And there's also the possibility that somehow the swap gets b0rked.
76 > Try turning off swap, rebuild the swap, and turning it back on.
77 >
78 > Rgds,
79
80 1) make output:
81
82 CHK include/linux/version.h
83 CHK include/generated/utsrelease.h
84 CALL scripts/checksyscalls.sh
85 CHK include/generated/compile.h
86 LD init/mounts.o
87 ls -Al -m elf_x86_64 -r -o init/mounts.o init/do_mounts.o
88 init/do_mounts_initrd.o init/mounts.o: No such file or directory
89 make[1]: *** [init/mounts.o] Error 1
90 make: *** [init] Error 2
91
92 There is an LD, the ls line is part of the error message.
93
94 2) df -i
95
96 Filesystem Inodes IUsed IFree IUse% Mounted on
97 rootfs 1313280 5652 1307628 1% /
98 /dev/root 1313280 5652 1307628 1% /
99 devtmpfs 385505 785 384720 1% /dev
100 rc-svcdir 385724 63 385661 1% /lib64/rc/init.d
101 /tmpfs 385724 1 385723 1% /dev/shm
102 /dev/sda12 130560 23 130537 1% /boot
103 /dev/sda15 3932656 363434 3569222 10% /usr
104 /dev/sda16 6119424 275818 5843606 5% /var
105
106 3) /usr/src is ext4, and all ebuilds run without problems.
107 If something is wrong with the file system, maybe an fsck would
108 show it, so I'll try that.
109
110 4) swapon -s
111
112 Filename Type Size
113 Used Priority /dev/sda13
114 partition 10482376 0 -1
115
116 immediately after running make.
117
118 Remaking the swap area resulted in the same line as above.
119
120 But without doubt you are right that mounts.o is not built, for
121 whatever reason. The build command
122
123 init/.do_mounts.o.cmd:cmd_init/do_mounts.o := gcc
124 -Wp,-MD,init/.do_mounts.o.d -nostdinc
125 -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include
126 -I/usr/src/linux-3.2.12-gentoo/arch/x86/include
127 -Iarch/x86/include/generated -Iinclude
128 -include /usr/src/linux-3.2.12-gentoo/include/linux/kconfig.h
129 -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
130 -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration
131 -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -march=k8
132 -mno-red-zone -mcmodel=kernel -funit-at-a-time
133 -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1
134 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1
135 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare
136 -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
137 -Wframe-larger-than=2048 -fno-omit-frame-pointer
138 -fno-optimize-sibling-calls -fno-inline-functions-called-once
139 -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow
140 -fconserve-stack -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s"
141 -D"KBUILD_BASENAME=KBUILD_STR(do_mounts)"
142 -D"KBUILD_MODNAME=KBUILD_STR(mounts)" -c -o init/do_mounts.o
143 init/do_mounts.c
144
145 contains a directive to build mounts.o, see second last line, but
146 it for some reason this is ignored.
147 Maybe there is a flaw in that command, only I can't find it.
148
149 regards, michael

Replies

Subject Author
Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>
Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails Michael Scherer <a6702894@××××××××××××××.at>
Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails Alex Schuster <wonko@×××××××××.org>