Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43250 - Port of linux-headers-2.6.3-r1 x86/i386 patches to x86_64
Summary: Port of linux-headers-2.6.3-r1 x86/i386 patches to x86_64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-28 21:41 UTC by Kevin Owen
Modified: 2004-02-29 13:56 UTC (History)
0 users

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


Attachments
Adds fixes for x86_64 asm files, based on fixes in linux-headers-2.6.3-strict-ansi-fix.patch and linux-headers-2.6.3-appCompat.patch (linux-headers-2.6.3-x86_64-strict-ansi-fix-and-appCompat.patch,3.12 KB, patch)
2004-02-28 21:44 UTC, Kevin Owen
Details | Diff
linux-headers-2.6.3-x86_64-strict-ansi-fix-and-appCompat.patch (updated version of previous patch I submitted; adds fix for another file) (linux-headers-2.6.3-x86_64-strict-ansi-fix-and-appCompat.patch,3.59 KB, patch)
2004-02-28 22:59 UTC, Kevin Owen
Details | Diff
linux-headers-2.6.3-x86_64-strict-ansi-fix-and-appCompat.patch (linux-headers-2.6.3-x86_64-strict-ansi-fix-and-appCompat.patch,3.34 KB, patch)
2004-02-29 12:26 UTC, Kevin Owen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Owen 2004-02-28 21:41:10 UTC
The current sys-kernel/linux-headers-2.6.3-r1 ebuild includes several patches which modify files in 'include/asm-i386'. Several of the bugs that these fix are also present in the equivilent files in 'include/asm-x86_64'. This is a patch that I've made to apply the fixes from 'linux-headers-2.6.3-appCompat.patch' and 'linux-headers-2.6.3-strict-ansi-fix.patch' to the x86_64 asm files.
(I was inspired to do this based upon a particular error that I was receiveing from several packages when compiling them. That error was:
/usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
This patch fixes this error, and possibly others.)


Reproducible: Always
Steps to Reproduce:
Comment 1 Kevin Owen 2004-02-28 21:44:47 UTC
Created attachment 26555 [details, diff]
Adds fixes for x86_64 asm files, based on fixes in linux-headers-2.6.3-strict-ansi-fix.patch and linux-headers-2.6.3-appCompat.patch
Comment 2 Kevin Owen 2004-02-28 22:58:01 UTC
Comment on attachment 26555 [details, diff]
Adds fixes for x86_64 asm files, based on fixes in linux-headers-2.6.3-strict-ansi-fix.patch and linux-headers-2.6.3-appCompat.patch

(obsolete - see updated version)
Comment 3 Kevin Owen 2004-02-28 22:59:52 UTC
Created attachment 26559 [details, diff]
linux-headers-2.6.3-x86_64-strict-ansi-fix-and-appCompat.patch (updated version of previous patch I submitted; adds fix for another file)
Comment 4 Kevin Owen 2004-02-29 12:26:21 UTC
Created attachment 26614 [details, diff]
linux-headers-2.6.3-x86_64-strict-ansi-fix-and-appCompat.patch

(This should hopefully be the 'final' version of this patch. I forgot to adjust
a few paths in the previously posted ones.)
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2004-02-29 13:20:11 UTC
All good; can I just ask whether there is a purpose for the <linux/byteorder/swab.h> patch since it's already in: if you were sourcing your patch from the original patch release that didn't have it, that's understandable; I'll just remove that hunk when I commit it in...

http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-kernel/linux-headers/files/linux-headers-2.6.3-strict-ansi-fix.patch?r1=1.2&r2=1.3
Comment 6 Kevin Owen 2004-02-29 13:33:16 UTC
Oops, I was using the earlier version of the "linux-headers-2.6.3-strict-ansi-fix.patch" patch. Just remove the <linux/byteorder/swab.h> diff from my patch. Thanks :-)
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2004-02-29 13:56:38 UTC
Thanks, it's now in CVS [ I just appended your changes minus the <byteorder/swab.h> patch onto the existing patch ]. Should be in Portage within an hour.

If there are more things which need adding in please feel welcome to assign patches / compiler errors / suggestions straight on to me.