You should use a more recent version of gcc (or use Solaris studio which is free)
I don't think anyone wants to add extra code to support an ancient version of gcc ... Trond On Jul 25, 2011 8:00 PM, "Marcin Ochab" <[email protected]> wrote: > Hello, > > I was compiling memcache 1.4.6 on Solaris 10 ( SunOS grom 5.10 > Generic_141444-09 sun4v sparc SUNW,Sun-Fire-T200 ) with gcc version > 3.4.3 (csl-sol210-3_4-branch+sol_rpath). > > In compilation there were warnings that parameter -pthread is bad, but > it compiled anyway. It should be -D_REENTRANT or -pthreads. Don't > know if it is just a misspell in confgiure.ac or bigger problem. > > The problem is that without adding thoose flags memcache has problems > with proper threaded errno handling. It causes errors like "Failed to > read, and not due to blocking: errno: 0 Error 0" or "[warn] port_getn: > Error 0". System functions like port_getn or select returns -1 on > error but errno is fileld by 0. > > I've added thoose parameters and for now it's working fine, but still > testing on high load. > > Marcin Ochab
