Re: [gentoo-user] Kernel ricing thread take 2

2013-10-24 Thread Greg Turner
On Thu, Oct 24, 2013 at 9:18 PM, Adam Carter wrote: > > To build with other flags you set CFLAGS_KERNEL, so i've added a suitable > -march to the standard ones for my system; > export CFLAGS_KERNEL=" -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 > -fomit-frame-pointer -pipe -march=amdfam10" >

[gentoo-user] Kernel ricing thread take 2

2013-10-24 Thread Adam Carter
Ok, the other thread really took off down some odd, and to my eyes way off topic, directions. Anyway, the idea was to ask for feedback on who has done it and the results they got. To keep things focussed, lets leave out any talk of ARM, cross compiling, small/embedded systems, iphones, Apple, Andr

Re: [gentoo-user] Kernel ricing

2013-10-24 Thread Walter Dnes
On Thu, Oct 24, 2013 at 09:58:17PM +1100, Adam Carter wrote > I figured that just -march=amdfam10 was a good start, since it implies > MMX, SSE, SSE2, SSE3, SSE4A, 3DNow!, enhanced 3DNow! and ABM, but i > may add the rest of my make.conf CFLAGs since I dont have any issues > with any other softwar

Re: [gentoo-user] Kernel ricing

2013-10-24 Thread the
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/24/13 12:58, Adam Carter wrote: > The CFLAGs used when building the kernel are set in the Makefile; # > grep HOSTCFLAGS /usr/src/linux/Makefile HOSTCFLAGS = -Wall > -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer > > To build

Re: [gentoo-user] Kernel ricing

2013-10-24 Thread Alan McKinnon
On 24/10/2013 12:58, Adam Carter wrote: > I see all you've done is specify -march; what does the build system > build for without that setting? > > > Does your question imply that more may happen to the CFLAGs than them > just being passed to gcc? I have no idea, so just assumed gcc does

Re: [gentoo-user] Kernel ricing

2013-10-24 Thread Adam Carter
> > I see all you've done is specify -march; what does the build system > build for without that setting? > > Does your question imply that more may happen to the CFLAGs than them just being passed to gcc? I have no idea, so just assumed gcc does whatever it does when no -march is supplied, which i

Re: [gentoo-user] Kernel ricing

2013-10-24 Thread Alan McKinnon
On 24/10/2013 10:58, Adam Carter wrote: > The CFLAGs used when building the kernel are set in the Makefile; > # grep HOSTCFLAGS /usr/src/linux/Makefile > HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 > -fomit-frame-pointer > > To build with other flags you set CFLAGS_KERNEL, so

[gentoo-user] Kernel ricing

2013-10-24 Thread Adam Carter
The CFLAGs used when building the kernel are set in the Makefile; # grep HOSTCFLAGS /usr/src/linux/Makefile HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer To build with other flags you set CFLAGS_KERNEL, so i've added a suitable -march to the standard ones f