OK,

It took me a day to liberate a machine to install OpenSolaris on.

Then it took most of a day to remember why I really like FreeBSD
over Solaris.

Then I got distracted by the failing non-blocking connect to backends
and ran truss.

Then I found the root-cause of the problem.

We need CFLAGS to contain -mt on solaris, otherwise errno does not
get macro-fied to be per-thread.

That's where the: EBADF comes from, some entirely different
filedescriptor a long time ago, in the master process...

try:
        env CFLAGS=-mt sh configure

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
p...@freebsd.org         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to