On Sat, 19 Jul 2003, J.A. Magallon wrote: > > Perhaps you couls try with -Os. It seems to work for me in the kernel, > and for a package it would not impact so much its performance. > And you could even get a faster package, as it is more cache-friendly... > > If everyone is going to drop optimization until gcc-3.3.1 is trusted, > I would suggest -Os.
I will try it later, but: 1)samba-2.2.x was broken by this for more than a week 2)samba3 has been out-of-date for a while 3)I have been trying a number of combinations of flags, -O1 was the first one I got that worked (IIRC I had tried -Os). 4)At this stage, I prefer to have a working samba in cooker, it's enough to be considering putting samba3 in main without having to retest every single feature between compiles at different optimisation flags. Of course, if someone else can confirm that all features work when compiled with -Os, and will take on bugs for samba related to this, I would switch. Unfortunately, it is non-trivial to test all features ... and thus far the only way I find out if features work is to test them myself, which can mean considerable effort (setting up a test windows server, joining the domain, creating users, just to test winbind, then reboot the laptop into Windows and the desktop into linux, and test the reverse, then test with a PDC/BDC arrangement, then test a domain trust, and we haven't even got to AD/kerberos). BTW, if anyone has environments which allow easy testing (ideally daily use) of such environments (specifically WindowsNT/2k domains), I could do with off-list confirmations every once in a while. I suspect gcc breakage was affecting password hashing functions, but haven't narrowed it down further. Unfortunately, generating bad password hashes kind of trashes most of samba's functionality ... The fact that klama doesn't build samba3 (every other cooker box that has tried has succeeded) does complicate things a bit. I will investigate more later, but with the threat of a cooker snapshot coming, I wanted to ensure the packages worked (for samba-2.2.x I still need to confirm whether the binaries in cooker do work, they haven't arrived on my mirror yet), rather than helping test bleeding edge gcc ;-). BTW, binaries for samba3 will be a bit behind the SRPM ... but people who want to play with samba3 on 8.1-9.1 can get binaries from http://ranger.dnsalias.com Regards, Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 ****************************************************************** Please click on http://www.cae.co.za/disclaimer.htm to read our e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy. ******************************************************************
