Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412257 - kernel 3.2.12 make Error1 vmlinux.o No such file ...
Summary: kernel 3.2.12 make Error1 vmlinux.o No such file ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 22:39 UTC by a6702894
Modified: 2012-08-23 14:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.config - file (o-config,65.45 KB, text/plain)
2012-04-16 22:39 UTC, a6702894
Details
ouput of all commands resulting in the error (make-output,82.55 KB, text/plain)
2012-04-19 02:17 UTC, a6702894
Details

Note You need to log in before you can comment on or make changes to this bug.
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?