Hi all,
it's now weeks that I'm running the internet up and down in search of a
solution to this problem, without any success, including an attempt at
gentoo's bugzilla (who probably correctly denied responsibility), gentoo
forums and your "similar threads"-button.
kernel make of gentoo-sources-3.2.12 gives me the error
"vmlinux.o: No such file or directory".
here's some context from "make C=1":
>>>
LD lib/zlib_inflate/built-in.o
ls -Al -m elf_x86_64 -r -o lib/zlib_inflate/built-in.o lib/zlib_inflate/zlib_inflate.o
LD lib/built-in.o
ls -Al -m elf_x86_64 -r -o lib/built-in.o lib/bcd.o lib/div64.o lib/sort.o lib/parser.o lib/halfmd4.o lib/debug_locks.o lib/random32.o lib/bust_spinlocks.o lib/hexdump.o lib/kasprintf.o lib/bitmap.o lib/scatterlist.o lib/string_helpers.o lib/gcd.o lib/lcm.o lib/list_sort.o lib/uuid.o lib/flex_array.o lib/bsearch.o lib/find_last_bit.o lib/find_next_bit.o lib/llist.o lib/kstrtox.o lib/iomap.o lib/iomap_copy.o lib/devres.o lib/hweight.o lib/bitrev.o lib/crc16.o lib/crc-itu-t.o lib/crc32.o lib/zlib_inflate/built-in.o lib/zlib_deflate/built-in.o lib/lzo/built-in.o lib/xz/built-in.o lib/percpu_counter.o lib/swiotlb.o lib/iommu-helper.o lib/syscall.o lib/nlattr.o lib/cpu_rmap.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
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/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
<<<
this is the essence of what's wrong, the ls -Al -m elf_c86_64 ... outputs
after each LD and finally the aborted MODPOST.
I've done all possible and impossible make xxx variants, from the obvious
"make clean" to "make allnoconfig" and the like.
running "make -d" tells me a little bit more, but I don't know what to
make of it:
>>>
No need to remake target `include/config/auto.conf'.
Considering target file `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Looking for an implicit rule for `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Trying pattern rule with stem `usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Trying implicit prerequisite `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost_shipped'.
Trying pattern rule with stem `usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Trying implicit prerequisite `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost_shipped'.
Looking for a rule with intermediate file `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost_shipped'.
Avoiding implicit rule recursion.
No implicit rule found for `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Finished prerequisites of target file `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
No need to remake target `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Updating goal targets....
Considering target file `vmlinux.o'.
File `vmlinux.o' does not exist.
Considering target file `FORCE'.
File `FORCE' does not exist.
Finished prerequisites of target file `FORCE'.
Must remake target `FORCE'.
Successfully remade target file `FORCE'.
Finished prerequisites of target file `vmlinux.o'.
Must remake target `vmlinux.o'.
Invoking recipe from /usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost:97 to update target `vmlinux.o'.
Putting child 0x1ad2d80 (vmlinux.o) PID 14918 on the chain.
Live child 0x1ad2d80 (vmlinux.o) PID 14918
MODPOST vmlinux.o
vmlinux.o: No such file or directory
Reaping losing child 0x1ad2d80 PID 14918
make[1]: *** [vmlinux.o] Error 1
Removing child 0x1ad2d80 PID 14918 from chain.
Reaping losing child 0x9db190 PID 14916
make: *** [vmlinux.o] Error 2
Removing child 0x9db190 PID 14916 from chain.
<<<
and at last system information:
>>>
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop, gcc-4.5.3,
glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_Phenom-tm-_8400_Triple-
Core_Processor-with-gentoo-2.1
Timestamp of tree: Sat, 09 Jun 2012 08:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r1, 3.2.3
dev-util/ccache: 3.1.7
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.6
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt
/var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks
fixlafiles news parallel-fetch protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS="-march=amdfam10 -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.inode.at
http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
<<<
That's about all, at least for the first post, maybe someone has an idea.
All other compilations run flawlessly, there's no race condition ("make -j1"),
the file system is ok, no lack of inodes or the like, I've tried other
kernels past and future, and different .configs as well.
.config might have something to do with this error, but the only variation
I get is that sometimes the compilation just runs up to "mount.o".
If you need any further information I'll gladly provide it, only I thought
this post is already long enough.
kind regards, michael