#2662: gcc 4.5.0 -Os does not generate correct code
-----------------------------------------+----------------------------------
 Reporter:  bdu...@…                     |       Owner:  bdu...@…               
    
     Type:  defect                       |      Status:  assigned               
    
 Priority:  high                         |   Milestone:  6.7                    
    
Component:  Book                         |     Version:  SVN                    
    
 Severity:  major                        |    Keywords:                         
    
-----------------------------------------+----------------------------------

Comment(by bdu...@…):

 We got a fix on gcc bugzilla.  I still don't know if the bug was in the
 kernel or gcc, but the following change to the kernel works around the
 problem

 {{{
 sed -i -e "s/inline void rdtsc_barrier/__always_inline void rdtsc_barrier/
 \
  arch/x86/include/asm/system.h
 }}}

 The fix was just submitted today.  We'll have to check future releases to
 see when it makes it into the released version.

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