3.0.25 svn rev. 21532

Thomas Bork tombork at web.de
Sun Feb 25 16:11:15 GMT 2007


I wrote:

> Compiling lib/system.c
> lib/system.c: In function `sys_memalign':
> lib/system.c:53: warning: return makes pointer from integer without a cast

smbd and nmbd from 3.0.25 rev. 21532 are much bigger as from 3.0.24 (all 
stripped with 'strip -R .comment -R .note'):

3.0.24:
deveis 1.3.2 # ls -l
total 3500
-rwxr-xr-x  1 root root  846828 Feb 11 22:38 nmbd
-rwxr-xr-x  1 root root 2727052 Feb 11 22:38 smbd

3.0.25:
deveis 1.3.2 # ls -l *bd
-rwxr-xr-x  1 root root  948132 Feb 25 16:57 nmbd
-rwxr-xr-x  1 root root 3201572 Feb 25 16:57 smbd


pam_smbpass.so is smaller:

3.0.24:
deveis 1.3.2 # ls -l
total 704
-rwxr-xr-x  1 root root 715404 Feb 11 22:38 pam_smbpass.so

3.0.25:
deveis 1.3.2 # ls -l pam*
-rwxr-xr-x  1 root root 2724 Feb 25 17:04 pam_smbpass.so


The output from make from 3.0.25:

deveis # make
Using FLAGS      =  -O2 -march=i486 -fomit-frame-pointer 
-D_SAMBA_BUILD_=3 -I/usr/src/SAMBA_3_0_25/source/popt 
-I/usr/src/SAMBA_3_0_25/source/iniparser/src -Iinclude -I./include  -I. 
-I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns 
-I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
-D_GNU_SOURCE    -I/usr/src/SAMBA_3_0_25/source/lib -D_SAMBA_BUILD_=3
       PICFLAG    = -fPIC
       LIBS       = -lcrypt -lattr -lresolv -lresolv -lnsl -ldl
       LDFLAGS    =
       DYNEXP     = -Wl,--export-dynamic
       LDSHFLAGS  = -shared -Wl,-Bsymbolic
       SHLIBEXT   = so
       SONAMEFLAG = -Wl,-soname=


To reduce the size of binaries I'm working with '#define MAX_DEBUG_LEVEL 
10' in local.h.

Why are smbd and nmbd from 3.0.24 so big?


der tom


More information about the samba-technical mailing list