[Bug 1017] socklen_t test in configure fails/configure stops

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Apr 19 17:27:14 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1017


dtucker at zip.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Group|Portable OpenSSH            |
           Platform|All                         |PPC




------- Additional Comments From dtucker at zip.com.au  2005-04-19 17:27 -------
(In reply to comment #4)
> Noted the output from the configure script on my box for these sizes was
> wrong, I got all 0's. Surely significant.

Yeah, that'll do it.  This appears to be the underlying cause:

> checking for sys/types.h... no

Do you have /usr/include/sys/types.h, and is it world readable?  On my 5.2 box:

$ ls -l /usr/include/sys/types.h
-r--r--r--   1 bin  bin  15489 Jun 23 2004  /usr/include/sys/types.h

For the record, Mark also reports that the IBM build instructions for OpenSSH
include the "-D__STR31__" although I'm not sure why.  It doesn't seem to make
any difference on my box, it works with and without it.

http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.aix.doc/aixbman/security/openssh.htm

Hmm, it appears that -D__STR31__ will prevent many string functions (including
memset() from being inlined):
http://www.unet.univie.ac.at/aix/aixbman/prftungd/desnimpl.htm

Perhaps that's something that we should add to CFLAGS or config.h for all AIXes?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list