Building LO on Raspberry pi 4b, error: unknown attribute 'externally_visible' on jni part

julien2412 serval2412 at yahoo.fr
Sun Jan 10 09:24:00 UTC 2021


I pushed some commits to fix some errors, see
https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=raspberry.
I don't know if they're the right fixes but at least, the build could go on.

Now I'm struggling a bit with these errors:
In file included from /home/pi/lo/libreoffice/vcl/skia/SkiaHelper.cxx:34:
In file included from /home/pi/lo/libreoffice/vcl/inc/skia/utils.hxx:28:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkRegion.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkRect.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkPoint.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkMath.h:11:
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkTypes.h:371:5:
error: 'SK_CPU_SSE_LEVEL' is not defined, evaluates to 0 [-Werror,-Wundef]
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1
    ^
In file included from /home/pi/lo/libreoffice/vcl/skia/SkiaHelper.cxx:34:
In file included from /home/pi/lo/libreoffice/vcl/inc/skia/utils.hxx:28:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkRegion.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkRect.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkPoint.h:12:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkScalar.h:11:
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/private/SkFloatingPoint.h:21:5:
error: 'SK_CPU_SSE_LEVEL' is not defined, evaluates to 0 [-Werror,-Wundef]
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1
    ^
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/private/SkFloatingPoint.h:203:5:
error: 'SK_CPU_SSE_LEVEL' is not defined, evaluates to 0 [-Werror,-Wundef]
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1
    ^
In file included from /home/pi/lo/libreoffice/vcl/skia/salbmp.cxx:20:
In file included from /home/pi/lo/libreoffice/vcl/inc/skia/salbmp.hxx:25:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkImage.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkFilterQuality.h:11:
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkTypes.h:371:5:
error: 'SK_CPU_SSE_LEVEL' is not defined, evaluates to 0 [-Werror,-Wundef]
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1
    ^
In file included from /home/pi/lo/libreoffice/vcl/skia/salbmp.cxx:20:
In file included from /home/pi/lo/libreoffice/vcl/inc/skia/salbmp.hxx:25:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkImage.h:12:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkImageEncoder.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkBitmap.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkColor.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkImageInfo.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkColorSpace.h:12:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/private/SkFixed.h:11:
In file included from
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/core/SkScalar.h:11:
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/private/SkFloatingPoint.h:21:5:
error: 'SK_CPU_SSE_LEVEL' is not defined, evaluates to 0 [-Werror,-Wundef]
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1
    ^
/home/pi/lo/libreoffice/workdir/UnpackedTarball/skia/include/private/SkFloatingPoint.h:203:5:
error: 'SK_CPU_SSE_LEVEL' is not defined, evaluates to 0 [-Werror,-Wundef]
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1
    ^
3 errors generated.

If someone knows has an idea to fix this...

BTW, if someone wants me to try some patches to see how it behave in
Raspberry pi 4, don't hesitate.
Of course, try to avoid patches which need an almost full rebuild, Arm
Cortex A72 with 4GB is not very fast :-)

Julien



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html


More information about the LibreOffice mailing list