Re: -mtune for Glibc

2007-10-05 Thread Jeremy Huntwork
On Fri, Oct 05, 2007 at 06:43:55PM -0500, Bruce Dubbs wrote: > I used 'native' in my proposal earlier. 'generic' may be a bit more > conservative, but I think 'native' would be better for most people. If > you change it, how about adding another sentence that 'native' is an > option but issues ma

Re: -mtune for Glibc

2007-10-05 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Fri, Oct 05, 2007 at 10:19:42AM -0700, Dan Nicholson wrote: >> Reading Greg's post again, if -mtune=generic is the default on >> gcc-4.2, then I think that's what we should restore. Then the >> explanation makes more sense: "-mtune=generic restores the default GCC >> set

Re: -mtune for Glibc

2007-10-05 Thread Jeremy Huntwork
On Fri, Oct 05, 2007 at 10:19:42AM -0700, Dan Nicholson wrote: > Reading Greg's post again, if -mtune=generic is the default on > gcc-4.2, then I think that's what we should restore. Then the > explanation makes more sense: "-mtune=generic restores the default GCC > settings from those implied by t

Re: -mtune for Glibc

2007-10-05 Thread Jeremy Huntwork
On Fri, 05 Oct 2007 13:46:00 -0500, Bruce Dubbs <[EMAIL PROTECTED]> wrote: > Jeremy Huntwork wrote: > >> Everything looks good to me, Bruce. Patches are always welcome :-) > > Why would I send a patch when I can just change it in svn? Woul dthat > be OK? Of course, feel free. Just so we don't c

Re: -mtune for Glibc

2007-10-05 Thread Bruce Dubbs
Jeremy Huntwork wrote: > Everything looks good to me, Bruce. Patches are always welcome :-) Why would I send a patch when I can just change it in svn? Woul dthat be OK? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See

Re: -mtune for Glibc

2007-10-05 Thread Jeremy Huntwork
On Fri, 05 Oct 2007 13:16:53 -0500, Bruce Dubbs <[EMAIL PROTECTED]> wrote: > Instead of overriding completely what Glibc's internal build system uses > for CFLAGS, append the new flag to the existing contents of CFLAGS by > making use of the special file configparms. The -mtune=native flag is > al

Re: -mtune for Glibc

2007-10-05 Thread Bruce Dubbs
Dan Nicholson wrote: > On 10/5/07, Dan Nicholson <[EMAIL PROTECTED]> wrote: >> I think adding -mtune=native will be fine so long as there are no test >> regressions. Otherwise, Greg's suggestion of -mtune=generic seems very >> safe. > > Reading Greg's post again, if -mtune=generic is the default o

Re: -mtune for Glibc

2007-10-05 Thread Dan Nicholson
On 10/5/07, Dan Nicholson <[EMAIL PROTECTED]> wrote: > > I think adding -mtune=native will be fine so long as there are no test > regressions. Otherwise, Greg's suggestion of -mtune=generic seems very > safe. Reading Greg's post again, if -mtune=generic is the default on gcc-4.2, then I think that

Re: -mtune for Glibc

2007-10-05 Thread Dan Nicholson
On 10/5/07, Jeremy Huntwork <[EMAIL PROTECTED]> wrote: > > We never really decided on what to do for -mtune on Glibc. See the end of > Greg's post here: > http://linuxfromscratch.org/pipermail/lfs-dev/2007-September/060338.html > > And again his comments here: > http://linuxfromscratch.org/pipermai

Re: -mtune for Glibc

2007-10-05 Thread Bryan Kadzban
On Fri, Oct 05, 2007 at 08:15:09AM -0600, Jeremy Huntwork wrote: > On Fri, 05 Oct 2007 09:10:59 -0500, Bruce Dubbs <[EMAIL PROTECTED]> wrote: > > Both your links are the same... > > Oh, sorry. Here's the one I left out: > > http://linuxfromscratch.org/pipermail/lfs-dev/2007-September/060268.html

Re: -mtune for Glibc

2007-10-05 Thread Jeremy Huntwork
On Fri, 5 Oct 2007 16:52:49 +0200, "Richard Gill" <[EMAIL PROTECTED]> wrote: > 2007/10/5, Alexander E. Patrakov <[EMAIL PROTECTED]>: >> (-O2 -pipe -s -fno-strict-aliasing -mtune=i686) by default, and very > > Oops, I forgot to mention the -s I use too :-) Well this thread certainly went off top

Re: -mtune for Glibc

2007-10-05 Thread Richard Gill
2007/10/5, Alexander E. Patrakov <[EMAIL PROTECTED]>: > (-O2 -pipe -s -fno-strict-aliasing -mtune=i686) by default, and very Oops, I forgot to mention the -s I use too :-) -- Richard 'riri' GILL jabber: [EMAIL PROTECTED] http://riri.houbathecat.info http://nasgaia.org « Frimousse en excessivité

Re: -mtune for Glibc

2007-10-05 Thread Alexander E. Patrakov
Richard Gill wrote: > Hi successfully built the entire chapter 5, then start of chapter 6 > (because then I deviate), with the following flags for *all* software: > CFLAGS="-O3 -pipe -march=i686 -mtune=i686" > CXXFLAGS="$CFLAGS -Wno-deprecated" > > thus binutils and glibc are built with those flags

Re: -mtune for Glibc

2007-10-05 Thread Jeremy Huntwork
On Fri, 05 Oct 2007 09:10:59 -0500, Bruce Dubbs <[EMAIL PROTECTED]> wrote: > Both your links are the same... Oh, sorry. Here's the one I left out: http://linuxfromscratch.org/pipermail/lfs-dev/2007-September/060268.html -- JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://

Re: -mtune for Glibc

2007-10-05 Thread Richard Gill
2007/10/5, Jeremy Huntwork <[EMAIL PROTECTED]>: > Hello All, > > We never really decided on what to do for -mtune on Glibc. See the end of > Greg's post here: > http://linuxfromscratch.org/pipermail/lfs-dev/2007-September/060338.html > > And again his comments here: > http://linuxfromscratch.org/pi

Re: -mtune for Glibc

2007-10-05 Thread Bruce Dubbs
Jeremy Huntwork wrote: > Hello All, > > We never really decided on what to do for -mtune on Glibc. See the end of > Greg's post here: > http://linuxfromscratch.org/pipermail/lfs-dev/2007-September/060338.html > > And again his comments here: > http://linuxfromscratch.org/pipermail/lfs-dev/2007-Se

-mtune for Glibc

2007-10-05 Thread Jeremy Huntwork
Hello All, We never really decided on what to do for -mtune on Glibc. See the end of Greg's post here: http://linuxfromscratch.org/pipermail/lfs-dev/2007-September/060338.html And again his comments here: http://linuxfromscratch.org/pipermail/lfs-dev/2007-September/060338.html My opinion is that