This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
GCC problems on HP-UX, inet_ntoa broken.
- To: <perl5-porters at perl dot org>,"H.Merijn Brand" <h dot m dot brand at hccnet dot nl>,<gcc-bugs at gcc dot gnu dot org>
- Subject: GCC problems on HP-UX, inet_ntoa broken.
- From: Arthur Bergman <arthur at contiller dot se>
- Date: Wed, 29 Aug 2001 14:24:42 +0200
The problem with multihome on GCC + 64bit HP-UX11 seems to be the fact that
inet_ntoa always returns 0.0.0.0.
One explanation for this MIGHT be similar to the problems GCC have with
returnvalues smaller than 8byte on 64bit IRIX. I am crossposting this to
gcc-bugs@gcc.gnu.org hoping for some help.
To gcc people, we have a trouble with a perfectly sane inet_ntoa call
returning 0.0.0.0 and nothing else. Is this a known issue?
p5p:
I propose the following fix.
If we are on HP-UX 11 with 64bit turned on and compiled with gcc we do our
own inet_ntoa. Otherwise we use the system inet_ntoa.
--
Arthur