Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2022 13:04:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 263976] editors/libreoffice: Fails to build if LLVM_DEFAULT=90 (default) and LTO=on (non-default)
Message-ID:  <bug-263976-25061-HMMlHTsDOo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263976-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263976-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263976

--- Comment #16 from jakub_lach@mailplus.pl ---
(In reply to jakub_lach from comment #15)

With llvm14 from ports it fails too -=20

In file included from
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/Unp=
ackedTarball/skia/src/opts/SkOpts_sse42.cpp:11:=20
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/Unp=
ackedTarball/skia/src/o
                                   pts/SkChecksum_opts.h:25:16: error:
always_inline function '_mm_crc32_u64' requires target feature=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
                   'crc32', but would be inlined into function 'crc32c_8' t=
hat
is compiled without support for 'crc3=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
                2'=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
        return _mm_crc32_u64(seed, v);=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
               ^=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/Unp=
ackedTarball/skia/src/o
                                  pts/SkChecksum_opts.h:22:66: error:
always_inline function '_mm_crc32_u32' requires target feature=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
                  'crc32', but would be inlined into function 'crc32c_4' th=
at
is compiled without support for 'crc3=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                                      2'=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
    static uint32_t crc32c_4(uint32_t seed, uint32_t v) { return
_mm_crc32_u32(seed, v); }=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                                                                 ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/Unp=
ackedTarball/skia/src/opts/SkChecksum_opts.h:21:66:
error: always_inline function '_mm_crc32_u8' requires target feature 'crc32=
',
but would be inlined into function 'crc32c_1' that is compiled without supp=
ort
for 'crc32'
    static uint32_t crc32c_1(uint32_t seed, uint8_t  v) { return
_mm_crc32_u8(seed, v); }
                                                                 ^
3 errors generated.
gmake[3]: ***
[/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/solenv/gbu=
ild/LinkTarget.mk:400:
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-7.3.3.2/workdir/Gen=
CxxObject/UnpackedTarball/skia/src/opts/SkOpts_sse42.o]
Error 1
gmake[3]: *** Waiting for unfinished jobs....


FWI - Penryn (here) does not have sse42

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263976-25061-HMMlHTsDOo>