Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55165 - linux-headers-2.6.4-unistd-nptl-fix.patch fails to patch when emerging linux-headers-2.6.7 on amd64
Summary: linux-headers-2.6.4-unistd-nptl-fix.patch fails to patch when emerging linux-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-25 10:03 UTC by LordKow
Modified: 2004-07-03 02:55 UTC (History)
1 user (show)

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


Attachments
Fixed patch (linux-headers-2.6.7-unistd-nptl-fix.patch,403 bytes, patch)
2004-06-25 10:04 UTC, LordKow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description LordKow 2004-06-25 10:03:11 UTC
The code has been altered by kernel devels in linux-2.6.7/include/asm-x86_64/unistd.h from

#ifndef __ASSEMBLY__
to a one line && statement... this time including #ifdef __KERNEL in it, however there is no #endif  /* __KERNEL__ */ at the end of the header file, I'm not sure if this is needed or not but I created a patch to do that.

Reproducible: Always
Steps to Reproduce:
1.emerge linux-headers-2.6.7 on a amd64 system.
2.
3.

Actual Results:  
linux-headers-2.6.4-unistd-nptl-fix.patch fails because it cannot find the right
code to patch.

Expected Results:  
It shouldn't have failed. :)

Patch created, however not sure if needed or not.
Comment 1 LordKow 2004-06-25 10:04:36 UTC
Created attachment 34145 [details, diff]
Fixed patch

Try implementing this patch into the current linux-headers-2.6.7.ebuild and see
what happens and if it actually does what the original fix was supposed to
do... My linux-headers compiled successfully however I don't know how this
affects other apps that require use of these headers.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-07-03 02:55:13 UTC
Actually, with the changes made in 2.6.7, no patch is necessary any longer. This should now be fixed in our CVS. Thanks.