#2820: glibc issues with --enable-kernel=2.6.22.5
-------------------------+--------------------------------------------------
Reporter: bigorneault | Owner: lfs-book@…
Type: defect | Status: new
Priority: normal | Milestone: 6.8
Component: Book | Version: SVN
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by bryan@…):
That patch will re-enable several workarounds for kernels that aren't
supported, slowing down glibc in the process. (Probably not noticeable,
but who knows.) It also won't fix the "logical bug" (that the stack is
imbalanced at retq time due to mismatched #ifdef checks on entry and
exit), only work around it by forcing both symbols to be the same.
Last, if we *do* change --enable-kernel at a later date for some other
reason, the same code will break in the opposite direction if we just yank
ASSUME_PRIVATE_FUTEX now: more data will be popped off the stack at
function exit than was pushed on at function entry. Fixing the #ifdef
checks in the two broken files will fix all of these.
On -dev, I think we've probably decided on using a sed to do this:
http://linuxfromscratch.org/pipermail/lfs-dev/2011-January/064523.html
Something like that should be committed soon, I think.
(Sorry, the discussion moved there, and I don't think anyone updated this
bug at the time. Should have done that...)
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2820#comment:13>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page