Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206313 Details for
Bug 287225
linux-mod fails with recent (2.6.32) ARCH handling changes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Unifying kernel arch to x86_64 + check for kernel versions 2.6.32 for i386
toolchain-funcs-fix.patch (text/plain), 1.13 KB, created by
Denis Kaganovich
on 2009-10-07 13:26:06 UTC
(
hide
)
Description:
Unifying kernel arch to x86_64 + check for kernel versions 2.6.32 for i386
Filename:
MIME Type:
Creator:
Denis Kaganovich
Created:
2009-10-07 13:26:06 UTC
Size:
1.13 KB
patch
obsolete
>diff -pruN old/toolchain-funcs.eclass new/toolchain-funcs.eclass >--- old/toolchain-funcs.eclass 2009-09-02 23:12:39.000000000 +0300 >+++ new/toolchain-funcs.eclass 2009-10-07 16:18:41.000000000 +0300 >@@ -187,7 +187,8 @@ ninj() { [[ ${type} == "kern" ]] && echo > # Starting with linux-2.6.24, the 'x86_64' and 'i386' > # trees have been unified into 'x86'. > # FreeBSD still uses i386 >- if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]] ; then >+ # In 2.6.32, this has been changed back. >+ if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) ]] || [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.32) ]] || ${host} == *freebsd* ]] ; then > echo i386 > else > echo x86 >@@ -228,10 +229,8 @@ ninj() { [[ ${type} == "kern" ]] && echo > ;; > vax*) echo vax;; > x86_64*) >- # Starting with linux-2.6.24, the 'x86_64' and 'i386' >- # trees have been unified into 'x86'. >- if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.24) ]] ; then >- echo x86 >+ if [[ ${type} == "kern" ]] ; then >+ echo x86_64 > else > ninj x86_64 amd64 > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 287225
:
206028
|
206311
|
206313
|
206318
|
206321