Hi! I've been compiling Samba 3.0.x on a Solaris 2.6 server using GCC 3.4.1 without any problem until recently... The problem started with 3.0.12 version, and reproduced in 3.0.13. Doing "configure" and then "make" produces with these two versions VERY HUGE binaries! I'm talking about more than 50 Megabytes binaries in some cases... With 3.0.11 and before I had much smaller binaries, doing exactly the same procedure to compile. I haven't changed anything on the compiler side... I've seen that the huge binaries are due to the fact that debugging symbols are being included on them. So, removing the compiler -g flag in Makefile solves the problem (or stripping the binaries, of course). But I would like to know what changed from version 3.0.11 to 3.0.12 that causes such HUGE binaries even if the --enable-debug is supposed to be "NO" by default?? (I even triend "configure --disable-degug" with no results). Thanks! Toni -- Toni Verdu Carbo Departament d'Electronica, Informatica i Automatica (dEIA) Escola Politecnica Superior (EPS)- Universitat de Girona (UdG) Girona - Catalunya - Spain - Europe - Earth - Milky Way - Universe ;^D
The problem you are describing is most likely to be related to static compiling (vs dynamic compiling). Are you sure you are not going static? ;o) Best, Lu?s Quoting Toni Verdu Carbo <toni@silver.udg.es>:> Hi! > > I've been compiling Samba 3.0.x on a Solaris 2.6 server using GCC > 3.4.1 without any problem until recently... The problem started with 3.0.12 > version, and reproduced in 3.0.13. Doing "configure" and then "make" > produces with these two versions VERY HUGE binaries! I'm talking about more > than 50 Megabytes binaries in some cases... With 3.0.11 and before I had > much smaller binaries, doing exactly the same procedure to compile. I > haven't changed anything on the compiler side... > > I've seen that the huge binaries are due to the fact that debugging > symbols are being included on them. So, removing the compiler -g flag in > Makefile solves the problem (or stripping the binaries, of course). But I > would like to know what changed from version 3.0.11 to 3.0.12 that causes > such HUGE binaries even if the --enable-debug is supposed to be "NO" by > default?? (I even triend "configure --disable-degug" with no results). > > Thanks! > > Toni > -- > Toni Verdu Carbo > Departament d'Electronica, Informatica i Automatica (dEIA) > Escola Politecnica Superior (EPS)- Universitat de Girona (UdG) > Girona - Catalunya - Spain - Europe - Earth - Milky Way - Universe ;^D > -- To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >+---------------------------------------- | Lu?s Miguel Ferreira da Silva | Network Administrator @ISPGaya | Instituto Superior Polit?cnico Gaya | Rua Ant?nio Rodrigues da Rocha, 291/341 | Sto. Ov?dio ? 4400-025 V. N. de Gaia | Tel: +351 223745730/3/5 | GSM: +351 912671471 +351 936371253 +---------------------------------------- ---------------------------------------------------------------- Este email foi enviado via o webmail do ISPGaya Instituto Superior Polit?cnico Gaya
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Toni Verdu Carbo wrote: | Hi! | | I've been compiling Samba 3.0.x on a Solaris 2.6 | server using GCC 3.4.1 without any problem until recently... | The problem started with 3.0.12 version, and reproduced in 3.0.13. | Doing "configure" and then "make" produces with these two | versions VERY HUGE binaries! I've tracked down the change to configure.in that caused this. YOu can work around it by either (a) stripping the resulting binaries, (b) manually removing '-g' from the Makefile, or (c) manually setting CFLAGS to any value before running configure. I'll go ahead and fix this in the SAMBA_3_0 svn tree. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCRBhLIR7qMdg1EfYRAq8GAKCnr6Zjkchf3+cQ+fKWY313XoMKBQCgm6Ae cLmG9mJrTMk0dB5GJ+UbvCo=hBZS -----END PGP SIGNATURE-----