From nobody Thu Apr 18 11:21:43 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org ARC-Seal: i=1; a=rsa-sha256; t=1566394143; cv=none; d=zoho.com; s=zohoarc; b=VzbJLU9EhzkP2s9GpL558EwFiYfwSlgtXpMuwYBWWNzBYkeBZFA78eIaZY/kMo+cY9S3TUiVARM99I3a1bC0r6IyZRAWqH/gcyhz+2OcuyUPF0w66OC6/cnDPtV9teHrM8ighxCnXBFhcl8O17/X4d/ZU7EVKSlwG8UjRcmnDtE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566394143; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=n962aaAFAT5fin44JR+r++AfyUj4xC3deRqZpBsh/RQ=; b=bhysCKp+4Ui7/4zXKQEKUB4OzCWNNzPcG9QMpCl+VtCT+LlNrL7DTkdkrKIswW1OH8mUgcgXjVHD34/nwxgLr4a40/gQpjcWYKboQM+9TDOGfT3ancFNBHdsvSwbPWr5YN4madq9XPKf1Sm4Li5vBwWkvZZxUDogKYNXlKw50CM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 78.46.105.101 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1566394142981177.4181589639079; Wed, 21 Aug 2019 06:29:02 -0700 (PDT) Received: from [192.168.203.99] (mailu_mailman-core_1.mailu_default [192.168.203.99]) by coreboot.org (Postfix) with ESMTP id 0F7C612A1285; Wed, 21 Aug 2019 13:28:58 +0000 (UTC) Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) by coreboot.org (Postfix) with ESMTP id DED9712A1271 for ; Wed, 21 Aug 2019 13:28:49 +0000 (UTC) Received: by mail-qk1-f193.google.com with SMTP id w18so1799032qki.0 for ; Wed, 21 Aug 2019 06:28:49 -0700 (PDT) Received: from localhost ([64.9.249.146]) by smtp.gmail.com with ESMTPSA id d2sm133375qko.26.2019.08.21.06.21.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 06:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=koconnor.net; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=jQvdEgh8hntw/OoefUoBmv2LjHUxEfcTqWNECoKwnfo=; b=IFZMTnppmYSdAeJ1BGM3dp6F9wlC/hkCRjFpfxD5JtSBVu9q871UFU6G6e52fFHVQr 0iLowi4V3q8CvA2PrL8rzmeYkBXlM0Dw0EFFfhksiBUHr91amdU97yUcPDMCqtmWjvaZ 2kcB5H4YUhz1rxF/+H9ahe+jWVOh5L4zae5Uc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=jQvdEgh8hntw/OoefUoBmv2LjHUxEfcTqWNECoKwnfo=; b=tlXmXqWwwRonCoz0nrb7BQleV/354Ty3uBbipdnu0D0bppHjNzrKf+KltvzF3+PkRn pJToSfckyiiYzBHggyAa3YbRMFB2InvF7AnowK1gSkbAvUJl0Mt+kWBtY6eHpCll6Z4e 6QoIi0XgFiNCyeu5YuSVkyyuNUgYc7UmJSV4ldPKOkjZ4cPd7DGUwLlr29UoqQclLN6y gO/zchoQjr7E78AisaLflYB0RmUIqIJgwACRFR4/i+m2C9Av0GLIXaIY/oIna/tLBMJX 0xAsKz26WC9T/wvu+Mbm8HhOe/RDGRrvocv+h7elvkNqCQReU08X9aL8nzJ7PETQhlU/ Nldg== X-Gm-Message-State: APjAAAWBwindU7LUIK5m5WYvLZgWlCp9bX3xPccCa4aDHp93/F/jLrhL kBrcc1zalebx3+ijorMAZz+wwbdLO2E= X-Google-Smtp-Source: APXvYqzq1vYK1nMoZP24nuFgkmxI+jSQ06jXPoVpBX2lxiHX1rubhRYaOfbNpE2i2nqkctJX5+erEQ== X-Received: by 2002:a05:620a:5a7:: with SMTP id q7mr31891152qkq.477.1566393688429; Wed, 21 Aug 2019 06:21:28 -0700 (PDT) From: Kevin O'Connor To: seabios@seabios.org Date: Wed, 21 Aug 2019 09:21:25 -0400 Message-Id: <20190821132125.6962-1-kevin@koconnor.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Message-ID-Hash: YL4K7NVXMASQ5TSQAVM2KL5OUJDTYNCD X-Message-ID-Hash: YL4K7NVXMASQ5TSQAVM2KL5OUJDTYNCD X-MailFrom: kevin@koconnor.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list Subject: [SeaBIOS] [PATCH] Makefile: Build with -Wno-address-of-packed-member List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: +++++++++ X-Spam-Level: ********* Authentication-Results: coreboot.org X-Spam: Yes X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Building with gcc v9 causes lots of warnings about pointers to packed variables. However, SeaBIOS is limited to x86 where unaligned reads/writes are supported by the cpu. So, disable that warning. Signed-off-by: Kevin O'Connor Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d16d1ae..5f7d537 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,7 @@ COMMONCFLAGS +=3D $(call cc-option,$(CC),-fno-pie,) COMMONCFLAGS +=3D $(call cc-option,$(CC),-fno-stack-protector,) COMMONCFLAGS +=3D $(call cc-option,$(CC),-fno-stack-protector-all,) COMMONCFLAGS +=3D $(call cc-option,$(CC),-fstack-check=3Dno,) +COMMONCFLAGS +=3D $(call cc-option,$(CC),-Wno-address-of-packed-member,) COMMA :=3D , =20 CFLAGS32FLAT :=3D $(COMMONCFLAGS) -DMODE16=3D0 -DMODESEGMENT=3D0 --=20 2.21.0 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org