From nobody Wed Feb 15 23:04:30 2023 X-Original-To: dev-commits-src-all@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 4PHDDG3bLPz3rSjM; Wed, 15 Feb 2023 23:04:30 +0000 (UTC) (envelope-from git@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 4PHDDG34Yfz3rGq; Wed, 15 Feb 2023 23:04:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676502270; 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=yIqfe075wQc8ZC7A1C2GRVcHnNlMqzKFY8Ww7k1RVJ0=; b=FudkN5fdMaUJZvJSqalYUZlrJew68upuPRG1FBKJlnXVpNkeuuOOn7PFAy6WKbH8AmJdlL V3MHiNtwBjDSOJr/hI3jtFf6xQZ4ID60wRbQeYYXg8q96weJ8g31hlKg3AufKFmuw3bf3o 1gjqb29MN9Rv4W9vHisJEKESmS85LRR9VjXqYY2Kpha/9I1VHV2fji/BRwLpJDxhBbJ0Or T8KJ2aVLgZLjruah1+r6L5FQKVpLxGgsDpQq4xBhoZlADx0BlgbuGWWQpZbnX9L+YYgc24 o7WDwhViwJGbqPvB/vCTfMpxAVYbudrN2QHQkzTgOkOZYOTG8BtHKamNyZDzfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676502270; 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=yIqfe075wQc8ZC7A1C2GRVcHnNlMqzKFY8Ww7k1RVJ0=; b=tP1od5B+bX4bpdWI8aB509QTo+oo9FekyTeCS2Y223a40scOHNy3KR2m6Kguwlj4B/5BW1 gnY9DQRdQqQynvmnLeIVzK4OcwYjnAd4MhnBELPw0TzG7cguXwaBlNH/E7t9uWRakf53lY gM6y1zsrAcSTOxZRfVMyOXSXzguzSJ7LARysCAaOZR1S52K2/6suF1t2ceRZJjq01oqwsi GiSYO6PDRsjaZ3E0GFNpRywsoEI2S7IUUy9hhlyX275wWOi0OgUGUXhXdjDEv1KtbV20kH vNSobhORw/2pC/TdNPNORrsWYHP3T7CHvP94kIzZXrd8ZAGVTR3D34wq9/SVAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676502270; a=rsa-sha256; cv=none; b=b9skrFyTcCMBHBCATI2DkqkMf5JY9T5sorB4ceL7PRkyGvpZUL67zUmMw/FgQ6U62c9Mqp HG+fUuJxLZ6VQwDFJShep5RVf6/8sxL4+ZEEfZ9R6kpXcS51RnJboRx2KF2GRbAznK8+ea I1mvI57LsuyqTgSUBL+zOhKCh45gypwRJ6d08eqScrb0XI2olUvC2DIVACcmotijCkgZDt f7OZtdmXrkPcpoZA79JumGgx3h2qOJZ18S5JkzBEnGNW1eHRF0dsDIEMxcdrmb58jqrjjv r+WqjJQckUyjBsmbX9bJx33yuG9rNGjj6nq15/7SeA0m8gfOi7tmjc0EVMspgw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4PHDDG26Hzzhcv; Wed, 15 Feb 2023 23:04:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31FN4UJ7051286; Wed, 15 Feb 2023 23:04:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31FN4USG051285; Wed, 15 Feb 2023 23:04:30 GMT (envelope-from git) Date: Wed, 15 Feb 2023 23:04:30 GMT Message-Id: <202302152304.31FN4USG051285@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 942815c54820 - main - libefivar: Add note about extra compiler flags List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 942815c54820783d3d4f7f6faa71ab7919b5f0e5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=942815c54820783d3d4f7f6faa71ab7919b5f0e5 commit 942815c54820783d3d4f7f6faa71ab7919b5f0e5 Author: Warner Losh AuthorDate: 2023-02-15 23:02:56 +0000 Commit: Warner Losh CommitDate: 2023-02-15 23:03:54 +0000 libefivar: Add note about extra compiler flags Add a note about why we need these extra compiler flags to suppress warnings. EDK2 upstream code is being used verbatim and as of the last update these issuse persist, but are benign. Sponsored by: Netflix Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D38613 --- lib/libefivar/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libefivar/Makefile b/lib/libefivar/Makefile index 5a6077d4b8f8..d38d7906af20 100644 --- a/lib/libefivar/Makefile +++ b/lib/libefivar/Makefile @@ -64,9 +64,10 @@ WARNS?= 9 .include +# We use UEFI parsing and formatting code from upstream EDK2 project. +# They still have issues that require us to susppress some warnings. CWARNFLAGS+= -Wno-cast-align CWARNFLAGS+= -Wno-unused-parameter - .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 130000 CWARNFLAGS+= -Wno-unused-but-set-variable .endif