As mentioned in the wiki, P6 compilation 2.6.32+ kernels with gcc-4.1.2 fails on vdso.c.
I've tried gcc-4.5.0, the kernel won't compile either on a different error.
gcc-4.2.4 fails with the original vdso.c issue.
Which gcc version is known to compile recent kernels on a P6 platform?
This topic has been locked.
5 replies Latest Post - 2010-07-15T17:18:21Z by SystemAdmin
Pinned topic 2.6.32+ compilation: which gcc to use?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-07-15T17:18:21Z at 2010-07-15T17:18:21Z by SystemAdmin
divy 270003B6S32 Posts
Re: 2.6.32+ compilation: which gcc to use?2010-07-15T14:17:54Z in response to SystemAdminhmm. So I could re-build the 2.6.32 kernels fine with the advance toolchain 2.1-1 and confirmed that 126.96.36.199 works. For power7 work, the 2.6.32 is the kernel we have been recommending for assessments - but you're on a P6 system.
On the 2.6.35 side - newer obviously - that's panic'ing on the boot for some reason. I'll have to get some of the kernel programmers to look at that.
Not sure what specific errors you're getting - or what your goal is.
There's also a newer updated Advance Toolchain (ver 3.0) which is now available which has gcc 4.4.4 in it.
1. Unless you're specifically interested in the gcc code base being developed, we recommend using the Advance Toolchain on Power systems. For Power6, Advance Toolchain 2.1-1 is fine. For Power7, Advance Toolchain 3.0 is recommended. Advance Toolchain 3.0 can be used on Power6 if desired as well.
2. For Power7 assessments, we recommend a 2.6.32 kernel base since that's been tested a bit. The newer kernels are normal kernels in development and your mileage will vary.
Re: 2.6.32+ compilation: which gcc to use?2010-07-15T17:18:21Z in response to SystemAdminSince we hit this anyway.. Srivatsa Vaddagiri pointed out that in the 2.6.35 kernel we need to set another config setting:
With this change, the 2.6.35-rc5 kernel built and booted fine on Power7 with the Advance Toolchain 2.1-1 gcc.