Ken Moffat wrote:
> On Tue, Apr 24, 2012 at 10:42:40PM +0100, Matt Burgess wrote:
>> On Tue, 2012-04-24 at 16:18 -0500, Bruce Dubbs wrote:

>  Thanks, Matt - I got as far as r8885 but took a break and didn't
> find the ticket.  I don't particularly care what DIY do or did, but
> if Fedora did it, well, must be the right thing.  So, when is LFS
> moving to systemd and initrd ?  (that will be the time I leave, I
> think ;-)

Well initrd is already in BLFS.  :)

>  But, my current failure to build with -O3 notwithstanding, why only
> on m486 and not x86_64 ?

Well I don't know, but I'd be reluctant to do so.  Would we be able to detect 
any differences in performance?  I'll let others look at that.

   -- Bruce

http://www.gentoo-wiki.info/Optimize_glibc

For example:

Glibc and any relevant dependencies should then compile. This flag activates 
the 
-enable-omitfp configure option when compiling glibc. It means glibc will use 
-fomit-frame-pointer and other extra optimizations for the build. This flag 
maximizes the optimizations in glibc and, for debugging purpose, provides two 
sets of libraries; the first 'optimized' and the second 'standard'. The 
optimized libraries are used by default but you can choose to use the 
'standard' 
libraries if you need to debug an application. This does increase the size of 
glibc and the compile time, and the standard -fomit-frame-pointer caveat 
applies, ie this WILL make the 'optimized' libraries impossible to debug. It 
MAY 
also provoke some compiler bugs, but appears to be basically safe - you have 
been warned!

http://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html

‘--enable-omitfp’
     Use maximum optimization for the normal (static and shared) libraries, and 
compile separate static libraries with debugging information and no 
optimization. We recommend not doing this. The extra optimization doesn't gain 
you much, it may provoke compiler bugs, and you won't be able to trace bugs 
through the C library.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to