Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc48, drmkms issues with i386



In article <Pine.NEB.4.64.1404082033510.521%david.technoskunk.fur@localhost>,
John D. Baker <jdbaker%mylinuxisp.com@localhost> wrote:
>I make the following change:
>
>+Index: sys/arch/i386/stand/pxeboot/Makefile
>+===================================================================
>+RCS file: /cvsroot/src/sys/arch/i386/stand/pxeboot/Makefile,v
>+retrieving revision 1.22
>+diff -u -p -r1.22 Makefile
>+--- sys/arch/i386/stand/pxeboot/Makefile      15 Jan 2014 22:25:22 -0000      
>1.22
>++++ sys/arch/i386/stand/pxeboot/Makefile      8 Apr 2014 02:47:24 -0000
>+@@ -69,6 +69,7 @@ CPPFLAGS+= -DBOOTPARAM_DEFFLAGS=0x0c
>+ 
>+ #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
>+ CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
>++CFLAGS+= -O0
>+ 
>+ SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x30000
>+ SAMISCMAKEFLAGS+= SA_USE_CREAD=yes   # Read compressed kernels
>
>but the resulting "pxeboot_ia32.bin" was the same size and behaved the
>same as before.  Perhaps this wasn't the right place/file to change and
>my "-O0" got overridden by a later "-O?" directive.

Yes, look at the compile lines and make sure that -O0 is the last -O option
in the command line. I think it gets overwritten by -Os this way.

christos



Home | Main Index | Thread Index | Old Index