From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 0763380474 for ; Tue, 27 Oct 2026 15:09:37 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69RF8LOo029911; Tue, 27 Oct 2026 18:08:22 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69RF8LOo029911 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="E02fDs/l" Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 69RF8Kkf029907 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Tue, 27 Oct 2026 18:08:20 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 69RF8Kkf029907 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-48dff112181so4398377f8f.3 for ; Tue, 27 Oct 2026 08:08:20 -0700 (PDT) X-Gm-Message-State: AFq9FYLgZKmsE+6GdbP2v9KUorOFpRJ+va+zO93S1Rsss0liPzq8Rh1O f/nQhW626UsKJut7wxQncVpuPu9lLwC3CRuR3Hab2GUnLS20eCJ+Sj8hkZDAGinlt8b2WBCMIwq 1SYbQRYX4L7YTnP5gMZlZW/Cc92crj3KIvDLRJzfrNGfSLqV2xd7KVQ== X-Gm-Gg: AYBFou1p9tdm6HLQfTzLxZsXh9oXzubxdFVQTrhBQXtUpkh/DiAAxq3WH4e9q+I+2iU OMFMCnh5Zm1IpoR6M7FioF/ifQ7mbZNtzPLpm3NUjWqkseX7CdHGeN3lvfUYoBPVOo51UQ4JLCB hgAzGb12uy23rMiGNkTNbj3CtRTR2c4m2tbi6s7VQ2MbGP3MIacxcR3WqD7ZCmksUtxdpO8UD5d fWKnvaUPmMgtyGrcqF+l7Dd/n/fKq7oGVMJgK+X1Ecimz8/B7H9AYPrL9DseAQw1VOuSpAf7X24 mtLLexNl+uCFLUbHKPIX8grCjwiEfLXLgWo3UGnS3qW0LpjVvIlu2jUSxty0LsVJZoTZ6ljRB11 drO25TwLMJzHbr06fvQ== X-Received: by 2002:a5d:5d10:0:b0:48d:e62f:db70 with SMTP id ffacd0b85a97d-48e3eb9c239mr19613681f8f.48.1793113700487; Tue, 27 Oct 2026 08:08:20 -0700 (PDT) X-Received: by 2002:a5d:5d10:0:b0:48d:e62f:db70 with SMTP id ffacd0b85a97d-48e3eb9c239mr19613613f8f.48.1793113699993; Tue, 27 Oct 2026 08:08:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1793113699; cv=none; d=google.com; s=arc-20260327; b=AlQJHhyRNV3a0glG/7JvzfiC6yF9pQesFnCJfIqQX7NexdoP8EXe7IeG/ghfTvP990 ZtDqqm/JcanGTM5K5OaS58CdWFc8o2aIAep+s6bIzyR8YUPgPMVT7cC+HBKHQ9O5+I3X Ec8qavmcjCFkCv+3TCWW8m693+THtpzOYnakZk3MiAJBbPAPvYXmWtdlu907fOyIaRMO tJTN7P9jjwGacanrf40DBoVYUwr8ILVHFORx8ClWLfB/EHttL6L3VcG/wTwvTq5wk8A4 sPW3+yo11O9tOooCOPTIpxmsEHO91AbAfQdk79DU2Ink+0rT2oCGmpduw97Qx/Pq5BeA +E2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=to:message-id:content-transfer-encoding:mime-version:subject:date :from:dkim-signature; bh=TxJyiAAWqlUEIgR5wKoaSG+zTbPlNCjn+GzHz5Zz+xw=; fh=u94vpSnbACPnIkIPa1XdGqhjZt/kxdbqUA9AiFps/bg=; b=DPvZxtOSIYkA1rw4q8dBtwqM1n3FtaN9KMryduz5r8cjlE9ski7moxkEK4ZgHm6NEK k3MH0zhRic1RTb6mucm8xa14WP0bhxnATq3CTgfxRi9F0pImGlg9bzcREJOPk0pxeRxB YvJxBfAOlDHxr5rkZJm+b/uOrOC3iv7qLuJwTuEr/FYfd6ZOkp7DwplmQ+76CQA3AmM3 /9F8sE2Axq3O7xTNOz/Dyh5cZWc+XHvAzGguSQXJO5PjB8hEu7pCwJwDZ2JgDB4NY+28 /HCGlnVwWzpJouYUxPFdSk0z/2QIMrZx81XVzdPiUeVbL1g4Tbs5EXIguF+6/ouaYIL8 KEAw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b="E02fDs/l"; spf=pass (google.com: domain of khorenko@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=khorenko@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id ffacd0b85a97d-48e3ecdbe6asi21581738f8f.131.2026.10.27.08.08.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2026 08:08:19 -0700 (PDT) Received-SPF: pass (google.com: domain of khorenko@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b="E02fDs/l"; spf=pass (google.com: domain of khorenko@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=khorenko@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=Message-Id:Content-Type:MIME-Version:Subject:Date :From; bh=TxJyiAAWqlUEIgR5wKoaSG+zTbPlNCjn+GzHz5Zz+xw=; b=E02fDs/lhE33a0Hn07X 8zzK9ijbiEOuRxl3CHK8LLOr7PR+QF2UqytsdmS0tOpKCHyWrDip026tefY3c+e2K0KhP/SRi+LaP 9r9WBm1pBj3rE+kT1GmjdWIDMbw7R/VtKkXs4Hw+ikhIasxhMer20e1EkSsZrKiXde9GMQfRjlZO7 clgcGnI1MnN9vgLnaJDO7iu/85/iQUc/sU64zuHDAv3f6JyC8NfhrITalMqkookYcLLJJD/9EEVYI lIY1kN4HsV5k18UP5W0sZA9zkqAGdzFq/9vn5JvuF4v/7DS5/fIwDO643ibvwyUPGMxputxXkgpLu kW4Sd+kRu5zfreA==; Received: from ch-demo-asa.virtuozzo.com ([130.117.225.8] helo=f0.sw.ru) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xLiiv-00FPee-2X; Tue, 27 Oct 2026 16:08:08 +0100 From: Konstantin Khorenko Date: Tue, 27 Oct 2026 16:08:15 +0100 MIME-Version: 1.0 Message-Id: <20261027-b4-prep-khorenko-vstor-151903-werror-v2-1-b77e17cc3b3d@virtuozzo.com> X-B4-Tracking: v=1; b=H4sIAF6+4GoC/5WOSxKCMBBEr0LN2qHyARFX3sNiQT6aSEmoBKJCc XcDnsDlq57uNwsE7a0OcM4W8DraYF2fgB0ykKbt7xqtSgyMsCMlrEJR4OD1gJ1xXvedwxhG55G WtCYcX9r7RJyLuuKcl60qIU2lxs2+d80VjLR4yik0vyBM4qHluEm2U2O3vc/+UKR74T93pEiRE MFbXpCiVuoSrR8nN88ul+4JzbquX+pGeYz3AAAA X-Change-ID: 20261027-b4-prep-khorenko-vstor-151903-werror-33b973335ad5 To: devel@openvz.org, Konstantin Khorenko X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2234; i=khorenko@virtuozzo.com; h=from:subject:message-id; bh=+oaUBFOOSslEDA9tbOF05RU122a3uq3I6RwAD8nzuPY=; b=owEBbQKS/ZANAwAKAVGWCkf5YVwqAcsmYgBq4L5iZiwelk50iEMgviIVHTcZM0jNcZAsjjsU4 PSmgf3GDA+JAjMEAAEKAB0WIQRWD23IPcXT0GO9CCxRlgpH+WFcKgUCauC+YgAKCRBRlgpH+WFc Kh5rD/4rX5V7liSHoD37ta8wENln0ESOTKtjkbwx3P9K56jgush7xhsUWBMKgnFinuAxnu6xVTM cRBS1FquciHUhc3zrl9Fc4VxRsNj80BIrXsAznchfYoqj03/BMcQePIuVu6OXLmYTtfQJBj/Vqa 60mn6SNRdWz3iGlKBDVOYGWIH2VCD45QOmtTscatpoG91+w3XKRPYt5gDZ7wzGUdtlnjr/MaWvc t+3SMsmSkuSOpODCkWMB5TX4EWp0HMhk1r56H9YDXUvekl+lEuezsqr+afdxmwGHYSIo5O4w/D+ Ofq/zudski/dhqdoAu4FNtggo68IGyB8avQSyv5iecJmUFrcWjFE9Y3ANaMPJmQdmEVVv6tt2CD SdsWC5PikQ/ixy5xOrSwg/YGPWJR3lwrMLeYqMf6zW4bc22cP6GGl1ywA0q6ADmbm+52IM7IOOg 2LajWvNK45d5iRpDuMuGc618G29A8xqL5c20vA4r0S8ruKUkMeROvAZNQxKLKZTG/7TpVoayr6F 8v4TbxhD1EbFtGIIw9FGzjh8kISMWMPFKNaE6RnTqko4Jpf77z4gnwFCJxxPxJsPc/b3ZJAsxKa YLg6nLGnz3Q0UFYSnY2Nb1RaMDfBLFBQLpezOzUlB+v6NsbxfhbDqRK5e/+FdidTuoBebEr8wih 7SoZ+4kuBfxhPaw== X-Developer-Key: i=khorenko@virtuozzo.com; a=openpgp; fpr=560F6DC83DC5D3D063BD082C51960A47F9615C2A X-OZ-Fwd: true Subject: [Devel] [PATCH hci-8.1 v2] configs: build with WERROR and KVM_WERROR, as RHEL does X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org RHEL generates its configs in "make dist-srpm": the redhat/Makefile dist-* targets export ENABLE_WERROR=1, and build_configs.sh then turns CONFIG_WERROR, CONFIG_KVM_WERROR and CONFIG_OBJTOOL_WERROR on in every config. We call build_configs.sh directly, without ENABLE_WERROR, so the vz kernel builds without -Werror and a new warning goes unnoticed. We already have CONFIG_OBJTOOL_WERROR=y due to work on KLP, so set CONFIG_WERROR and CONFIG_KVM_WERROR in custom-overrides/generic as well. Like ENABLE_WERROR, they reach every flavor, the debug one included. The um variant, the User Mode Linux KUnit kernel, does not build with -Werror yet, so custom-overrides/generic/um/CONFIG_WERROR keeps it off there. https://virtuozzo.atlassian.net/browse/VSTOR-151903 Feature: internal Signed-off-by: Konstantin Khorenko --- Assisted-by: LLM --- Changes in v2: - Name the um layer file that keeps WERROR off, not the generated kernel-um-rhel.config, which the kernel tree does not carry. - Say the overrides reach every flavor, as ENABLE_WERROR does. - Fix the target name: dist-srpm. - Link to v1: http://lore.virtuozzo.com/20261027-b4-prep-khorenko-vstor-151903-werror-v1-1-00b3a34049dd@virtuozzo.com --- redhat/configs/custom-overrides/generic/CONFIG_KVM_WERROR | 1 + redhat/configs/custom-overrides/generic/CONFIG_WERROR | 1 + 2 files changed, 2 insertions(+) diff --git a/redhat/configs/custom-overrides/generic/CONFIG_KVM_WERROR b/redhat/configs/custom-overrides/generic/CONFIG_KVM_WERROR new file mode 100644 index 0000000000000..af20cbee74354 --- /dev/null +++ b/redhat/configs/custom-overrides/generic/CONFIG_KVM_WERROR @@ -0,0 +1 @@ +CONFIG_KVM_WERROR=y diff --git a/redhat/configs/custom-overrides/generic/CONFIG_WERROR b/redhat/configs/custom-overrides/generic/CONFIG_WERROR new file mode 100644 index 0000000000000..f54ff6cdaab85 --- /dev/null +++ b/redhat/configs/custom-overrides/generic/CONFIG_WERROR @@ -0,0 +1 @@ +CONFIG_WERROR=y --- base-commit: 39277db2080bec85a02c245ac0d7d185b37cdfdd change-id: 20261027-b4-prep-khorenko-vstor-151903-werror-33b973335ad5 Best regards, -- Konstantin Khorenko, Virtuozzo Linux Kernel Team _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel