RE: Announce: OpenSSH 7.7 released

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On April 7, 2018 1:35 AM, Darren Tucker wrote:
> On 6 April 2018 at 22:51, Randall S. Becker <rsbecker@xxxxxxxxxxxxx>
> wrote:
> > "/home/git/openssh-portable/conftest.c", line 51: error(114): identifier
> "exit"
> >           is undefined
> [...]
> > exit is defined in stdlib.h on this platform. I didn't see a change in this area.
> Weird.
> 
> I suggest getting a config.log up until that point from the last working version
> and compare it with the non-working one and see what the differences are.

Sorry it took a while to get back on this ($DAYJOB). The 7.6p1 builds fine on the platform. I suspected that was a change introduced in the openssh-portable configuration structure at 7.7. 

The issue seems to be:

--- a/configure.ac
+++ b/configure.ac
@@ -1398,7 +1398,7 @@ AC_RUN_IFELSE(
 )
 AC_MSG_RESULT([$func_calloc_0_nonnull])

-if test "x$func_calloc_0_nonnull" == "xyes"; then
+if test "x$func_calloc_0_nonnull" = "xyes"; then
        AC_DEFINE(HAVE_CALLOC, 1, [calloc(0, x) returns non-null])
 else
        AC_DEFINE(HAVE_CALLOC, 0, [calloc(0, x) returns NULL])

The error generated by the old line is not caught, so configure runs without failing until it gets to writing confdefs.h. This was root cause and the fix.

Cheers,
Randall

-- Brief whoami:
 NonStop developer since approximately 211288444200000000
 UNIX developer since approximately 421664400
-- In my real life, I talk too much.




_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux