[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#983945: libreoffice: ftbfs with -march=x86-64-v3



Hi,

Am 03.03.21 um 16:39 schrieb Matthias Klose
> [build CUT] sc_array_functions_test
> S=/<<PKGBUILDDIR>> && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CppunitTest/ && rm -fr $W/CppunitTest/sc_array_functions_test.test.user && cp -r $W/unittest $W/CppunitTest/sc_array_functions_test.test.user &&    rm -fr $W/CppunitTest/sc_array_functions_test.test.core && mkdir $W/CppunitTest/sc_array_functions_test.test.core && cd $W/CppunitTest/sc_array_functions_test.test.core && (   MAX_CONCURRENCY=4 MOZILLA_CERTIFICATE_FOLDER= SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=1 SAL_USE_VCLPLUGIN=svp LIBO_LANG=C  LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs   MALLOC_CHECK_=2 MALLOC_PERTURB_=153      $W/LinkTarget/Executable/cppunittester $W/LinkTarget/CppunitTest/libtest_sc_array_functions_test.so --headless "-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" "-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource" "-env:UserInstallation=file://$W/CppunitTest/sc_array_functions_test.test.user"   
>  "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry xcsxcu:file://$W/unittest/registry"  "-env:UNO_TYPES=file://$I/program/types/offapi.rdb file://$I/program/types.rdb file://$I/program/types/oovbaapi.rdb"  "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/ComponentTarget/basic/util/sb.component file://$W/ComponentTarget/chart2/source/chartcore.component file://$W/ComponentTarget/chart2/source/controller/chartcontroller.component file://$W/ComponentTarget/comphelper/util/comphelp.component file://$W/ComponentTarget/configmgr/source/configmgr.component file://$W/ComponentTarget/connectivity/source/manager/sdbc2.component file://$W/ComponentTarget/dbaccess/util/dba.component file://$W/ComponentTarget/embeddedobj/util/embobj.component file://$W/ComponentTarget/eventattacher/source/evtatt.component file://$W/ComponentTarget/filter/source/config/cache/filterconfig1.component file://$W/ComponentTarget/filter/source/odfflatxml/odfflatxml.component file://$W/ComponentTarget
>  /filter/source/xmlfilteradaptor/xmlfa.component file://$W/ComponentTarget/forms/util/frm.component file://$W/ComponentTarget/framework/util/fwk.component file://$W/ComponentTarget/i18npool/util/i18npool.component file://$W/ComponentTarget/i18npool/source/search/i18nsearch.component file://$W/ComponentTarget/linguistic/source/lng.component file://$W/ComponentTarget/oox/util/oox.component file://$W/ComponentTarget/package/source/xstor/xstor.component file://$W/ComponentTarget/package/util/package2.component file://$W/ComponentTarget/sax/source/expatwrap/expwrap.component file://$W/ComponentTarget/scaddins/source/analysis/analysis.component file://$W/ComponentTarget/scaddins/source/datefunc/date.component file://$W/ComponentTarget/sc/util/sc.component file://$W/ComponentTarget/sc/util/scfilt.component file://$W/ComponentTarget/sfx2/util/sfx.component file://$W/ComponentTarget/sot/util/sot.component file://$W/ComponentTarget/svl/util/svl.component file://$W/ComponentTarget/svtools/util/
>  svt.component file://$W/ComponentTarget/svx/util/svx.component file://$W/ComponentTarget/svx/util/svxcore.component file://$W/ComponentTarget/toolkit/util/tk.component file://$W/ComponentTarget/ucb/source/core/ucb1.component file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component file://$W/ComponentTarget/ucb/source/ucp/tdoc/ucptdoc1.component file://$W/ComponentTarget/unotools/util/utl.component file://$W/ComponentTarget/unoxml/source/rdf/unordf.component file://$W/ComponentTarget/unoxml/source/service/unoxml.component file://$W/ComponentTarget/uui/util/uui.component file://$W/ComponentTarget/vcl/vcl.common.component file://$W/ComponentTarget/xmloff/util/xo.component file://$W/ComponentTarget/xmlscript/util/xmlscript.component" -env:URE_INTERNAL_LIB_DIR=file://$I/program -env:LO_LIB_DIR=file://$I/program -env:LO_JAVA_DIR=file://$I/program/classes --protector $W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector --protector $W/LinkTarget/Library/unobootstrapp
>  rotector.so unobootstrapprotector   --protector $W/LinkTarget/Library/libvclbootstrapprotector.so vclbootstrapprotector   "-env:CPPUNITTESTTARGET=$W/CppunitTest/sc_array_functions_test.test"   ) 2>&1
> Testing load file:///<<PKGBUILDDIR>>//sc/qa/unit/data/functions/array/fods/fourier.fods:
> Tested load file:///<<PKGBUILDDIR>>//sc/qa/unit/data/functions/array/fods/fourier.fods: Pass (115ms)
> Testing load file:///<<PKGBUILDDIR>>//sc/qa/unit/data/functions/array/fods/frequency.fods:
> Tested load file:///<<PKGBUILDDIR>>//sc/qa/unit/data/functions/array/fods/frequency.fods: Pass (72ms)
> Testing load file:///<<PKGBUILDDIR>>//sc/qa/unit/data/functions/array/fods/growth.fods:
> Tested load file:///<<PKGBUILDDIR>>//sc/qa/unit/data/functions/array/fods/growth.fods: Pass (69ms)
> Testing load file:///<<PKGBUILDDIR>>//sc/qa/unit/data/functions/array/fods/linest.fods:
> ./sc/qa/unit/functions_test.cxx:43:ArrayFunctionsTest::testArrayFormulasFODS
> double equality assertion failed
> - Expected: 1
> - Actual  : 0
> - Delta   : 1e-14
>
> ArrayFunctionsTest::testArrayFormulasFODS finished in: 359ms
> functions_test.cxx:43:Assertion
> Test name: ArrayFunctionsTest::testArrayFormulasFODS
> double equality assertion failed
> - Expected: 1
> - Actual  : 0
> - Delta   : 1e-14
>
> Failures !!!
> Run: 1   Failure total: 1   Failures: 1   Errors: 0
> make[4]: *** [/<<PKGBUILDDIR>>/solenv/gbuild/CppunitTest.mk:113: /<<PKGBUILDDIR>>/workdir/CppunitTest/sc_array_functions_test.test] Error 1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: *** [Makefile:274: build] Error 2
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[2]: *** [/<<PKGBUILDDIR>>/debian/rules:2060: check] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [/<<PKGBUILDDIR>>/debian/rules:1942: debian/stampdir/build-arch] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:1916: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
>
Sounds like the same thing as

https://cgit.freedesktop.org/libreoffice/core/commit/?id=6cb20e0b298f41fe88984aebfe5454f936a0ae3a

which resulted in

--- snip ---

# Various function tests fail in 32-bit linux_x86 build due to dreaded
floating
# point weirdness (x87, registers, compiler optimization, ... whatever),
# disable them until someone finds a real cure.

ifneq ($(filter-out linux_aarch64 linux_x86,$(PLATFORMID)),)
$(eval $(call gb_Module_add_slowcheck_targets,sc, \
        CppunitTest_sc_functions_test_old \
        CppunitTest_sc_database_functions_test \
        CppunitTest_sc_array_functions_test \
        CppunitTest_sc_addin_functions_test \
        CppunitTest_sc_datetime_functions_test \
        CppunitTest_sc_financial_functions_test \
        CppunitTest_sc_information_functions_test \
        CppunitTest_sc_logical_functions_test \
        CppunitTest_sc_mathematical_functions_test \
        CppunitTest_sc_spreadsheet_functions_test \
        CppunitTest_sc_statistical_functions_test \
        CppunitTest_sc_text_functions_test \
))
endif

-- snip ---

upstream

Note i386 and arm64 is also disabled....


Regards,


Rene


Reply to: