[Bug 273284] multimedia/aom: fails to build (on core2duo t7800)?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Aug 2023 12:31:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273284 Bug ID: 273284 Summary: multimedia/aom: 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: jbeich@FreeBSD.org Reporter: vsasjason@gmail.com Flags: maintainer-feedback?(jbeich@FreeBSD.org) Assignee: jbeich@FreeBSD.org Created attachment 244279 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=244279&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 aom fails in poudriere on SSE4.2-related file while this CPU doesn't even have those instructions: [ 81% 358/441] /usr/local/libexec/ccache/cc -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1 -I/wrkdirs/usr/ports/multimedia/aom/work/.build -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/apps -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/common -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/examples -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/stats -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/third_party/libyuv/include -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/third_party/libwebm -O3 -pipe -march=native -fstack-protector-strong -fno-strict-aliasing -O3 -pipe -march=native -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c99 -Wall -Wdisabled-optimization -Wextra -Wextra-semi -Wextra-semi-stmt -Wfloat-conversion -Wformat=2 -Wimplicit-function-declaration -Wpointer-arith -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wstring-conversion -Wtype-limits -Wuninitialized -Wunreachable-code-aggressive -Wunused -Wvla -Wundef -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -msse4.2 -MD -MT CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.c.o -MF CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.c.o.d -o CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.c.o -c /wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/av1/encoder/x86/hash_sse42.c FAILED: CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.c.o /usr/local/libexec/ccache/cc -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1 -I/wrkdirs/usr/ports/multimedia/aom/work/.build -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/apps -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/common -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/examples -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/stats -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/third_party/libyuv/include -I/wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/third_party/libwebm -O3 -pipe -march=native -fstack-protector-strong -fno-strict-aliasing -O3 -pipe -march=native -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=c99 -Wall -Wdisabled-optimization -Wextra -Wextra-semi -Wextra-semi-stmt -Wfloat-conversion -Wformat=2 -Wimplicit-function-declaration -Wpointer-arith -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wstring-conversion -Wtype-limits -Wuninitialized -Wunreachable-code-aggressive -Wunused -Wvla -Wundef -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -msse4.2 -MD -MT CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.c.o -MF CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.c.o.d -o CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.c.o -c /wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/av1/encoder/x86/hash_sse42.c /wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/av1/encoder/x86/hash_sse42.c:39:11: error: always_inline function '_mm_crc32_u8' requires target feature 'crc32', but would be inlined into function 'av1_get_crc32c_value_sse4_2' that is compiled without support for 'crc32' crc = _mm_crc32_u8(crc, *buf); ^ /wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/av1/encoder/x86/hash_sse42.c:44:12: error: always_inline function '_mm_crc32_u64' requires target feature 'crc32', but would be inlined into function 'av1_get_crc32c_value_sse4_2' that is compiled without support for 'crc32' CALC_CRC(_mm_crc32_u64, crc64, uint64_t, buf, len) ^ /wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/av1/encoder/x86/hash_sse42.c:47:12: error: always_inline function '_mm_crc32_u32' requires target feature 'crc32', but would be inlined into function 'av1_get_crc32c_value_sse4_2' that is compiled without support for 'crc32' CALC_CRC(_mm_crc32_u32, crc, uint32_t, buf, len) ^ /wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/av1/encoder/x86/hash_sse42.c:48:12: error: always_inline function '_mm_crc32_u16' requires target feature 'crc32', but would be inlined into function 'av1_get_crc32c_value_sse4_2' that is compiled without support for 'crc32' CALC_CRC(_mm_crc32_u16, crc, uint16_t, buf, len) ^ /wrkdirs/usr/ports/multimedia/aom/work/aom-3.7.0-rc1/av1/encoder/x86/hash_sse42.c:49:12: error: always_inline function '_mm_crc32_u8' requires target feature 'crc32', but would be inlined into function 'av1_get_crc32c_value_sse4_2' that is compiled without support for 'crc32' CALC_CRC(_mm_crc32_u8, crc, uint8_t, buf, len) ^ 5 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Attaching full poudriere build log as well. -- You are receiving this mail because: You are the assignee for the bug.