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 1SV7pG-0001qZ-Tx for garchives@archives.gentoo.org; Thu, 17 May 2012 21:01:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BD1FE0CAC; Thu, 17 May 2012 21:01:20 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id C57BBE0923 for ; Thu, 17 May 2012 20:59:43 +0000 (UTC) Received: from weird.wonkology.org (xdsl-78-35-148-36.netcologne.de [78.35.148.36]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id A0A87DC052 for ; Thu, 17 May 2012 22:59:42 +0200 (CEST) Date: Thu, 17 May 2012 22:59:41 +0200 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails Message-ID: <20120517225941.6e5eec49@weird.wonkology.org> In-Reply-To: <20120517221302.2d87cac4@unet.univie.ac.at> 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> 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-Archives-Salt: e3c284f2-6214-4a2c-9738-08958daeacdf X-Archives-Hash: d1c46a4fadc8c2e535015a04da4f75ab 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