Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2023 12:52:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 273286] editors/libreoffice: fails to build (on core2duo t7800)?
Message-ID:  <bug-273286-25061-LpKUTuJAzp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273286-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273286-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked FreeBSD Office Team
<office@FreeBSD.org> for maintainer-feedback:
Bug 273286: editors/libreoffice: fails to build (on core2duo t7800)?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273286



--- Description ---
I have the following CPU:
[7] CPU: Intel(R) Core(TM)2 Duo CPU	T7800  @ 2.60GHz (2593.50-MHz K8-class
CPU)
[7]   Origin=3D"GenuineIntel"  Id=3D0x6fb  Family=3D0x6  Model=3D0xf  Stepp=
ing=3D11
[7]=20=20
Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
MCA,CM
OV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
[7]   Features2=3D0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR=
,PDCM>
[7]   AMD Features=3D0x20100800<SYSCALL,NX,LM>
[7]   AMD Features2=3D0x1<LAHF>
[7]   VT-x: HLT,PAUSE
[7]   TSC: P-state invariant, performance statistics

Building libreoffice fails in poudriere on crc32, which I believe is a part=
 of
SSE4.2 while this CPU doesn't even have those instructions:

[build CXX] workdir/UnpackedTarball/skia/src/opts/SkOpts_sse42.cpp
test -f
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/Unp=
acke
dTarball/skia/src/opts/SkOpts_sse42.cpp
|| (echo "Missing generated source file
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/Unp=
acke
dTarball/skia/src/opts/SkOpts_sse42.cpp"
&& false)
S=3D/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2 &&
I=3D$S/instdir && W=3D$S/workdir &&  mkdir -p
$W/GenCxxObject/UnpackedTarball/skia/src/opts/
$W/Dep/GenCxxObject/UnpackedTarball/skia/src/opts/ && cd
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2 &&
CCACHE_CPP2=3D1  CCACHE_DEPEND=3D1		c++ -DBOOST_ERROR_CODE_HEADER_ONLY
-DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=3Dgcc3 -DFREEBSD -DNDEBUG
-DOSL_DEBUG_LEVEL=3D0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -isyst=
em
/usr/local/include -DSKIA_IMPLEMENTATION=3D1 -DSKIA_DLL
-DSK_USER_CONFIG_HEADER=3D"<$S/config_host/config_skia.h>"  -DSYSTEM_EXPAT=
=20
-DSYSTEM_ZLIB -DZLIB_CONST   -fvisibility=3Dhidden    -Wall -Wno-missing-br=
aces
-Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros
-Wembedded-directive -finput-charset=3DUTF-8 -fmessage-length=3D0 -fno-comm=
on -pipe
-fstack-protector-strong  -Wdeprecated-copy-dtor -Wimplicit-fallthrough
-Wunused-exception-parameter -Wrange-loop-analysis -fvisibility-inlines-hid=
den
-fPIC -Woverloaded-virtual -Wno-c++11-narrowing  -Wno-unused-parameter
-Wno-unused-local-typedefs -std=3Dc++17 -pthread	-O3 -pipe -march=3Dnative
-DLDAP_DEPRECATED -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -isystem /usr/local/include   -msse4.2	-DEXCEPTIONS_ON
-fexceptions -O2   -w -DLIBO_INTERNAL_ONLY  -c
$W/UnpackedTarball/skia/src/opts/SkOpts_sse42.cpp -o
$W/GenCxxObject/UnpackedTarball/skia/src/opts/SkOpts_sse42.o  -I$S/include=
=20
-I$S/config_host     -isystem /usr/local/include/freetype2	-isystem
/usr/local/include -isystem /usr/local/include/freetype2	   -isystem
/usr/local/include/libpng16   -I$W/UnpackedTarball/skia
-I$W/UnpackedTarball/skia/include/third_party/skcms/
-I$W/UnpackedTarball/skia/third_party/vulkanmemoryallocator/
-I$W/UnpackedTarball/skia/include/third_party/vulkan/ -I$S/external/skia/in=
c/=20=20

In file included from
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/Unp=
acke
dTarball/skia/src/opts/SkOpts_sse42.cpp:11:
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/Unp=
acke
dTarball/skia/src/opts/SkChecksum_opts.h:25:16:
error: always_inline function '_mm_crc32_u64' requires target feature 'crc3=
2',
but would be inlined into function 'crc32c_8' that is compiled without supp=
ort
for 'crc32'
	return _mm_crc32_u64(seed, v);
	       ^
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/Unp=
acke
dTarball/skia/src/opts/SkChecksum_opts.h:22:66:
error: always_inline function '_mm_crc32_u32' requires target feature 'crc3=
2',
but would be inlined into function 'crc32c_4' that is compiled without supp=
ort
for 'crc32'
    static uint32_t crc32c_4(uint32_t seed, uint32_t v) { return
_mm_crc32_u32(seed, v); }
								 ^
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/Unp=
acke
dTarball/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[2]: ***
[/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/solenv/gbu=
ild/
LinkTarget.mk:404:
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/Gen=
CxxO
bject/UnpackedTarball/skia/src/opts/SkOpts_sse42.o]
Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2'
gmake[1]: *** [Makefile:289: build] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2'
*** Error code 1

Stop.

Attaching full poudriere build log as well.
make: stopped in /usr/ports/editors/libreoffice



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