Hi,
tried to build LibreOffice 7.0 alpha1 on !x86_64. So far it failed only
on s390x (big endian!):
1.)
#if defined OSL_LITENDIAN
            aResult = OUString(reinterpret_cast<const sal_Unicode *>(
                m_pData.get() + nStartOff), nCount);
#else
            OUStringBuffer aBuf;
[...]
in source/filter/ww8/WW8Sttbf.cxx. On bigendian it fails since it cannot
resolve OUStringBuffer (but suggests rtl::'ing it).
See https://gerrit.libreoffice.org/c/core/+/93865
2.)
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkMath.h:11:
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkTypes.h:228:6: 
error: "The Skia team is not endian-savvy enough to support big
-endian CPUs."
    #error "The Skia team is not endian-savvy enough to support big-endian CPUs."
     ^
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkTypes.h:229:6: 
error: "If you still want to use Skia,"
    #error "If you still want to use Skia,"
     ^
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkTypes.h:230:6: 
error: "please define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_E
NDIAN."
    #error "please define I_ACKNOWLEDGE_SKIA_DOES_NOT_SUPPORT_BIG_ENDIAN."
     ^
3 errors generated.
make[2]: *** [/home/rene/libreoffice-7.0.0~alpha1/solenv/gbuild/LinkTarget.mk:303: 
/home/rene/libreoffice-7.0.0~alpha1/workdir/CxxObject/external/skia/source/
SkMemory_malloc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/src/codec/SkAndroidCodecAdapter.cpp:8:
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/src/codec/SkAndroidCodecAdapter.h:10:
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/codec/SkAndroidCodec.h:11:
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/codec/SkCodec.h:13:
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkColor.h:11:
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkImageInfo.h:106:6: 
error: "SK_*32_SHIFT values must correspond to BGRA or RGBA byte order"
    #error "SK_*32_SHIFT values must correspond to BGRA or RGBA byte order"
     ^
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkImageInfo.h:341:38: 
error: use of undeclared identifier 'kN32_SkColorType'
        return Make({width, height}, kN32_SkColorType, at, std::move(cs));
                                     ^
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkImageInfo.h:373:38: 
error: use of undeclared identifier 'kN32_SkColorType'
        return Make({width, height}, kN32_SkColorType, kPremul_SkAlphaType, std::move(cs));
                                     ^
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/core/SkImageInfo.h:390:33: 
error: use of undeclared identifier 'kN32_SkColorType'
        return Make(dimensions, kN32_SkColorType, kPremul_SkAlphaType, std::move(cs));
  
                                ^
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/src/codec/SkAndroidCodecAdapter.cpp:8:
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/src/codec/SkAndroidCodecAdapter.h:10:
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/codec/SkAndroidCodec.h:11:
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/codec/SkCodec.h:21:
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/include/private/SkEncodedInfo.h:163:44:
 error: use of undeclared identifier 'kN32_SkColorType'
                                           kN32_SkColorType      ;
                                           ^
In file included from 
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/src/codec/SkAndroidCodecAdapter.cpp:9:
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/src/codec/SkCodecPriv.h:156:12: 
error: use of undeclared identifier 'SkEndianSwap16'
    return SkEndianSwap16(result);
           ^
/home/rene/libreoffice-7.0.0~alpha1/workdir/UnpackedTarball/skia/src/codec/SkCodecPriv.h:170:12: 
error: use of undeclared identifier 'SkEndianSwap32'
    return SkEndianSwap32(result);
           ^
10 errors generated.
make[2]: *** [/home/rene/libreoffice-7.0.0~alpha1/solenv/gbuild/LinkTarget.mk:356: 
/home/rene/libreoffice-7.0.0~alpha1/workdir/GenCxxObject/UnpackedTarball/skia/src/codec/SkAndroidCodecAdapter.o]
 Error 1
make[2]: Leaving directory '/home/rene/libreoffice-7.0.0~alpha1'
make[1]: *** [Makefile:274: build] Error 2
make[1]: Leaving directory '/home/rene/libreoffice-7.0.0~alpha1'
make: *** [debian/rules:1910: debian/stampdir/build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
Erm, seriously? LO is supporting s390x in the code.
Lubos, what are you suggesting on s390x? --disable-skia? Isn't it needed for "gen" also on Linux?
Regards,
Rene
Context
- LO 7.0 alpha1 on bigendian (here: s390x) · Rene Engelhard
 
   
 
  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.