From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SX1sc-0007Zh-1K for garchives@archives.gentoo.org; Wed, 23 May 2012 03:04:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A362AE0466 for ; Wed, 23 May 2012 03:04:53 +0000 (UTC) Received: from grace.univie.ac.at (grace.univie.ac.at [131.130.3.115]) by pigeon.gentoo.org (Postfix) with ESMTP id 406DBE062B for ; Wed, 23 May 2012 02:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unet.univie.ac.at; s=rev2; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:To:From:Date; bh=Q0KgqoPIhPJYS1RtrwK+sQBo/uMgHhjrgpwLygNXQeU=; b=XMK6UWrAJ9vhj5sFqWOHo3ZLGZldSBx8KK/DVw8nR2lsy3x64+coWUlX4bLvm1Uv2m+eekvjkDSSIH2Ge2IrqLGt1iPBJHiR90mezcThymJum/wxFATS/n+G50X85KDjoVbbU7QcxGVWp/qGhVF//m/Ng7vBkla29Ff8G1l1ckc=; Received: from jarvis.univie.ac.at ([131.130.3.112] helo=jarvis.univie.ac.at) by grace.univie.ac.at with esmtp (Exim 4.77) (envelope-from ) id 1SX11r-0004k0-A9 for gentoo-user@lists.gentoo.org; Wed, 23 May 2012 04:10:23 +0200 Received: from chello080108107225.27.11.wu-wien.teleweb.at ([80.108.107.225] helo=localhost) by jarvis.univie.ac.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SX11r-0001b0-86 for gentoo-user@lists.gentoo.org; Wed, 23 May 2012 04:10:23 +0200 Date: Wed, 23 May 2012 04:10:21 +0200 From: Michael Scherer To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails Message-ID: <20120523041021.5cef3c03@unet.univie.ac.at> In-Reply-To: <20120517225941.6e5eec49@weird.wonkology.org> References: <4FAA2F0D.8080900@gmail.com> <4FAA595A.4040202@libertytrek.org> <20120510162012.74db0575@unet.univie.ac.at> <20120514021324.GA26071@badass.gateway.2wire.net> <335395246A21454687CDAE9ED74902EB@mic2> <4FB13D2E.10606@gmail.com> <20120514225436.196212a2@khamul.example.com> <4FB1A76F.2000503@gmail.com> <20120517181420.547327e3@unet.univie.ac.at> <20120517221302.2d87cac4@unet.univie.ac.at> <20120517225941.6e5eec49@weird.wonkology.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Univie-Virus-Scan: scanned by ClamAV on jarvis.univie.ac.at X-Archives-Salt: e90d5a5b-f11c-405f-9ace-0874775627aa X-Archives-Hash: 81497e9b5c57d779e3928cd344e525bf On Thu, 17 May 2012 22:59:41 +0200 Alex Schuster wrote: > Michael Scherer writes: > > > 1) make output: > > > > CHK include/linux/version.h > > CHK include/generated/utsrelease.h > > CALL scripts/checksyscalls.sh > > CHK include/generated/compile.h > > LD init/mounts.o > > ls -Al -m elf_x86_64 -r -o init/mounts.o init/do_mounts.o > > init/do_mounts_initrd.o init/mounts.o: No such file or directory > > make[1]: *** [init/mounts.o] Error 1 > > make: *** [init] Error 2 > > > > There is an LD, the ls line is part of the error message. > > But the options look really more like ld options to me. How this could > possibly happen, I don't know. Some overriding of $(LD) perhaps? Does > "env | egrep -i 'ls|ld'" show something weird? Does it also fail as a > non-root user, after you copied the stuff over to somewhere where this > user can write? Just grasping at straws here. > > > > But without doubt you are right that mounts.o is not built, for > > whatever reason. > > Because ld should build it from init/do_mounts.o, but ls is being > called instead? > > > The build command > > > > init/.do_mounts.o.cmd:cmd_init/do_mounts.o := gcc > > -Wp,-MD,init/.do_mounts.o.d -nostdinc > > -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include > > -I/usr/src/linux-3.2.12-gentoo/arch/x86/include > > -Iarch/x86/include/generated -Iinclude > > -include /usr/src/linux-3.2.12-gentoo/include/linux/kconfig.h > > -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs > > -fno-strict-aliasing -fno-common > > -Werror-implicit-function-declaration -Wno-format-security > > -fno-delete-null-pointer-checks -O2 -m64 -march=k8 -mno-red-zone > > -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args > > -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 > > -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe > > -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx > > -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 > > -fno-omit-frame-pointer -fno-optimize-sibling-calls > > -fno-inline-functions-called-once -Wdeclaration-after-statement > > -Wno-pointer-sign -fno-strict-overflow -fconserve-stack > > -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=\#s" > > -D"KBUILD_BASENAME=KBUILD_STR(do_mounts)" > > -D"KBUILD_MODNAME=KBUILD_STR(mounts)" -c -o init/do_mounts.o > > init/do_mounts.c > > > > contains a directive to build mounts.o, see second last line, but > > it for some reason this is ignored. > > Maybe there is a flaw in that command, only I can't find it. > > Neither can I. Is this command executed at all? If you maybe replace > the 'gcc' by 'gccXXX', does this give an error? Or put an 'echo' in > front of the gcc'. > You can try 'make -d', this will give you LOTS of debug output, but I > don't think you will see the actual commands then. > > Wonko > Now at last there is some kind of "progress". Last thing I tried was replacing my current .config with that of my previous kernel (3.2.1-r2) and at least the make ran all the way up to the point where it should link everything to build vmlinux, only now it tells me it couldn't find vmlinux.o. The last couple of lines from the make output: CC arch/x86/lib/cache-smp.o CC arch/x86/lib/msr.o AS arch/x86/lib/msr-reg.o CC arch/x86/lib/msr-reg-export.o AS arch/x86/lib/iomap_copy_64.o LD arch/x86/lib/built-in.o ls -Al -m elf_x86_64 -r -o arch/x86/lib/built-in.o arch/x86/lib/msr-smp.o arch/x86/lib/cache-smp.o arch/x86/lib/msr.o arch/x86/lib/msr-reg.o arch/x86/lib/msr-reg-export.o arch/x86/lib/iomap_copy_64.o AS arch/x86/lib/clear_page_64.o AS arch/x86/lib/cmpxchg16b_emu.o AS arch/x86/lib/copy_page_64.o AS arch/x86/lib/copy_user_64.o AS arch/x86/lib/copy_user_nocache_64.o AS arch/x86/lib/csum-copy_64.o CC arch/x86/lib/csum-partial_64.o CC arch/x86/lib/csum-wrappers_64.o CC arch/x86/lib/delay.o AS arch/x86/lib/getuser.o GEN arch/x86/lib/inat-tables.c CC arch/x86/lib/inat.o CC arch/x86/lib/insn.o AS arch/x86/lib/memcpy_64.o AS arch/x86/lib/memmove_64.o AS arch/x86/lib/memset_64.o AS arch/x86/lib/putuser.o AS arch/x86/lib/rwlock.o AS arch/x86/lib/rwsem.o AS arch/x86/lib/thunk_64.o CC arch/x86/lib/usercopy.o CC arch/x86/lib/usercopy_64.o AR arch/x86/lib/lib.a LD vmlinux.o ls -Al -m elf_x86_64 -r -o vmlinux.o arch/x86/kernel/head_64.o arch/x86/kernel/head64.o arch/x86/kernel/head.o arch/x86/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/x86/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o lib/lib.a arch/x86/lib/lib.a lib/built-in.o arch/x86/lib/built-in.o drivers/built-in.o sound/built-in.o firmware/built-in.o arch/x86/pci/built-in.o arch/x86/power/built-in.o arch/x86/video/built-in.o net/built-in.o --end-group MODPOST vmlinux.o vmlinux.o: No such file or directory make[1]: *** [vmlinux.o] Error 1 make: *** [vmlinux.o] Error 2 Essentially the same error as previously with mounts.o, and after every LD comes an ls -Al ... line like above, which I never saw before in my make outputs. Don't know where that comes from. I'm now back where the troubles began, the vmlinux.o error was the first I encountered after my last successful build. Maybe a careful search of a diff of the .config files will give me some idea. By now you're probably somewhat tired of devoting your time to this problem, so thank you for all your efforts to help me. If I ever solve this, you'll hear from me (which doesn't mean the thread is closed. If someone is still curious... ;-) ) Kind regards, Michael