I have to say that i am using gccfss (Gcc for Solaris Sparc):
gcc --version sparc-sun-solaris2.10-gcc (GCC) 4.2.0 (gccfss) Copyright (C) 2007 Free Software Foundation, Inc.
Then i realized that i was missing some libraries for gccfss in my LDFLAGS like:
-L/usr/local/gccfs/gcc/lib/gcc/sparc-sun-solaris2.10/4.2.0 -R/usr/local/gccfs/gcc/lib/gcc/sparc-sun-solaris2.10/4.2.0 -L/usr/local/gccfss/SUNW0scgfss/4.2.0/prod/lib -R/usr/local/gccfss/SUNW0scgfss/4.2.0/prod/lib
And some enviroment variables:
SUNW_SCGFSS_PATH=/usr/local/gccfss/SUNW0scgfss export SUNW_SCGFSS_PATH
After putting then, dovecot isn't compiling any more.
So i will stick with standard gcc. Sorry for your time, Greetings
Andrés Fernando Yacopino
Infraestructura - Dpto Sistemas
AcaSalud
Cooperativa de Prestaciones Médico Asistenciales Limitada
Tel: 0341-4208726
ayacopino@acasalud.com.ar
Timo Sirainen escribió:
On Mar 25, 2009, at 10:05 AM, Andrés Yacopino wrote:
Timo, well i have change this (to erase optimization flags):
CFLAGS='-xtarget=ultra3 -xarch=v8plusa -fast' to this: CFLAGS='-xtarget=ultra3 -xarch=v8plusa -pipe'
Then recompile everything (dovecot 1.2beta2 with dovecot-1.2.beta1-managesieve-0.11.3.diff.gz patch, dovecot-1.2-sieve-0.1.3 and dovecot-1.2-managesieve-0.11.3.(same versions as before)
Now it is working right, can it be something is this optimization flag (-fast) that it is breaking something.
It wouldn't be the first time when Sun CC's optimizer bug has broken Dovecot. I guess it might even be the same bug.