Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2022 11:08:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264750] multimedia/aom fails compilation with base llvm (14) on penryn (no crc32 /sse42)
Message-ID:  <bug-264750-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 264750
           Summary: multimedia/aom fails compilation with base llvm (14)
                    on penryn (no crc32 /sse42)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: jakub_lach@mailplus.pl
          Assignee: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)

FreeBSD 13.1-STABLE #0 stable/13-862668c48 amd64

$ cc -v
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git
llvmorg-14.0.5-0-gc12386ae247c)
Target: x86_64-unknown-freebsd13.1
Thread model: posix
InstalledDir: /usr/bin



FAILED:
CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.=
c.o=20=20
/usr/bin/cc  -I/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0
-I/usr/obj/usr/ports/multimedia/aom/work/.build
-I/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/apps
-I/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/common
-I/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/examples
-I/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/stats
-I/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/third_party/libyuv/inclu=
de
-I/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/third_party/libwebm -O2
-pipe -march=3Dnative  -fstack-protector-strong -fno-strict-aliasing -O2 -p=
ipe
-march=3Dnative -fstack-protector-strong -fno-strict-aliasing -std=3Dc99 -W=
all
-Wdisabled-optimization -Wextra -Wextra-semi -Wextra-semi-stmt
-Wfloat-conversion -Wformat=3D2 -Wimplicit-function-declaration -Wpointer-a=
rith
-Wshorten-64-to-32 -Wsign-compare -Wstring-conversion -Wtype-limits
-Wuninitialized -Wunused -Wvla -Wshadow -Wundef -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=3D0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -fPIC -m=
sse4.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=20=20
CMakeFiles/aom_av1_encoder_sse42_intrinsics.dir/av1/encoder/x86/hash_sse42.=
c.o
-c
/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/av1/encoder/x86/hash_sse42=
.c=20=20=20
/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/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'=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
    crc =3D _mm_crc32_u8(crc, *buf);=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=20=20=20=20=20=20=20=20=20
/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/av1/encoder/x86/hash_sse42=
.c:44:12:
error: always_inline function '_mm_crc32_u64' requires target feature 'crc3=
2',
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)
           ^
/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/av1/encoder/x86/hash_sse42=
.c:47:12:
error: always_inline function '_mm_crc32_u32' requires target feature 'crc3=
2',
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)
           ^
/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/av1/encoder/x86/hash_sse42=
.c:48:12:
error: always_inline function '_mm_crc32_u16' requires target feature 'crc3=
2',
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)
           ^
/usr/obj/usr/ports/multimedia/aom/work/aom-3.4.0/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.

--=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-264750-7788>