Current-Users archive

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

Re: gcc48, drmkms issues with i386



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.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index