From nobody Tue Nov 28 10:24:01 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sfdpp521vz52Cbs for ; Tue, 28 Nov 2023 10:24:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sfdpp1yrTz4N68 for ; Tue, 28 Nov 2023 10:24:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701167042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kuMobaoMZCPIWV7bi+CXEqsuQytDLPE0JI8AjLBdY8U=; b=U0yXPhKH8Jhl2hzwnuQL+d9gm+o3QkaA84gcjtlL7LpbCHr8CkruvZte54gQF0IDdS+G1F oNypCLOO8g9jYQ5rvyknsA8NjQqx08nHFWK2eaBeb8Lhn6frJmmm7WtLk5p4bH2q+R1y5g OkH5/MO32bYZS5O4tOSnC9KgBubRvFeLhrfjQDEsTk2HUWclJqJuB48qFXgusMo44NOAYX jASmuv7e353s0Oc61/vETJRDSFWBpuBG/VPDZdf9KTJrz0MVeNuDIOqiyPaURxVqFm+Sm5 +5sVnR5KYv3jy3v3ose4OxBmPlm38/82CZXuuQCNxtdngZk+X887KneVQorcxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701167042; a=rsa-sha256; cv=none; b=MhX7YGq6+YBEEfb+liwF1N74+CABrqs96ff+mQ/sQmZ7cdJDzPE28q6UBRkXqyFKC0669j mzlOaQ/aDTDWbdDXULyTsB28qlFQ0U3qNyze6oF/0KlaDFDToPi9SrCYROSwrui+wTaYtR atYpwqt19Rg+i03Vz5QvwDlKtsehe53dYxbVtY4uQiFGVIJQfnj/Fz8TLuLkJU915WImLI d665BkoKtOPDol4eZBU8ISjLOAeLxpKnLrs2e94SZVXb7dgYWtismMmwEQKb1FXh2qANp/ 5c4GHOmdVCufEAAIpSdp70qZu7mdpSq2/N4cjDnjDtN4FkizstD58uwTcfIAyQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sfdpp11lMz3DM for ; Tue, 28 Nov 2023 10:24:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ASAO2Za026279 for ; Tue, 28 Nov 2023 10:24:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ASAO2Mu026278 for ports-bugs@FreeBSD.org; Tue, 28 Nov 2023 10:24:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275404] databases/mysql80-server build error on old cpu - always_inline function '_mm_crc32_u16' requires target feature 'crc32' Date: Tue, 28 Nov 2023 10:24:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: viktor.stujber+freebsd-bugs_v4CCPfay@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275404 Bug ID: 275404 Summary: databases/mysql80-server build error on old cpu - always_inline function '_mm_crc32_u16' requires target feature 'crc32' Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: viktor.stujber+freebsd-bugs_v4CCPfay@gmail.com Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org mysql80-server 8.0.35 source build fails on freshly built FreeBSD 14.0-RELE= ASE on an intel atom (2010) cpu. My first guess is that it's force-targeting a newer cpu, or it's using cpu intrinsics directly without checking first. Leaving CPUTYPE unset has no effect. Previously I have built 8.0.32 on 13.1 without any issues. --- storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o --- [ 37%] Building CXX object storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o cd /tmp/build/work/usr/ports/databases/mysql80-server/work/.build/storage/inno= base && /usr/bin/c++ -DBOOST_NO_CXX98_FUNCTION_BASE -DCOMPILER_HINTS -DDISABLE_PSI_MEMORY -DHAVE_CONFIG_H -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=3D1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=3D1 -DHAVE_LZ4=3D1 -DHAVE_NANOSLEEP=3D1 -DHAVE_SCHED_GETCPU=3D1 -DLOG_SUBSYSTEM_TAG=3D\"InnoDB\" -DLZ4_DISABLE_DEPRECATE_WARNINGS -DMUTEX_EVENT -DPFS_DIRECT_CALL -DRAPIDJSON_NO_SIZETYPEDEFINE -DRAPIDJSON_SCHEMA_USE_INTERNALREGEX=3D0 -DRAPIDJSON_SCHEMA_USE_STDREGEX=3D1 -DUNIV_LIBRARY -DUNIV_NO_ERR_MSGS -D_USE_MATH_DEFINES -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/build/work/usr/ports/databases/mysql80-server/work/.build -I/tmp/build/work/usr/ports/databases/mysql80-server/work/.build/include -I/tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35 -I/tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/incl= ude -I/tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/stor= age/innobase -I/tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/stor= age/innobase/include -I/tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/stor= age/innobase/handler -I/tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/sql -I/tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/sql/= auth -isystem /tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/extra/= protobuf/protobuf-3.19.4/src -isystem /usr/local/include/editline -isystem /tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/extra/= rapidjson/include -isystem /tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/extra/= zlib/zlib-1.2.13 -isystem /tmp/build/work/usr/ports/databases/mysql80-server/work/.build/extra/zlib/z= lib-1.2.13 -std=3Dc++17 -fno-omit-frame-pointer -ftls-model=3Dinitial-exec -O2 -pipe = -fPIC -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing= =20=20 -malign-double -isystem /usr/local/include -std=3Dc++17 -Wall -Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute -Woverloaded-vir= tual -Wcast-qual -Wno-null-conversion -Wno-unused-private-field -Wconditional-uninitialized -Wdeprecated -Wextra-semi -Wheader-hygiene -Wnon-virtual-dtor -Wundefined-reinterpret-cast -Wrange-loop-analysis -Winconsistent-missing-destructor-override -Winconsistent-missing-override -Wshadow-field -Wno-unused-parameter -Wno-cast-qual -ffunction-sections -fdata-sections -O2 -pipe -fPIC -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -malign-double -isystem /usr/local/include -std=3Dc++17 -DNDEBUG -fPIC -MD -MT storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o -MF CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o.d -o CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o -c /tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/storag= e/innobase/ut/crc32.cc /tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/storag= e/innobase/ut/crc32.cc:448:10: error: always_inline function '_mm_crc32_u16' requires target feature 'crc3= 2', but would be inlined into function 'update' that is compiled without support for 'crc32' return _mm_crc32_u16(crc, data); ^ /tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/storag= e/innobase/ut/crc32.cc:452:10: error: always_inline function '_mm_crc32_u32' requires target feature 'crc3= 2', but would be inlined into function 'update' that is compiled without support for 'crc32' return _mm_crc32_u32(crc, data); ^ /tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/storag= e/innobase/ut/crc32.cc:456:10: error: always_inline function '_mm_crc32_u64' requires target feature 'crc3= 2', but would be inlined into function 'update' that is compiled without support for 'crc32' return _mm_crc32_u64(crc, data); ^ /tmp/build/work/usr/ports/databases/mysql80-server/work/mysql-8.0.35/storag= e/innobase/ut/crc32.cc:444:10: error: always_inline function '_mm_crc32_u8' requires target feature 'crc32= ', but would be inlined into function 'update' that is compiled without support for 'crc32' return _mm_crc32_u8(crc, data); ^ 4 errors generated. *** [storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o] Er= ror code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=