RE: Call for testing: openssh-9.1

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

 



Damien Miller on Tuesday, September 27, 2022 8:04 PM wrote:
>Hi,
>OpenSSH 9.1p1 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a bugfix release.
>Snapshot releases for portable OpenSSH are available from >https://urldefense.com/v3/__http://www.mindrot.org/openssh_snap/__;!!OToaGQ!pwFIR7u2kD0yMvH4QSV6dVI5vt82UjRpT1pGOxKJGVsNa6vRX_BB6jBgXDoret_XwsttY6pXM0yK9Hw$  
><skip>
><skip>
>Running the regression tests supplied with Portable OpenSSH does not require installation and is a simply:
> ./configure && make tests
>Live testing on suitable non-production systems is also appreciated.
>Please send reports of success or failure to openssh-unix-dev@xxxxxxxxxxx. Security bugs should be reported directly to openssh@xxxxxxxxxxx.
><zkip>
>

AIX 7.1 TL5 SP9

For a number of releases since introducing OpenSSH  ver. 8, AIX experiencing a problem configuring OpenSSH with static OpenSSL libs ver. 1.1.1.(x). 
The "configure" command finishes with error:
     ./configure --prefix=/usr/local/openssh --with-ssl-dir=/usr/local/openssl --with-zlib=/usr/local/zlib --without-openssl-header-check --with-cflags=-q64 --with-ldflags=-q64
     <skip>
     ...
     checking whether snprintf can declare const char *fmt... yes
     checking if getaddrinfo seems to work... yes
     checking whether AI_NUMERICSERV is declared... yes
     checking if SA_RESTARTed signals interrupt select()... yes
     checking for getpgrp... yes
     checking if getpgrp accepts zero args... yes
     configure: error: *** working libcrypto not found, check config.log

The remedy is to add
     --with-libs=-lpthread
argument into "configure" command. 

It is not clear how "libpthread" affects "configure" command's ability to locate "libcrypto". It all related to the initial env config.

Looks like it is a sort of misleading info provided by "configure" output by displaying the error with "libcrypto" while in fact "config.log" contains lines with ".pthread" errors  just before "libcrypto" error (could it be a 'side' effect of ".pthread" symbols being not found - ?).

Additional info:
cc -qlanglvl=extc99 supports C99-style variadic macros... yes
cc option to enable C99 features... -qlanglvl=extc99
system type... powerpc-ibm-aix7.1.5.0
run the C preprocessor... cc -qlanglvl=extc99 -E

"config.log" contains the following errors:
  ================================================================
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| char daemon ();
| int
| main (void)
| {
| return daemon ();
|   ;
|   return 0;
| }
configure:14478: result: no
configure:14490: checking for getpagesize
configure:14490: result: yes
configure:14544: checking whether snprintf correctly terminates long strings
configure:14570: cc -qlanglvl=extc99 -o conftest -g -q64 -I/usr/local/zlib/include  -L/usr/local/zlib/lib  -q64 conftest.c  >&5
configure:14570: $? = 0
configure:14570: ./conftest
configure:14570: $? = 0
configure:14572: result: yes
configure:14592: checking whether snprintf understands %zu
configure:14621: cc -qlanglvl=extc99 -o conftest -g -q64 -I/usr/local/zlib/include  -L/usr/local/zlib/lib  -q64 conftest.c  >&5
configure:14621: $? = 0
configure:14621: ./conftest
configure:14621: $? = 0
configure:14623: result: yes
configure:14643: checking whether vsnprintf returns correct values on overflow
configure:14684: cc -qlanglvl=extc99 -o conftest -g -q64 -I/usr/local/zlib/include  -L/usr/local/zlib/lib  -q64 conftest.c  >&5
configure:14684: $? = 0
configure:14684: ./conftest
configure:14684: $? = 0
configure:14686: result: yes
configure:14708: checking whether snprintf can declare const char *fmt
configure:14726: cc -qlanglvl=extc99 -c -g -q64 -I/usr/local/zlib/include  conftest.c >&5
configure:14726: $? = 0
configure:14728: result: yes
configure:14944: checking if getaddrinfo seems to work
configure:15004: cc -qlanglvl=extc99 -o conftest -g -q64 -I/usr/local/zlib/include  -L/usr/local/zlib/lib  -q64 conftest.c  >&5
configure:15004: $? = 0
configure:15004: ./conftest
configure:15004: $? = 0
configure:15007: result: yes
configure:15028: checking whether AI_NUMERICSERV is declared
configure:15028: cc -qlanglvl=extc99 -c -g -q64  -I/usr/local/zlib/include  conftest.c >&5
configure:15028: $? = 0
configure:15028: result: yes
configure:15132: checking if SA_RESTARTed signals interrupt select()
configure:15181: cc -qlanglvl=extc99 -o conftest -g -q64 -I/usr/local/zlib/include  -L/usr/local/zlib/lib  -q64 conftest.c  >&5
configure:15181: $? = 0
configure:15181: ./conftest
configure:15181: $? = 0
configure:15183: result: yes
configure:15200: checking for getpgrp
configure:15200: cc -qlanglvl=extc99 -o conftest -g -q64 -I/usr/local/zlib/include  -L/usr/local/zlib/lib  -q64 conftest.c  >&5
configure:15200: $? = 0
configure:15200: result: yes
configure:15205: checking if getpgrp accepts zero args
configure:15218: cc -qlanglvl=extc99 -c -g -q64 -I/usr/local/zlib/include  conftest.c >&5
configure:15218: $? = 0
configure:15220: result: yes
configure:15328: cc -qlanglvl=extc99 -o conftest -g -q64 -I/usr/local/openssl/include -I/usr/local/zlib/include  -L/usr/local/openssl/lib -L/usr/local/zlib/lib  -q64 conftest.c -lcrypto  >&5
ld: 0711-317 ERROR: Undefined symbol: .deflate
ld: 0711-317 ERROR: Undefined symbol: .zError
ld: 0711-317 ERROR: Undefined symbol: .deflateInit_
ld: 0711-317 ERROR: Undefined symbol: .inflate
ld: 0711-317 ERROR: Undefined symbol: .inflateInit_
ld: 0711-317 ERROR: Undefined symbol: .inflateEnd
ld: 0711-317 ERROR: Undefined symbol: .deflateEnd
ld: 0711-317 ERROR: Undefined symbol: .pthread_atfork
ld: 0711-317 ERROR: Undefined symbol: .pthread_once
ld: 0711-317 ERROR: Undefined symbol: .pthread_self
ld: 0711-317 ERROR: Undefined symbol: .pthread_key_delete
ld: 0711-317 ERROR: Undefined symbol: .pthread_setspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_getspecific
ld: 0711-317 ERROR: Undefined symbol: .pthread_key_create
ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_unlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_wrlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_rdlock
ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_init
ld: 0711-317 ERROR: Undefined symbol: .pthread_rwlock_destroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
configure:15328: $? = 8
configure: failed program was:
| /* confdefs.h */
<skip>
<skip>
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| char RAND_add ();
| int
| main (void)
| {
| return RAND_add ();
|   ;
|   return 0;
| }
configure:15332: error: *** working libcrypto not found, check config.log
  ================================================================

Thanks,
Val Baranov
Val.baranov@xxxxxxxx

_______________________________________________
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