This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC problems on HP-UX, inet_ntoa broken.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]