#1990: Coreutils uname patch
-----------------------------------------+----------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  [email protected]
     Type:  task                         |       Status:  new                   
       
 Priority:  lowest                       |    Milestone:                        
       
Component:  Book                         |      Version:  SVN                   
       
 Severity:  minor                        |   Resolution:                        
       
 Keywords:                               |  
-----------------------------------------+----------------------------------
Comment (by [EMAIL PROTECTED]):

 I didn't know non-x86 had a patch for this. I blended the two patches
 together, and attached it. I'm not certain the x86_64 bit works, but the
 rest should. I tested it on my prescott and quantum's pentium4.

 Both patches are insane, but there's no other standard way to detect the
 cpuid, so xorg and ffmpeg use assembly build-time tests, similar to this
 uname patch.

 In my opinion, at the moment, I think the ideal fix for this is a kernel
 sysctl to identify the cpu and sub-arch.

 I can't think of any reason a non-hlfs user would build uname.c with
 -fpie; but now that these patches are together lfs/clfs/hlfs can use the
 same patch... why not?

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