Re: Call for testing: OpenSSH 8.0 [AIX Fail]

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

 



On 3/27/19 4:00 AM, Damien Miller wrote:
> Hi,
>
> OpenSSH 8.0p1 is almost ready for release, so we would appreciate testing
> on as many platforms and systems as possible.
>
> Snapshot releases for portable OpenSSH are available from
> http://www.mindrot.org/openssh_snap/
>
> The OpenBSD version is available in CVS HEAD:
> http://www.openbsd.org/anoncvs.html
>
> Portable OpenSSH is also available via git using the
> instructions at http://www.openssh.com/portable.html#cvs
> At https://anongit.mindrot.org/openssh.git/ or via a mirror at Github:
> https://github.com/openssh/openssh-portable
>
> Running the regression tests supplied with Portable OpenSSH does not
> require installation and is a simply:
>
> $ ./configure && make tests
>

Using openssh-SNAP-20190401.tar.gz
AIX 7200-03-02-1846
OpenSSL 1.0.2p  14 Aug 2018
gcc (GCC) 8.1.0
GNU Make 4.2.1

gmake tests fails:
./configure && gmake tests
...
gcc -O2 -mcpu=powerpc -D_LINUX_SOURCE_COMPAT -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset   -I. -I. -I/opt/freeware/include -I/opt/phs/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c sshkey.c -o sshkey.o
sshkey.c: In function 'sshkey_format_cert_validity':
sshkey.c:2750:42: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size between 24 and 55 [-Wformat-truncation=]
   snprintf(ret, sizeof(ret), "from %s to %s", from, to);
                                          ^~         ~~
sshkey.c:2750:3: note: 'snprintf' output between 10 and 72 bytes into a destination of size 64
   snprintf(ret, sizeof(ret), "from %s to %s", from, to);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
gcc -O2 -mcpu=powerpc -D_LINUX_SOURCE_COMPAT -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset   -I. -I. -I/opt/freeware/include -I/opt/phs/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c channels.c -o channels.o
channels.c: In function 'channel_post_mux_listener':
channels.c:2314:6: warning: implicit declaration of function 'getpeereid'; did you mean 'getpcred'? [-Wimplicit-function-declaratio ]
  if (getpeereid(newsock, &euid, &egid) < 0) {
      ^~~~~~~~~~
      getpcred 
...
gcc -O2 -mcpu=powerpc -D_LINUX_SOURCE_COMPAT -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset   -I. -I. -I/opt/freeware/include -I/opt/phs/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c hostfile.c -o hostfile.o
hostfile.c: In function 'host_hash':
hostfile.c:151:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 509 and 1020 [-Wformat-truncation=]
  snprintf(encoded, sizeof(encoded), "%s%s%c%s", HASH_MAGIC, uu_salt,
                                            ^~
      HASH_DELIM, uu_result);
                  ~~~~~~~~~
hostfile.c:151:2: note: 'snprintf' output between 5 and 1027 bytes into a destination of size 1024
  snprintf(encoded, sizeof(encoded), "%s%s%c%s", HASH_MAGIC, uu_salt,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      HASH_DELIM, uu_result);
      ~~~~~~~~~~~~~~~~~~~~~~

...
gcc -O2 -mcpu=powerpc -D_LINUX_SOURCE_COMPAT -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset   -I. -I. -I/opt/freeware/include -I/opt/phs/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c sntrup4591761.c -o sntrup4591761.o
In file included from includes.h:100,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/usr/include/sys/mman.h:148:15: error: conflicting types for 'mmap64'
  extern void *mmap64(void *, size_t, int, int, int, off64_t);
               ^~~~~~
/usr/include/sys/mman.h:143:15: note: previous declaration of 'mmap64' was here
  extern void *mmap(void *, size_t, int, int, int, off_t);
               ^~~~
In file included from /usr/include/pwd.h:158,
                 from platform.h:19,
                 from includes.h:173,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8.1.0/include-fixed/stdio.h:582:12: error: conflicting types for 'fgetpos64'
 extern int fgetpos64(FILE *, fpos64_t *);
            ^~~~~~~~~
In file included from /usr/include/pwd.h:158,
                 from platform.h:19,
                 from includes.h:173,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8.1.0/include-fixed/stdio.h:377:12: note: previous declaration of 'fgetpos64' was here
 extern int fgetpos(FILE *__restrict__, fpos_t *__restrict__);
            ^~~~~~~
In file included from /usr/include/pwd.h:158,
                 from platform.h:19,
                 from includes.h:173,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8.1.0/include-fixed/stdio.h:585:12: error: conflicting types for 'fseeko64'
 extern int fseeko64(FILE *, off64_t, int);
            ^~~~~~~~
In file included from /usr/include/pwd.h:158,
                 from platform.h:19,
                 from includes.h:173,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8.1.0/include-fixed/stdio.h:525:12: note: previous declaration of 'fseeko64' was here
 extern int fseeko(FILE *, off_t, int);
            ^~~~~~
In file included from /usr/include/pwd.h:158,
                 from platform.h:19,
                 from includes.h:173,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8.1.0/include-fixed/stdio.h:586:12: error: conflicting types for 'fsetpos64'
 extern int fsetpos64(FILE *, const fpos64_t *);
            ^~~~~~~~~
In file included from /usr/include/pwd.h:158,
                 from platform.h:19,
                 from includes.h:173,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8.1.0/include-fixed/stdio.h:379:12: note: previous declaration of 'fsetpos64' was here
 extern int fsetpos(FILE *, const fpos_t *);
            ^~~~~~~
In file included from /usr/include/pwd.h:158,
                 from platform.h:19,
                 from includes.h:173,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8.1.0/include-fixed/stdio.h:587:16: error: conflicting types for 'ftello64'
 extern off64_t ftello64(FILE *);
                ^~~~~~~~
In file included from /usr/include/pwd.h:158,
                 from platform.h:19,
                 from includes.h:173,
                 from crypto_api.h:11,
                 from sntrup4591761.c:12:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.2.0.0/8.1.0/include-fixed/stdio.h:526:14: note: previous declaration of 'ftello64' was here
 extern off_t ftello(FILE *);
              ^~~~~~
gmake: *** [Makefile:161: sntrup4591761.o] Error 1



-- 
# include <stddisclaimer.h>
/* Kevin Brott <Kevin.Brott@xxxxxxxxx> */

_______________________________________________
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