I cannot compile a new kernel starting with 2.6.25, <=2.6.24 is fine. I always get the same error. Note: This happens with vanilla sources. Things I've tried without success: Using a default configuration (rm .config; make menuconfig without changing anything). Using different versions of binutils, gcc (4.1.2, 4.2.4). Using vanilla-sources, gentoo-sources, tuxonice-sources. Reproducible: Always Steps to Reproduce: 1. emerge new kernel 2. make menuconfig 3. make Actual Results: Compile error: make[1]: *** [arch/x86/vdso/vdso32-syms.lds] Error 1 make: *** [arch/x86/vdso] Error 2 Expected Results: Compiled kernel.
Created attachment 167152 [details] Output of unsuccessful kernel compilation make V=1 &>compile.log
Created attachment 167153 [details] tar.bz2 arch/x86/vdso directory Since it is quite small, I've tarred and bzipped the complete arch/x86/vdso directory. Maybe the files in it can provide a clue of what's wrong.
And here are some important version numbers: Portage 2.2_rc11 (default/linux/x86/2008.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.24-tuxonice-r9 i686) ================================================================= System uname: Linux-2.6.24-tuxonice-r9-i686-Intel-R-_Pentium-R-_4_CPU_3.40GHz-with-glibc2.0 Timestamp of tree: Thu, 02 Oct 2008 16:19:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.12 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.26
The log type is not text/plain. And people tend to dislike compressed files, whereever there is an alternative. Can you also attach the .config file? Did you try copying the old .config from previous versions over and use that with "make oldconfig" and "make"?
Created attachment 167222 [details] tail -n 20 of the compile.log
Created attachment 167226 [details] tuxonice-2.6.26.config First, sorry about the compressed file declared as text/plain. I noticed it but it was already too late. So here's the config. I copied it over from the tuxonice-2.6.24 version (as I had always done when a new version came out), then `make menuconfig', exit and save and `make'. But as stated in a previous comment I've also tried the default config (means no .config present, make menuconfig, just quit and save and make). Doesn't make a difference. All other packages compile fine.
If you copy over a .config from a previous version, you should not do a "make menuconfig" as first step. First you should do a "make oldconfig". After that, you can do a "make menuconfig" to check the settings. After that, you can try a "make". Did you try it this way?
Created attachment 167273 [details] Updated tuxonice-2.6.26.config. Hi, I've done it the way you proposed, and I still get the same error message. Updated tuxonice-2.6.26.config attached.
(In reply to comment #0) > Note: This happens with vanilla sources.
Can you reproduce this on 2.6.27 or 2.6.28? If you take a new set of 2.6.25 sources, and compile again now, does it definitely work? (it may be a bug that has developed in binutils or similar, rather than a change in the kernel, so it is worth checking the old kernels from scratch again)
> Can you reproduce this on 2.6.27 or 2.6.28? I've already tried 2.6.26 and 2.6.27. The problem starts with 2.6.25, 2.6.24 compiles fine. I am able to reproduce this on a different system (a debian system, pentium4 2.60GHz SMP CPU Family 15 model 2 stepping 9) where I do not have admin rights, using my configuration file. It seems they have binutils-2.17 installed, gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). Maybe someone wants to try compiling this using my config? git-clone git://git.kernel.org/pub/scm/linux/kernel/git/nigelc/tuxonice-2.6.28.git Anyway, following your suggestion, I've upgraded to binutils 2.19, recompiled linux-headers-2.6.27, glibc-2.8_p20080602-r1, using gcc-4.3.2-r2. Then, I've downloaded vanilla-sources-2.6.28 and tried to configure and compile them. Unfortunately, the problem persists. > (it may be a bug that has developed in binutils or similar, > rather than a change in the kernel, so it is worth checking > the old kernels from scratch again) As far as I know, that vdso kernel thing (whatever it is) has changed between 2.6.24 and 2.6.25 (something related to x32 and x64 split??).
Created attachment 177906 [details] linux-2.6.28-tuxonice.config linux-2.6.28-tuxonice.config Created by feeding linux-2.6.27-tuxonice.config to 'make oldconfig' on a different debian machine (see my previous comment for explanation).
On that debian machine, I also did the following, receiving the same error message: make clean make mrproper make defconfig make
Ok, I've found the root of the problem. It was my fault putting something silly like the following into ~/.bashrc. function grep { command grep -r "$@"; } export -f grep Deleting it solved all my problems. Thanks for your help.