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 <gentoo-user+bounces-138551-garchives=archives.gentoo.org@lists.gentoo.org>) id 1SX7VN-0004X6-AV for garchives@archives.gentoo.org; Wed, 23 May 2012 09:05:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAAA0E07AD for <garchives@archives.gentoo.org>; Wed, 23 May 2012 09:05:16 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 3ADB6E05EF for <gentoo-user@lists.gentoo.org>; Wed, 23 May 2012 06:05:54 +0000 (UTC) Received: from mail-vb0-f53.google.com ([209.85.212.53]) by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.69) (envelope-from <pandu@poluan.info>) id 1SX4hm-003zSY-E3 for gentoo-user@lists.gentoo.org; Wed, 23 May 2012 13:05:54 +0700 Received: by vbbfc26 with SMTP id fc26so5387769vbb.40 for <gentoo-user@lists.gentoo.org>; Tue, 22 May 2012 23:05:51 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.52.88.176 with SMTP id bh16mr8175394vdb.132.1337753151171; Tue, 22 May 2012 23:05:51 -0700 (PDT) Received: by 10.220.81.202 with HTTP; Tue, 22 May 2012 23:05:50 -0700 (PDT) Received: by 10.220.81.202 with HTTP; Tue, 22 May 2012 23:05:50 -0700 (PDT) In-Reply-To: <20120523041021.5cef3c03@unet.univie.ac.at> References: <4FAA2F0D.8080900@gmail.com> <4FAA595A.4040202@libertytrek.org> <CAK2H+ec30vQ09U22vAc72hSQBJb2ZN5b25snH6-D3cDXrReHSA@mail.gmail.com> <CAA2qdGW8UuF3H-CBiqn48f+Pboj3AhCT2WhDd1SwzE-g7z_MJg@mail.gmail.com> <20120510162012.74db0575@unet.univie.ac.at> <jom9g1$bfu$1@dough.gmane.org> <C9F001AC03A74F019BF750216BFF5D03@mic2> <20120514021324.GA26071@badass.gateway.2wire.net> <335395246A21454687CDAE9ED74902EB@mic2> <yu94nrioi4t.fsf@nyu.edu> <4FB13D2E.10606@gmail.com> <20120514225436.196212a2@khamul.example.com> <4FB1A76F.2000503@gmail.com> <CAA2qdGX_ZGe=zOSahr9RaZhqVnTSi+vfsQ__o0oVC=j3Wj8q8g@mail.gmail.com> <20120517181420.547327e3@unet.univie.ac.at> <CAA2qdGWODaOswAQKGwLSRgpZaQyrm12a+Xg-ErqN4WrFTi4wBQ@mail.gmail.com> <20120517221302.2d87cac4@unet.univie.ac.at> <20120517225941.6e5eec49@weird.wonkology.org> <20120523041021.5cef3c03@unet.univie.ac.at> Date: Wed, 23 May 2012 13:05:50 +0700 Message-ID: <CAA2qdGX6L3nVz9EmFh7UDjFqSWfXTBJ7yO+=yOAQSNMGa7nRqw@mail.gmail.com> Subject: Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails From: Pandu Poluan <pandu@poluan.info> To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=bcaec501c5565f6dc504c0aded66 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - poluan.info X-Archives-Salt: 69989e6f-69bd-412c-a4a8-27e07a4488e8 X-Archives-Hash: bbdc0ab312bb8ab8518916f089678a0a --bcaec501c5565f6dc504c0aded66 Content-Type: text/plain; charset=UTF-8 On May 23, 2012 9:14 AM, "Michael Scherer" <a6702894@unet.univie.ac.at> wrote: > > On Thu, 17 May 2012 22:59:41 +0200 > Alex Schuster <wonko@wonkology.org> 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 > If the problem is due to .config, run make oldconfig first. Rgds, --bcaec501c5565f6dc504c0aded66 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <p><br> On May 23, 2012 9:14 AM, "Michael Scherer" <<a href=3D"mailto:= a6702894@unet.univie.ac.at">a6702894@unet.univie.ac.at</a>> wrote:<br> ><br> > On Thu, 17 May 2012 22:59:41 +0200<br> > Alex Schuster <<a href=3D"mailto:wonko@wonkology.org">wonko@wonkolo= gy.org</a>> wrote:<br> ><br> > > Michael Scherer writes:<br> > ><br> > > > 1) make output:<br> > > ><br> > > > =C2=A0 CHK =C2=A0 =C2=A0 include/linux/version.h<br> > > > =C2=A0 CHK =C2=A0 =C2=A0 include/generated/utsrelease.h<br> > > > =C2=A0 CALL =C2=A0 =C2=A0scripts/checksyscalls.sh<br> > > > =C2=A0 CHK =C2=A0 =C2=A0 include/generated/compile.h<br> > > > =C2=A0 LD =C2=A0 =C2=A0 =C2=A0init/mounts.o<br> > > > ls -Al -m elf_x86_64 -r -o init/mounts.o init/do_mounts.o<br= > > > > init/do_mounts_initrd.o init/mounts.o: No such file or direc= tory<br> > > > make[1]: *** [init/mounts.o] Error 1<br> > > > make: *** [init] Error 2<br> > > ><br> > > > There is an LD, the ls line is part of the error message.<br= > > ><br> > > But the options look really more like ld options to me. How this = could<br> > > possibly happen, I don't know. Some overriding of $(LD) perha= ps? Does<br> > > "env | egrep -i 'ls|ld'" show something weird? = Does it also fail as a<br> > > non-root user, after you copied the stuff over to somewhere where= this<br> > > user can write? Just grasping at straws here.<br> > ><br> > ><br> > > > But without doubt you are right that mounts.o is not built, = for<br> > > > whatever reason.<br> > ><br> > > Because ld should build it from init/do_mounts.o, but ls is being= <br> > > called instead?<br> > ><br> > > > The build command<br> > > ><br> > > > init/.do_mounts.o.cmd:cmd_init/do_mounts.o :=3D gcc<br> > > > -Wp,-MD,init/.do_mounts.o.d -nostdinc<br> > > > -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include<br> > > > -I/usr/src/linux-3.2.12-gentoo/arch/x86/include<br> > > > -Iarch/x86/include/generated -Iinclude<br> > > > -include /usr/src/linux-3.2.12-gentoo/include/linux/kconfig.= h<br> > > > -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraph= s<br> > > > -fno-strict-aliasing -fno-common<br> > > > -Werror-implicit-function-declaration -Wno-format-security<b= r> > > > -fno-delete-null-pointer-checks -O2 -m64 -march=3Dk8 -mno-re= d-zone<br> > > > -mcmodel=3Dkernel -funit-at-a-time -maccumulate-outgoing-arg= s<br> > > > -fstack-protector -DCONFIG_AS_CFI=3D1 -DCONFIG_AS_CFI_SIGNAL= _FRAME=3D1<br> > > > -DCONFIG_AS_CFI_SECTIONS=3D1 -DCONFIG_AS_FXSAVEQ=3D1 -pipe<b= r> > > > -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -= mno-mmx<br> > > > -mno-sse2 -mno-3dnow -Wframe-larger-than=3D2048<br> > > > -fno-omit-frame-pointer -fno-optimize-sibling-calls<br> > > > -fno-inline-functions-called-once -Wdeclaration-after-statem= ent<br> > > > -Wno-pointer-sign -fno-strict-overflow -fconserve-stack<br> > > > -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=3D\#s"<br> > > > -D"KBUILD_BASENAME=3DKBUILD_STR(do_mounts)"<br> > > > -D"KBUILD_MODNAME=3DKBUILD_STR(mounts)" -c -o init= /do_mounts.o<br> > > > init/do_mounts.c<br> > > ><br> > > > contains a directive to build mounts.o, see second last line= , but<br> > > > it for some reason this is ignored.<br> > > > Maybe there is a flaw in that command, only I can't find= it.<br> > ><br> > > Neither can I. Is this command executed at all? If you maybe repl= ace<br> > > the 'gcc' by 'gccXXX', does this give an error? O= r put an 'echo' in<br> > > front of the gcc'.<br> > > You can try 'make -d', this will give you LOTS of debug o= utput, but I<br> > > don't think you will see the actual commands then.<br> > ><br> > > =C2=A0 =C2=A0 =C2=A0 Wonko<br> > ><br> ><br> > Now at last there is some kind of "progress". Last thing I t= ried was<br> > replacing my current .config with that of my previous kernel (3.2.1-r2= )<br> > and at least the make ran all the way up to the point where it should<= br> > link everything to build vmlinux, only now it tells me it couldn't= <br> > find vmlinux.o.<br> ><br> > The last couple of lines from the make output:<br> ><br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/cache-smp.o<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/msr.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/msr-reg.o<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/msr-reg-export.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/iomap_copy_64.o<br> > =C2=A0LD =C2=A0 =C2=A0 =C2=A0arch/x86/lib/built-in.o<br> > ls -Al -m elf_x86_64 -r -o arch/x86/lib/built-in.o<br> > arch/x86/lib/msr-smp.o arch/x86/lib/cache-smp.o arch/x86/lib/msr.o<br> > arch/x86/lib/msr-reg.o arch/x86/lib/msr-reg-export.o<br> > arch/x86/lib/iomap_copy_64.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/clear_page_64.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/cmpxchg16b_emu.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/copy_page_64.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/copy_user_64.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/copy_user_nocache_64.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/csum-copy_64.o<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/csum-partial_64.o<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/csum-wrappers_64.o<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/delay.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/getuser.o<br> > =C2=A0GEN =C2=A0 =C2=A0 arch/x86/lib/inat-tables.c<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/inat.o<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/insn.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/memcpy_64.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/memmove_64.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/memset_64.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/putuser.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/rwlock.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/rwsem.o<br> > =C2=A0AS =C2=A0 =C2=A0 =C2=A0arch/x86/lib/thunk_64.o<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/usercopy.o<br> > =C2=A0CC =C2=A0 =C2=A0 =C2=A0arch/x86/lib/usercopy_64.o<br> > =C2=A0AR =C2=A0 =C2=A0 =C2=A0arch/x86/lib/lib.a<br> > =C2=A0LD =C2=A0 =C2=A0 =C2=A0vmlinux.o<br> > ls -Al -m elf_x86_64 -r -o vmlinux.o arch/x86/kernel/head_64.o<br> > arch/x86/kernel/head64.o arch/x86/kernel/head.o<br> > arch/x86/kernel/init_task.o init/built-in.o --start-group<br> > usr/built-in.o arch/x86/built-in.o kernel/built-in.o mm/built-in.o<br> > fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o<br> > block/built-in.o lib/lib.a arch/x86/lib/lib.a lib/built-in.o<br> > arch/x86/lib/built-in.o drivers/built-in.o sound/built-in.o<br> > firmware/built-in.o arch/x86/pci/built-in.o arch/x86/power/built-in.o<= br> > arch/x86/video/built-in.o net/built-in.o --end-group<br> > =C2=A0MODPOST vmlinux.o<br> > =C2=A0vmlinux.o: No such file or directory make[1]: ***<br> > =C2=A0[vmlinux.o] Error 1 make: *** [vmlinux.o] Error 2<br> ><br> ><br> > Essentially the same error as previously with mounts.o, and after<br> > every LD comes an ls -Al ... line like above, which I never saw<br> > before in my make outputs. Don't know where that comes from.<br> ><br> > I'm now back where the troubles began, the vmlinux.o error was<br> > the first I encountered after my last successful build.<br> > Maybe a careful search of a diff of the .config files will<br> > give me some idea.<br> ><br> > By now you're probably somewhat tired of devoting your time<br> > to this problem, so thank you for all your efforts to help me.<br> > If I ever solve this, you'll hear from me (which doesn't mean<= br> > the thread is closed. If someone is still curious... ;-) )<br> ><br> > Kind regards, Michael<br> ></p> <p>If the problem is due to .config, run make oldconfig first.</p> <p>Rgds, <br> </p> --bcaec501c5565f6dc504c0aded66--