Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 239522 - >sys-kernel/vanilla-sources-2.6.24: vdso32-sym.lds error 1 when trying to compile a new kernel
Summary: >sys-kernel/vanilla-sources-2.6.24: vdso32-sym.lds error 1 when trying to com...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-04 10:09 UTC by Small_Penguin
Modified: 2009-01-18 19:35 UTC (History)
0 users

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


Attachments
Output of unsuccessful kernel compilation (compile.log.bz2,5.87 KB, text/plain)
2008-10-04 10:10 UTC, Small_Penguin
Details
tar.bz2 arch/x86/vdso directory (arch-x86-vdso.tar.bz2,21.02 KB, application/octet-stream)
2008-10-04 10:28 UTC, Small_Penguin
Details
tail -n 20 of the compile.log (tail-error.log,5.74 KB, text/plain)
2008-10-04 21:45 UTC, Thomas Sachau
Details
tuxonice-2.6.26.config (tuxonice-2.6.26.config,50.90 KB, text/plain)
2008-10-04 22:02 UTC, Small_Penguin
Details
Updated tuxonice-2.6.26.config. (tuxonice-2.6.26.config,42.83 KB, text/plain)
2008-10-05 10:25 UTC, Small_Penguin
Details
linux-2.6.28-tuxonice.config (linux-2.6.28-tuxonice.config,45.37 KB, text/plain)
2009-01-09 20:19 UTC, Small_Penguin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Small_Penguin 2008-10-04 10:09:21 UTC
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.
Comment 1 Small_Penguin 2008-10-04 10:10:53 UTC
Created attachment 167152 [details]
Output of unsuccessful kernel compilation

make V=1 &>compile.log
Comment 2 Small_Penguin 2008-10-04 10:28:03 UTC
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.
Comment 3 Small_Penguin 2008-10-04 10:30:31 UTC
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
Comment 4 Thomas Sachau gentoo-dev 2008-10-04 21:45:00 UTC
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"?
Comment 5 Thomas Sachau gentoo-dev 2008-10-04 21:45:42 UTC
Created attachment 167222 [details]
tail -n 20 of the compile.log
Comment 6 Small_Penguin 2008-10-04 22:02:07 UTC
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.
Comment 7 Thomas Sachau gentoo-dev 2008-10-04 22:28:40 UTC
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?
Comment 8 Small_Penguin 2008-10-05 10:25:03 UTC
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.
Comment 9 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-01-08 22:24:42 UTC
(In reply to comment #0)
> Note: This happens with vanilla sources.
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2009-01-09 17:12:02 UTC
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)
Comment 11 Small_Penguin 2009-01-09 20:15:57 UTC
> 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??).
Comment 12 Small_Penguin 2009-01-09 20:19:57 UTC
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).
Comment 13 Small_Penguin 2009-01-09 20:36:53 UTC
On that debian machine, I also did the following, receiving the same error message:
make clean
make mrproper
make defconfig
make
Comment 14 Small_Penguin 2009-01-18 19:35:16 UTC
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.