Re: [Samba] Very HUGE binaries!?

2005-03-30 Thread Hansjrg Maurer
Hi
I have tried this patch, but the generated Makefile still contains the 
-g CFFLAG.
(running Solaris8 with gcc)

Removing the -g manually from the Makefile works.
Thank you very much
Hansjörg

Gerald (Jerry) Carter wrote:
Gerald (Jerry) Carter wrote:
| 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.
Fixed in svn now.  The patch is at
http://samba.org/~jerry/patches/post-3.0.13/configure_debug.patch

cheers, jerry
--
_
Dr.  Hansjoerg Maurer   | LAN-  System-Manager
   |
Deutsches Zentrum   | DLR Oberpfaffenhofen
 f. Luft- und Raumfahrt e.V.   |
Institut f. Robotik |
Postfach 1116   | Muenchner Strasse 20
82230 Wessling  | 82234 Wessling
Germany |
   |
Tel: 08153/28-2431  | E-mail: [EMAIL PROTECTED]
Fax: 08153/28-1134  | WWW: http://www.robotic.dlr.de/
__
There are 10 types of people in this world,
those who understand binary and those who don't.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Very HUGE binaries!?

2005-03-28 Thread Toni Verdu Carbo
On Fri, 25 Mar 2005, Gerald (Jerry) Carter wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gerald (Jerry) Carter wrote:
| 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.
Fixed in svn now.  The patch is at
http://samba.org/~jerry/patches/post-3.0.13/configure_debug.patch
Thanks a lot Jerry. Actually, removing '-g' from the Makefile worked
for me, as I said in my first message. But it's better to have it fixed in
the svn tree so we don't have to worry about from now on ;)
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


[Samba] Very HUGE binaries!?

2005-03-25 Thread Toni Verdu Carbo
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


Re: [Samba] Very HUGE binaries!?

2005-03-25 Thread Luís Miguel Silva
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 [EMAIL PROTECTED]:
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Very HUGE binaries!?

2005-03-25 Thread Gerald (Jerry) Carter
-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-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Very HUGE binaries!?

2005-03-25 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gerald (Jerry) Carter wrote:
| 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.
Fixed in svn now.  The patch is at
http://samba.org/~jerry/patches/post-3.0.13/configure_debug.patch

cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCRCSFIR7qMdg1EfYRAinbAKDWTcTCkP+98z0FIRI5RsfE7TZqPwCgnRLk
z6UxLKOswmA+8XuO4F3fh6s=
=IMtw
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Very HUGE binaries!?

2005-03-25 Thread Chris
On Friday 25 March 2005 09:47 am, Gerald (Jerry) Carter wrote:
 Fixed in svn now.  The patch is at
 http://samba.org/~jerry/patches/post-3.0.13/configure_debug.patch

Forbidden.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba