Hello,

Recently Xisco updated OpenSSL library to 3.5.4:

Reapply "openssl: upgrade to 3.5.4 (master only)"
https://git.libreoffice.org/core/commit/b63f8cd8df978c402683f7730562fb3c980eb893

This upgrade caused issues for my Cygwin build of LibreOffice. Looking into different things to find the root cause, I eventually understood that the problem was the old nasm. I updated nasm 2.11.06 (2014) to nasm 2.16.03 (2024) from Cygwin, and it fixed the issue.

After that, I found that Caolán has already fix the problem in LODE, upgrading nasm to 2.15.05 (2020) which is new enough to avoid OpenSSL build issue:

upgrade windows nasm
https://git.libreoffice.org/lode/commit/e84996246b1c885fa2b4ecfbef01128f96ddc3b7

Regression: OpenSSL 3.4 section alignment is broken for WIN64A
https://github.com/openssl/openssl/issues/25774

If you want to avoid the same issue, you should upgrade nasm. You can do it either manually by downloading and installing nasm from its website and putting it in appropriate place (for example, "$LODE_HOME/opt/bin/"):
https://www.nasm.us/

Or, you may upgrade LODE:

$ cd $LODE_HOME
$ git pull -r
$ ./setup --force

Last command is in fact reinstalling all the dependent packages rather than a smart upgrade, but it does the job.

Regards,
Hossein

--
Hossein Nourikhah, Ph.D., Developer Community Architect
Tel: +49 30 5557992-65 | Email: [email protected]
The Document Foundation, Winterfeldtstraße 52, 10781 Berlin, DE
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: https://www.documentfoundation.org/imprint

Reply via email to