problem with 3.0.12 (binary files not stripped after make) - SMB

This is a discussion on problem with 3.0.12 (binary files not stripped after make) - SMB ; Hi, after configure/make I have ~1.1GB (~70MB for 3.0.11) in $samba/source directory. The make run takes very long time and the size of the build binaries is far too big. During 'make install' my /local filesystem ran out of disk ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: problem with 3.0.12 (binary files not stripped after make)

  1. problem with 3.0.12 (binary files not stripped after make)

    Hi,

    after configure/make I have ~1.1GB (~70MB for 3.0.11) in $samba/source
    directory. The make run takes very long time and the size of the build
    binaries is far too big. During 'make install' my /local filesystem ran
    out of disk space...

    I first discoverd this on solaris 8 (gcc version 2.95.2).

    $ ./configure --with-acl-support --prefix=/usr/local/samba3012
    --with-quotas --with-ssl --with-included-popt

    $ make

    $ ls -lh bin/
    total 731M
    ....
    -rwxr-x--- 1 root other 49M Mar 22 13:52 smbcacls
    -rwxr-x--- 1 root other 37M Mar 22 13:48 smbclient
    -rwxr-x--- 1 root other 27M Mar 22 13:50 smbcontrol
    -rwxr-x--- 1 root other 90M Mar 22 13:43 smbd
    -rwxr-x--- 1 root other 48M Mar 22 13:51 smbpasswd
    -rwxr-x--- 1 root other 35M Mar 22 13:49 smbspool
    -rwxr-x--- 1 root other 26M Mar 22 13:50 smbstatus
    -rwxr-x--- 1 root other 36M Mar 22 13:50 smbtree
    -rwxr-x--- 1 root other 54M Mar 22 13:46 swat
    -rwxr-x--- 1 root other 1.3M Mar 22 13:50 tdbbackup
    -rwxr-x--- 1 root other 675k Mar 22 13:51 tdbdump
    -rwxr-x--- 1 root other 687k Mar 22 13:51 tdbtool
    -rwxr-x--- 1 root other 24M Mar 22 13:50 testparm
    -rwxr-x--- 1 root other 24M Mar 22 13:50 testprns
    -rwxr-x--- 1 root other 60M Mar 22 13:47 winbindd


    Then I tested 3.0.12 on my debian testing system (gcc-Version 3.3.5).
    There is only ~670MB in source/, but I think that's far too much too!

    $ ./configure
    ....
    $ make
    ....
    $ ls -lh bin/
    insgesamt 463M
    ....
    -rwxr-xr-x 1 rg ve 24M 2005-03-22 12:41 smbcacls
    -rwxr-xr-x 1 rg ve 18M 2005-03-22 12:38 smbclient
    -rwxr-xr-x 1 rg ve 13M 2005-03-22 12:39 smbcontrol
    -rwxr-xr-x 1 rg ve 22M 2005-03-22 12:41 smbcquotas
    -rwxr-xr-x 1 rg ve 43M 2005-03-22 12:35 smbd
    -rwxr-xr-x 1 rg ve 24M 2005-03-22 12:40 smbpasswd
    -rwxr-xr-x 1 rg ve 17M 2005-03-22 12:39 smbspool
    -rwxr-xr-x 1 rg ve 13M 2005-03-22 12:39 smbstatus
    -rwxr-xr-x 1 rg ve 18M 2005-03-22 12:39 smbtree
    -rwxr-xr-x 1 rg ve 26M 2005-03-22 12:37 swat
    -rwxr-xr-x 1 rg ve 693K 2005-03-22 12:39 tdbbackup
    -rwxr-xr-x 1 rg ve 422K 2005-03-22 12:40 tdbdump
    -rwxr-xr-x 1 rg ve 434K 2005-03-22 12:40 tdbtool
    -rwxr-xr-x 1 rg ve 12M 2005-03-22 12:39 testparm
    -rwxr-xr-x 1 rg ve 12M 2005-03-22 12:39 testprns
    -rwxr-xr-x 1 rg ve 12M 2005-03-22 12:41 wbinfo
    -rwxr-xr-x 1 rg ve 29M 2005-03-22 12:38 winbindd

    The files are about 20 time bigger than with 3.0.11!

    I got the tar.gz from the US samba server, downloaded it twice and
    checked the signature.

    It seems that the binaries are not get stripped after the make run. I
    couldn't find a related bug report on samba.org.

    Ralf

  2. Re: problem with 3.0.12 (binary files not stripped after make)

    Ralf Gross wrote:
    > Hi,
    >
    > after configure/make I have ~1.1GB (~70MB for 3.0.11) in $samba/source
    > directory. The make run takes very long time and the size of the build
    > binaries is far too big. During 'make install' my /local filesystem ran
    > out of disk space...
    >
    > I first discoverd this on solaris 8 (gcc version 2.95.2).
    >
    > $ ./configure --with-acl-support --prefix=/usr/local/samba3012
    > --with-quotas --with-ssl --with-included-popt


    Hello!

    Try this : $ env CFLAGS="-O2" ./configure --with-acl ...

    Default flags are "-g -O2" !


    Wilfred

  3. Re: problem with 3.0.12 (binary files not stripped after make)

    GANDER Wilfred wrote:
    > Ralf Gross wrote:
    >>
    >> after configure/make I have ~1.1GB (~70MB for 3.0.11) in $samba/source
    >> directory. The make run takes very long time and the size of the build
    >> binaries is far too big. During 'make install' my /local filesystem ran
    >> out of disk space...
    >>
    >> I first discoverd this on solaris 8 (gcc version 2.95.2).
    >>
    >> $ ./configure --with-acl-support --prefix=/usr/local/samba3012
    >> --with-quotas --with-ssl --with-included-popt

    >
    > Hello!
    >
    > Try this : $ env CFLAGS="-O2" ./configure --with-acl ...
    >
    > Default flags are "-g -O2" !


    Thanks for your reply. I already got this answer on the samba ML. But I
    still don't know why this didn't happend with previous samba versions.

    Ralf

+ Reply to Thread