Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 412257

Summary: kernel 3.2.12 make Error1 vmlinux.o No such file ...
Product: Gentoo Linux Reporter: a6702894
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED NEEDINFO    
Severity: normal CC: a6702894, bpshacklett
Priority: Normal    
Version: autobuilds   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: .config - file
ouput of all commands resulting in the error

Description a6702894 2012-04-16 22:39:19 UTC
Created attachment 309187 [details]
.config - file

make clean; then make: output shows some minor warnings:

drivers/gpu/drm/radeon/r100.c: In function ‘r100_bandwidth_update’:
drivers/gpu/drm/radeon/r100.c:2837:50: warning: ‘disp_drain_rate.full’ may be used uninitialized in this function
drivers/gpu/drm/radeon/r100.c:2783:63: warning: ‘crit_point_ff.full’ may be used uninitialized in this function

then stops with error:

  CC      lib/string.o
  CC      lib/timerqueue.o
  CC      lib/vsprintf.o
  AR      lib/lib.a
  CC      arch/x86/lib/msr-smp.o
  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
  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
  MODPOST vmlinux.o
vmlinux.o: No such file or directory
make[1]: *** [vmlinux.o] Error 1
make: *** [vmlinux.o] Error 2

Before this error I was able to make the 3.2.12 kernel several times without problems.
Between last successful build and error I did sync, update world, emerge clean & revdep-rebuild a couple of times.
Also I made me a tiny "load /usr" initramfs, which miracularly worked well, but the error shows up wether it's loaded or not.

I couldn't find anything on either google or bugzilla, tried a couple of .config changes. make dep & make mrproper wasn't helpful, too.
Now I'm at a complete loss how to procede further.

machine: AMD Phenom X3

march=amdfam10 ccache usersandbox

gcc -v:
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --without-ppl --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/python --enable-checking=release --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.3-r2 p1.1, pie-0.4.7'
Thread model: posix

gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) 

glibc: 2.13-r4

Reproducible: Always
Steps to Reproduce:
1. make clean, make

Expected Results:  
should have finished compiling the kernel

Kind regards

Michael
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-04-17 15:52:40 UTC
This is not a Gentoo problem. Your kernel compilation must have some errors before the text you pasted on your comment
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-17 16:00:20 UTC
Please capture the entire build output in a file and attach that to this bug report.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-17 16:01:22 UTC
Also post the entire command you ran to begin the build procedure.
Comment 4 a6702894 2012-04-19 02:17:56 UTC
Created attachment 309485 [details]
ouput of all commands resulting in the error

The commands leading to the error were
make dep
make clean
make

these are also included as headers in the command output

kind regards

michael
Comment 5 Brennan Shacklett 2012-07-12 22:52:38 UTC
I cannot reproduce this using the same versions and .config you provided, can you attach the output of emerge --info and the output of make -d in your kernel source directory?