Am Tue, 08 Oct 2019 14:18:14 +0300 schrieb Aki Tuomi via dovecot:
https://dovecot.org/releases/2.3/dovecot-2.3.8.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.8.tar.gz.sig Binary packages in https://repo.dovecot.org/
Hi,
this commit
https://github.com/dovecot/core/commit/ cebaac29a31fba40ce570c8668dddb15e5e22c87#diff-441ae8b2b019c411b6b4adb26efbaa63R48
causes a build error:
libtool: link: /home/bernd/buildroot/br6/output/host/bin/x86_64-linux-gcc -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE - D_FILE_OFFSET_BITS=64 -Os -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 - mfunction-return=thunk -mindirect-branch=thunk -Wall -W -Wmissing- prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts - Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 - I/home/bernd/buildroot/br6/output/host/bin/../x86_64-buildroot-linux- uclibc/sysroot/usr/include -static -o test-iostream-ssl test-iostream- ssl.o ./.libs/libssl_iostream_openssl.so -L/home/bernd/buildroot/br6/ output/host/bin/../x86_64-buildroot-linux-uclibc/sysroot/usr/ lib64 ./.libs/libssl_iostream.a ../lib-test/.libs/libtest.a ../lib/.libs/ liblib.a -lssl -lcrypto -Wl,-rpath -Wl,/home/bernd/buildroot/br6/output/ build/dovecot-2.3.8/src/lib-ssl-iostream/.libs -Wl,-rpath -Wl,/usr/lib/ dovecot
/home/bernd/buildroot/br6/output/host/opt/ext-toolchain/bin/../lib/gcc/ x86_64-buildroot-linux-uclibc/7.4.0/../../../../x86_64-buildroot-linux- uclibc/bin/ld: attempted static link of dynamic object `./.libs/ libssl_iostream_openssl.so'
Removing "-static" fixes the problem.
Regards, Bernd