From nobody Fri Feb 24 00:23:50 2023 X-Original-To: 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 4PN9c703zZz3t007 for ; Fri, 24 Feb 2023 00:23:51 +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 4PN9c65Yqwz414l for ; Fri, 24 Feb 2023 00:23:50 +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=1677198230; 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=8VZJ545W1Ap0eiMqwdFOTCK+tj+yk2eA3rBWTq6PsHA=; b=IO+mgaceUtVbMmVlzeW01SGsNG14dnwhaAndIXKGLuvdx4NseQSH1Bt5vbguRzf6/fY748 7KyfPkExDLgAki47/y+8n5hmWN07mhNgWFzIpr7c8/TtcY1KzIXJbZm+cUrekJRJeSG6bi EUJb1/Y3B8NDVWwzGgQ6JJ+zL2yF3okyf498L08etyBs6NwfkWDJvXtA1ZxkplxDbq7Csf gvdc5v8SVaPpCOUr45iPQgLSRClNqFc6uCWUOq0E5Awi9qMuhtqvQjVg59abVlo3JVwgtx 2CB+wNx7AV8LFH9UUbLgr6uoS5cVoDclmrG/pY9pwIUKA4mlDcZ4R3DXsEWf5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677198230; a=rsa-sha256; cv=none; b=H0uFykIUg3O023BYml6CK/JQyP/dzA888r/6S1O8xJ+nBqmyNQmJhmJkzBVyxMgFfaNVm/ rbRyZL8imyqzisGD3G6iSb9+bfRyH73G8QylUB2gOT94K+6kWlhJtuPHoKLlNoQPDo96fk 72pCeYwlmx4361eHBeypdrZHgFjvtVX5y3jvyqhcIldWkIStRtc75iyHW5agT8oUVYHSHu tD/rzo/7jNIKdgSn6zFhdvwPn3DdqFUDTLrkIZsDkrD8ZWnb7zWfvxfjpungeCse+74TDZ wTcl3eYbCzhzrA7Cx4b6rtiFKRJLi3UKDmFxtOPC3W6J973TnS4AO4guKRlQeA== 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 4PN9c64gF9z13K7 for ; Fri, 24 Feb 2023 00:23:50 +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 31O0NoNi059267 for ; Fri, 24 Feb 2023 00:23:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31O0NoAe059266 for bugs@FreeBSD.org; Fri, 24 Feb 2023 00:23:50 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: bugs@FreeBSD.org Subject: [Bug 269792] 13.2-BETA2: sigILL: lzma does not compile to westmere Date: Fri, 24 Feb 2023 00:23:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pmc@citylink.dinoex.sub.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269792 Bug ID: 269792 Summary: 13.2-BETA2: sigILL: lzma does not compile to westmere Product: Base System Version: 13.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pmc@citylink.dinoex.sub.org Target is i3-540 (westmere) Build machine is E5-2660v3 (haswell) - but that's not relevant. Result is this: # ./xz < /dev/zero > /dev/null=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 Illegal instruction (core dumped)=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 Wikipedia says that the i3-540 is westmere. The compiler itself, when configured CPUTYPE?=3Dnative, says that the chip is westmere (but it shows a lot of more detailed flags in addition). But when then compiling for cpu westmere, the code is defect. (Compiling on-site with cpu "native", gives working code.) Bottomline: one cannot currently compile for target westmere on a build machine. $ /usr/bin/env -i /usr/bin/clang -v -x c -march=3D3Dnative -fsyntax-only -= o =3D /dev/null /dev/null 2>&1 FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvm= =3D org-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin (in-process) "/usr/bin/clang" -cc1 -triple x86_64-unknown-freebsd13.2 -fsyntax-only -di= =3D sable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-= =3D names -main-file-name null -mrelocation-model static -mframe-pointer=3D3Dal= l =3D -ffp-contract=3D3Don -fno-rounding-math -mconstructor-aliases -funwind-tabl= es=3D =3D3D2 -target-cpu westmere -target-feature -avx512pf -target-feature -tsxl= dt=3D rk -target-feature +cx16 -target-feature +sahf -target-feature -tbm -target= =3D -feature -avx512ifma -target-feature -sha -target-feature +crc32 -target-fe= =3D ature -fma4 -target-feature -vpclmulqdq -target-feature -prfchw -target-fea= =3D ture -bmi2 -target-feature -cldemote -target-feature -fsgsbase -target-feat= =3D ure -ptwrite -target-feature -amx-tile -target-feature -uintr -target-featu= =3D re -gfni -target-feature +popcnt -target-feature -widekl -target-feature -a= =3D es -target-feature -avx512bitalg -target-feature -movdiri -target-feature -= =3D xsaves -target-feature -avx512er -target-feature -avxvnni -target-feature -= =3D avx512fp16 -target-feature -avx512vnni -target-feature -amx-bf16 -target-fe= =3D ature -avx512vpopcntdq -target-feature -pconfig -target-feature -clwb -targ= =3D et-feature -avx512f -target-feature -xsavec -target-feature -clzero -target= =3D -feature -pku -target-feature +mmx -target-feature -lwp -target-feature -rd= =3D pid -target-feature -xop -target-feature -rdseed -target-feature -waitpkg -= =3D target-feature -kl -target-feature -movdir64b -target-feature -sse4a -targe= =3D t-feature -avx512bw -target-feature -clflushopt -target-feature -xsave -tar= =3D get-feature -avx512vbmi2 -target-feature +64bit -target-feature -avx512vl -= =3D target-feature -serialize -target-feature -hreset -target-feature -invpcid = =3D -target-feature -avx512cd -target-feature -avx -target-feature -vaes -targe= =3D t-feature -avx512bf16 -target-feature +cx8 -target-feature -fma -target-fea= =3D ture -rtm -target-feature -bmi -target-feature -enqcmd -target-feature -rdr= =3D nd -target-feature -mwaitx -target-feature +sse4.1 -target-feature +sse4.2 = =3D -target-feature -avx2 -target-feature +fxsr -target-feature -wbnoinvd -targ= =3D et-feature +sse -target-feature -lzcnt -target-feature -pclmul -target-feat= =3D ure -prefetchwt1 -target-feature -f16c -target-feature +ssse3 -target-featu= =3D re -sgx -target-feature -shstk -target-feature +cmov -target-feature -avx51= =3D 2vbmi -target-feature -amx-int8 -target-feature -movbe -target-feature -avx= =3D 512vp2intersect -target-feature -xsaveopt -target-feature -avx512dq -target= =3D -feature +sse2 -target-feature -adx -target-feature +sse3 -mllvm -treat-sca= =3D lable-fixed-error-as-warning -debugger-tuning=3D3Dgdb -v -fcoverage-compila= ti=3D on-dir=3D3D/home/operator -resource-dir /usr/lib/clang/14.0.5 -fdebug-compi= la=3D tion-dir=3D3D/home/operator -ferror-limit 19 -fgnuc-version=3D3D4.2.1 -fadd= rsig=3D -D__GCC_HAVE_DWARF2_CFI_ASM=3D3D1 -x c /dev/null clang -cc1 version 14.0.5 based upon LLVM 14.0.5 default target x86_64-unkn= =3D own-freebsd13.2 #include "..." search starts here: #include <...> search starts here: /usr/lib/clang/14.0.5/include /usr/include End of search list. $ /usr/bin/env -i /usr/bin/clang -v -x c -march=3D3Dwestmere -fsyntax-only= -=3D o /dev/null /dev/null 2>&1 FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvm= =3D org-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin (in-process) "/usr/bin/clang" -cc1 -triple x86_64-unknown-freebsd13.2 -fsyntax-only -di= =3D --=20 You are receiving this mail because: You are the assignee for the bug.=