Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


On 12/06/18 18:36, Paul Menzel wrote:
On ppc64le with Ubuntu 18.04 and latest LibreOffice from master with the
libatomic_ops build fix, the build fails with the error below.

```
$ uname -m
ppc64le
$ git describe --dirty
libreoffice-6-1-branch-point-918-g647d6a2c4fba
$ git log --oneline -1
647d6a2c4fba (HEAD -> master, origin/master, origin/HEAD) libatomic_ops: Evaluate newer files
$ ./autogen.sh --with-system-libpng --with-boost-system
[…]
$ make
[…]
Makefile:636: warning: overriding recipe for target 'out/Linux_SINGLE_SHLIB'
Makefile:623: warning: ignoring old recipe for target 'out/Linux_SINGLE_SHLIB'
In file included from ../../../dist/out/include/prerror.h:9:0,
                  from drbg.c:9:
drbg.c: In function ‘RNG_RandomUpdate’:
../../../dist/out/include/prtypes.h:593:38: error: size of array ‘arg’ is negative
      extern void pr_static_assert(int arg[(condition) ? 1 : -1])
                                       ^
drbg.c:541:5: note: in expansion of macro ‘PR_STATIC_ASSERT’
      PR_STATIC_ASSERT(sizeof(size_t) <= 4);
      ^~~~~~~~~~~~~~~~
../../coreconf/rules.mk:392: recipe for target 'out/Linux_SINGLE_SHLIB/drbg.o' failed
make[5]: *** [out/Linux_SINGLE_SHLIB/drbg.o] Error 1
[…]
```

Apparently, one of the external/* modules gets misconfigured in some way so that it checks an assumption that would be appropriate for a 32-bit build (sizeof(size_t) <= 4) but not for a 64-bit build. But from your snippet one can't even tell which external module that would be.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.