Problem IP numbers on IRIX 6.5 when compiling with gcc
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1145
Reported by Martin Stjernholm mast@roxen.com
From: Johan Hattne hattne@ibg.uu.se To: roxen@roxen.com Date: Sun, 4 Feb 2001 21:00:12 +0100
I wrote to this list some months ago complaining about roxen not working when compiled with gcc. There is a bug in gcc on IRIX that messes up the handling of IP-numbers (inet_ntoa and friends if I am not mistaken) so all requests seem to come from 0.0.0.0 or 255.255.255.255. The source still compiles nicely, but it is diffucult (impossible?) to bind the server to any very useful address.
So I compiled with cc (license required) and now things work. Problem is the IRIX binaries available from the roxen website show the same symptoms as my broken server did when compiled with gcc. Either these binaries are compiled with a broken gcc or I am doing something else wrong. If anybody has downloaded a working IRIX binary I will have to look over my configurations.
// Johan