#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 bigorneault):

 Support for private futexes was added in 2.6.22, while support for the
 FUTEX_CLOCK_REALTIME flag was added in 2.6.29.

 To confirm that this is an issue with the futex support, I built glibc
 with --enable-kernel=2.6.22.5 and adjusted manually the following #define:

 1 - 2.6.22 to 2.6.28: tests fails.
   #define __ASSUME_PRIVATE_FUTEX    1

   #undef __ASSUME_FUTEX_CLOCK_REALTIME

 2 - anything before 2.6.22: All tests pass.
   #undef __ASSUME_PRIVATE_FUTEX

   #undef __ASSUME_FUTEX_CLOCK_REALTIME

 3 - anything later that 2.6.29: All tests pass.
   #define __ASSUME_PRIVATE_FUTEX    1

   #define __ASSUME_FUTEX_CLOCK_REALTIME   1

 Maybe removing the futex from the kernel configuration could also fix this
 issue (need to be tested).

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2820#comment:4>
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

Reply via email to