From nobody Sun Apr 16 18:32:43 2023 X-Original-To: stable@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 4PzzMG084rz45nbp for ; Sun, 16 Apr 2023 18:32:58 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4PzzMC35q6z47jm for ; Sun, 16 Apr 2023 18:32:54 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Authentication-Results: mx1.freebsd.org; dkim=none; spf=permerror (mx1.freebsd.org: domain of freebsdlists@bsdunix.ch uses mechanism not recognized by this client) smtp.mailfrom=freebsdlists@bsdunix.ch; dmarc=none Received: from [192.168.1.151] (dynamic-82-220-88-108.ftth.solnet.ch [82.220.88.108]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.bsdunix.ch (Postfix) with ESMTPSA id 4PzzM22tyrzTF2 for ; Sun, 16 Apr 2023 18:32:46 +0000 (UTC) Message-ID: Date: Sun, 16 Apr 2023 20:32:43 +0200 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 To: stable@freebsd.org From: Tom Vogt Subject: stable does not compile, llvm error Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-1.57 / 15.00]; NEURAL_HAM_LONG(-0.98)[-0.981]; NEURAL_HAM_MEDIUM(-0.34)[-0.338]; NEURAL_HAM_SHORT(-0.26)[-0.256]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[stable@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:9044, ipnet:82.220.0.0/16, country:CH]; R_SPF_PERMFAIL(0.00)[empty SPF record]; DMARC_NA(0.00)[bsdunix.ch: no valid DMARC record]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PzzMC35q6z47jm X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N Hi, I try to compile the latest 13 stable version but it fails with an llvm error. My working version is: 13.2-STABLE stable/13-3cea7ca84 GENERIC amd64 The version I try o compile is: git show -s commit 3e9d966ce45e3971c295a1dff7435d6b9f1321da (grafted, HEAD -> stable/13, origin/stable/13) Compile: make -j `sysctl -n hw.ncpu` buildworld buildkernel && make installkernel Error: cc -O2 -pipe -fno-common -I/usr/obj/usr/src/amd64.amd64/tmp/obj-tools/lib/clang/libllvm -I/usr/src/contrib/llvm-project/llvm/lib/Target/X86 -I/usr/src/contrib/llvm-project/llvm/lib/ObjCopy -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.2\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.2\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/amd64.amd64/tmp\" -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -MD -MF.depend.Support_BLAKE3_blake3.o -MTSupport/BLAKE3/blake3.o -std=gnu99 -Wno-format-zero-length -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -I/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/include -c /usr/src/contrib/llvm-project/llvm/lib/Support/BLAKE3/blake3.c -o Support/BLAKE3/blake3.o In file included from /usr/src/contrib/llvm-project/llvm/lib/Support/BLAKE3/blake3.c:13: /usr/src/contrib/llvm-project/llvm/lib/Support/BLAKE3/blake3_impl.h:61:10: fatal error: 'immintrin.h' file not found #include ^~~~~~~~~~~~~ 1 error generated. *** [Support/BLAKE3/blake3.o] Error code 1 make[4]: stopped in /usr/src/lib/clang/libllvm My environment: /etc/src-env.conf WITHOUT_BLUETOOTH=YES WITHOUT_DEBUG_FILES=YES WITHOUT_FINGER=YES WITHOUT_SPLIT_KERNEL_DEBUG=YES WITHOUT_ATM=yes WITHOUT_IPX=yes WITHOUT_WIRELESS=yes WITHOUT_GAMES=yes WITHOUT_BIND=yes WITHOUT_PROFILE=yes WITHOUT_SENDMAIL=yes WITHOUT_TCP_WRAPPERS=yes /etc/make.conf DEFAULT_VERSIONS+=ssl=openssl kldstat Id Refs Address Size Name 1 30 0xffffffff80200000 2141ee0 kernel 2 1 0xffffffff82342000 3348 cc_cubic.ko 3 1 0xffffffff82346000 a5e8 cryptodev.ko 4 1 0xffffffff82351000 47c18 ipfw.ko 5 1 0xffffffff82399000 59ff20 zfs.ko 6 1 0xffffffff82939000 3948 cc_htcp.ko 7 1 0xffffffff83ae5000 d9b0 geom_eli.ko 8 1 0xffffffff83af3000 3250 ichsmb.ko 9 1 0xffffffff83af7000 2180 smbus.ko 10 1 0xffffffff83afa000 4700 nullfs.ko Any idea? Regards, Tom