[Bug 273286] editors/libreoffice: fails to build (on core2duo t7800)?
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 273286] editors/libreoffice: fails to build (on core2duo t7800)?"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273286] editors/libreoffice: fails to build (on core2duo t7800)?"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273286] editors/libreoffice: fails to build (on core2duo t7800)?"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273286] editors/libreoffice: fails to build (on core2duo t7800)?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Aug 2023 12:52:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273286
Bug ID: 273286
Summary: editors/libreoffice: fails to build (on core2duo
t7800)?
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: office@FreeBSD.org
Reporter: vsasjason@gmail.com
Flags: maintainer-feedback?(office@FreeBSD.org)
Assignee: office@FreeBSD.org
Created attachment 244281
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244281&action=edit
poudriere build log
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="GenuineIntel" Id=0x6fb Family=0x6 Model=0xf Stepping=11
[7]
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
[7] Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
[7] AMD Features=0x20100800<SYSCALL,NX,LM>
[7] AMD Features2=0x1<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/UnpackedTarball/skia/src/opts/SkOpts_sse42.cpp
|| (echo "Missing generated source file
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/UnpackedTarball/skia/src/opts/SkOpts_sse42.cpp"
&& false)
S=/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2 &&
I=$S/instdir && W=$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=1 CCACHE_DEPEND=1 c++ -DBOOST_ERROR_CODE_HEADER_ONLY
-DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DFREEBSD -DNDEBUG
-DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -isystem
/usr/local/include -DSKIA_IMPLEMENTATION=1 -DSKIA_DLL
-DSK_USER_CONFIG_HEADER="<$S/config_host/config_skia.h>" -DSYSTEM_EXPAT
-DSYSTEM_ZLIB -DZLIB_CONST -fvisibility=hidden -Wall -Wno-missing-braces
-Wendif-labels -Wextra -Wundef -Wunreachable-code -Wshadow -Wunused-macros
-Wembedded-directive -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe
-fstack-protector-strong -Wdeprecated-copy-dtor -Wimplicit-fallthrough
-Wunused-exception-parameter -Wrange-loop-analysis -fvisibility-inlines-hidden
-fPIC -Woverloaded-virtual -Wno-c++11-narrowing -Wno-unused-parameter
-Wno-unused-local-typedefs -std=c++17 -pthread -O3 -pipe -march=native
-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
-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/inc/
In file included from
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/UnpackedTarball/skia/src/opts/SkOpts_sse42.cpp:11:
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/UnpackedTarball/skia/src/opts/SkChecksum_opts.h:25:16:
error: always_inline function '_mm_crc32_u64' requires target feature 'crc32',
but would be inlined into function 'crc32c_8' that is compiled without support
for 'crc32'
return _mm_crc32_u64(seed, v);
^
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/UnpackedTarball/skia/src/opts/SkChecksum_opts.h:22:66:
error: always_inline function '_mm_crc32_u32' requires target feature 'crc32',
but would be inlined into function 'crc32c_4' that is compiled without support
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/UnpackedTarball/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 support
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/gbuild/LinkTarget.mk:404:
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.5.5.2/workdir/GenCxxObject/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
--
You are receiving this mail because:
You are the assignee for the bug.