Re: [PATCH] Fix CFLAGS overwrite by Makefile

2011-05-24 Thread Arnaud Lacombe
Hi, On Tue, May 24, 2011 at 10:54 PM, Arnaud Lacombe wrote: > ps: for static library and loader, I derived the total size as the sum > of the size of the text/data/bss section of the member object using : > > size *.o | awk 'BEGIN {text=0; data=0; bss=0;}; {text+=$1; data+=$2; > bss+=$3}; END {pr

Re: [PATCH] Fix CFLAGS overwrite by Makefile

2011-05-24 Thread Arnaud Lacombe
Hi, On Tue, May 24, 2011 at 4:41 PM, Dimitry Andric wrote: > Besides, for space-constrained things like boot2, you > might not even be able to compile it when using non-standard settings, > since the code might grow too large. > About the size, let's get some number lib/libstand (library): (with

Re: [PATCH] Fix CFLAGS overwrite by Makefile

2011-05-24 Thread Arnaud Lacombe
Hi, On Tue, May 24, 2011 at 4:41 PM, Dimitry Andric wrote: > On 2011-05-24 22:09, Arnaud Lacombe wrote: >> >> Many Makefile (espectially under sys/boot/) overwrite the value of CFLAGS. >> This is an issue if you want to generate code for a specific CPU as before >> the >> Makefile is interpreted,

Re: [PATCH] Fix CFLAGS overwrite by Makefile

2011-05-24 Thread Doug Barton
On 05/24/2011 13:41, Dimitry Andric wrote: So that is why these Makefiles purposefully overwrite CFLAGS, it is not by accident. In those cases adding comments to the Makefile is probably appropriate, if they are not present already. Something to the effect of, "Purposely overwriting CFLAGS be

Re: [PATCH] Fix CFLAGS overwrite by Makefile

2011-05-24 Thread Dimitry Andric
On 2011-05-24 22:09, Arnaud Lacombe wrote: Many Makefile (espectially under sys/boot/) overwrite the value of CFLAGS. This is an issue if you want to generate code for a specific CPU as before the Makefile is interpreted, CFLAGS might already have been set with CPU specific settings by, which is

[PATCH] Fix CFLAGS overwrite by Makefile

2011-05-24 Thread Arnaud Lacombe
Many Makefile (espectially under sys/boot/) overwrite the value of CFLAGS. This is an issue if you want to generate code for a specific CPU as before the Makefile is interpreted, CFLAGS might already have been set with CPU specific settings by , which is source from sys.mk. Signed-off-by: Arnaud L

Re: FYI: merging TCP, UDP, netisr locking changes

2011-05-24 Thread Ivan Voras
On 24/05/2011 13:24, Robert Watson wrote: Dear all: Over the next few days, I will be merging a number of TCP-related locking changes, as well as changes to various network stack infrastructure bits, such as the netisr implementation. The goal, generally, has been to move us in the direction of

FYI: merging TCP, UDP, netisr locking changes

2011-05-24 Thread Robert Watson
Dear all: Over the next few days, I will be merging a number of TCP-related locking changes, as well as changes to various network stack infrastructure bits, such as the netisr implementation. The goal, generally, has been to move us in the direction of supporting more clear CPU affinity for

Re: Kernel install error today, mps module

2011-05-24 Thread Guy Brand
Ivan Klymenko (fi...@ukr.net) on 24/05/2011 at 10:47 wrote: > Update source tree to revision 29 > http://docs.freebsd.org/cgi/mid.cgi?20110524024613.0d87c41c Sorry I should have checked the timestamp of the revision I had. Thanks for your answer -- bug _

Re: Kernel install error today, mps module

2011-05-24 Thread Ivan Klymenko
В Tue, 24 May 2011 09:34:18 +0200 Guy Brand пишет: > Hello, > > > With revision 218881, I hit an error in make installkernel: > > ===> mps (install) > install -o root -g wheel -m 555 mps.ko /boot/kernel > install -o root -g wheel -m 555 mps.ko.symbols /boot/kernel > install

Kernel install error today, mps module

2011-05-24 Thread Guy Brand
Hello, With revision 218881, I hit an error in make installkernel: ===> mps (install) install -o root -g wheel -m 555 mps.ko /boot/kernel install -o root -g wheel -m 555 mps.ko.symbols /boot/kernel install: mps.ko.symbols: No such file or directory *** Error code 71