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