Re: Unit Tests failing when built with clang 12

2021-03-19 Thread Luke Benes
The UITest_calc_tests9 failure with clang 12/13 was fixed by https://cgit.freedesktop.org/libreoffice/core/commit/?id=9ccbf716ba16 Fix null-pointer-use Thanks Stephan! ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.f

Re: Unit Tests failing when built with clang 12

2021-03-18 Thread slacka
I just did a git pull and UITest_calc_tests9 is passing on master. I'm bisecting the fix now. -- Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org

Re: Unit Tests failing when built with clang 12

2021-03-18 Thread Stephan Bergmann
On 17/03/2021 23:47, Luke Benes wrote: Sounds like there is a headless or distro dependent aspect of this bug too. I can reproduce this on both my i686 openSUSE Tumbleweed (32-bit) laptop and on my x86-64 openSUSE Tumbleweed desktop. This issue has not been fixed in clang 13 as today's build 4

Re: Unit Tests failing when built with clang 12

2021-03-17 Thread Luke Benes
Sounds like there is a headless or distro dependent aspect of this bug too. I can reproduce this on both my i686 openSUSE Tumbleweed (32-bit) laptop and on my x86-64 openSUSE Tumbleweed desktop. This issue has not been fixed in clang 13 as today's build 402f2cae7dcab also fails. I also was able

Re: Unit Tests failing when built with clang 12

2021-03-17 Thread Stephan Bergmann
On 16/03/2021 23:05, slacka wrote: Yes, I just verified that you'll need an --enable-optimized build to reproduce this failure. When I built with clang 12 + --enable-debug, all unit tests passed. though a Clang 13 trunk build with --enable-optimized (and --disable-debug, --disable-dbgutil) run

Re: Unit Tests failing when built with clang 12

2021-03-16 Thread slacka
Yes, I just verified that you'll need an --enable-optimized build to reproduce this failure. When I built with clang 12 + --enable-debug, all unit tests passed. -- Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html

Re: Unit Tests failing when built with clang 12

2021-03-16 Thread Stephan Bergmann
On 15/03/2021 20:54, Luke Benes wrote: The recently added Unit Test test_tdf131000 https://cgit.freedesktop.org/libreoffice/core/commit/?id=df33714f0eca fails with clang 12 but not with gcc 10 or clang 11. I bisected this regression to this change in clang: https://github.com/llvm/llvm-project

Unit Tests failing when built with clang 12

2021-03-15 Thread Luke Benes
The recently added Unit Test test_tdf131000 https://cgit.freedesktop.org/libreoffice/core/commit/?id=df33714f0eca fails with clang 12 but not with gcc 10 or clang 11. I bisected this regression to this change in clang: https://github.com/llvm/llvm-project/commit/69cd776e1ee79e72ccbdad30749eac045