Commit
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4f0b226600fdad4e5aef9313fe8754c765cfee42
Check for overflow in multiply
is causing a build error with Clang 4.0 and 5.0 x86. Reverting this commit resolves the error.
[build DEP] LNK:Library/libtllo.so
[build LNK] Library/libtllo.so
[build PKG] curl
/core/workdir/CxxObject/tools/source/generic/fract.o: In function `Fraction::operator*=(Fraction
const&)':
/core/tools/source/generic/fract.cxx:(.text+0x695): undefined reference to `__mulodi4'
/core/tools/source/generic/fract.cxx:(.text+0x70a): undefined reference to `__mulodi4'
[build CXX] svl/source/config/asiancfg.cxx
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
/core/tools/Library_tl.mk:20: recipe for target '/core/instdir/program/libtllo.so' failed
make[1]: *** [/core/instdir/program/libtllo.so] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from /core/svl/source/config/asiancfg.cxx:34:
In file included from /core/include/comphelper/configuration.hxx:15:
/core/external/boost/include/boost/optional.hpp:11:32: warning: unknown warning group
'-Wplacement-new', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wplacement-new"
^
In file included from /core/svl/source/config/asiancfg.cxx:34:
In file included from /core/include/comphelper/configuration.hxx:15:
In file included from /core/external/boost/include/boost/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional.hpp:15:
/core/external/boost/include/boost/optional/optional.hpp:11:32: warning: unknown warning group
'-Wplacement-new', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wplacement-new"
^
In file included from /core/svl/source/config/asiancfg.cxx:34:
In file included from /core/include/comphelper/configuration.hxx:15:
In file included from /core/external/boost/include/boost/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional.hpp:15:
In file included from /core/external/boost/include/boost/optional/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional/optional.hpp:24:
In file included from /core/workdir/UnpackedTarball/boost/boost/core/addressof.hpp:15:
/core/external/boost/include/boost/config.hpp:11:32: warning: unknown warning group
'-Wplacement-new', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wplacement-new"
^
In file included from /core/svl/source/config/asiancfg.cxx:34:
In file included from /core/include/comphelper/configuration.hxx:15:
In file included from /core/external/boost/include/boost/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional.hpp:15:
In file included from /core/external/boost/include/boost/optional/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional/optional.hpp:29:
/core/external/boost/include/boost/static_assert.hpp:11:32: warning: unknown warning group
'-Wplacement-new', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wplacement-new"
^
In file included from /core/svl/source/config/asiancfg.cxx:34:
In file included from /core/include/comphelper/configuration.hxx:15:
In file included from /core/external/boost/include/boost/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional.hpp:15:
In file included from /core/external/boost/include/boost/optional/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional/optional.hpp:32:
In file included from /core/workdir/UnpackedTarball/boost/boost/type_traits/alignment_of.hpp:15:
In file included from /core/workdir/UnpackedTarball/boost/boost/type_traits/intrinsics.hpp:16:
In file included from /core/workdir/UnpackedTarball/boost/boost/type_traits/detail/config.hpp:15:
/core/external/boost/include/boost/version.hpp:11:32: warning: unknown warning group
'-Wplacement-new', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wplacement-new"
^
In file included from /core/svl/source/config/asiancfg.cxx:34:
In file included from /core/include/comphelper/configuration.hxx:15:
In file included from /core/external/boost/include/boost/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional.hpp:15:
In file included from /core/external/boost/include/boost/optional/optional.hpp:22:
In file included from /core/workdir/UnpackedTarball/boost/boost/optional/optional.hpp:47:
/core/external/boost/include/boost/none.hpp:11:32: warning: unknown warning group
'-Wplacement-new', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wplacement-new"
^
6 warnings generated.
Makefile:264: recipe for target 'build' failed
make: *** [build] Error 2
Context
- Link error: undefined reference to `__mulodi4' with Clang 32-bit · Luke Benes
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.