Message ID | 20180502083753.25090-14-joel@jms.id.au |
---|---|
State | Superseded |
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40bX010t9cz9s1d for <incoming@patchwork.ozlabs.org>; Wed, 2 May 2018 18:44:49 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NY+1l802"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40bX005P9ZzF2SK for <incoming@patchwork.ozlabs.org>; Wed, 2 May 2018 18:44:48 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NY+1l802"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c00::241; helo=mail-pf0-x241.google.com; envelope-from=joel.stan@gmail.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NY+1l802"; dkim-atps=neutral Received: from mail-pf0-x241.google.com (mail-pf0-x241.google.com [IPv6:2607:f8b0:400e:c00::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40bWsk5Rb1zF2ST for <skiboot@lists.ozlabs.org>; Wed, 2 May 2018 18:39:22 +1000 (AEST) Received: by mail-pf0-x241.google.com with SMTP id j5so11184439pfh.2 for <skiboot@lists.ozlabs.org>; Wed, 02 May 2018 01:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=GOyZMN9uo+7IvIANVt8MbAAnW/QZWm1H2ybje0aZCso=; b=NY+1l802d4Tap7yTr2khYWyTbmZMacpcYPyv8skkXpEVIJzHZ/1aSIOi9ZLmI7XZku FOd2++Jp9kLAbnDzOXDu8/+Wf0PK+QkL6l7/IDYbwARmo1gyDfp6pC0Yq7GmWIA2L0nM qAnsaKf9Zkvp6V9ClmrKEQI66IHopQvQl0fYZy6fWvXoRi41W5W6xKLALhW1gJ6yi3fV J27/h5BlIsQYiKeEJDYej2hFIpQVYfReBK5Nm4d47PQzpvot3toA5UsJ26Qgj8nZ26jA VGqfwxEcbzenS70X2D/cJRNGaX0irENEXWKj4vfQdCbtKQMl2i1k05zqA5Bx2lDI5UDD n8DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=GOyZMN9uo+7IvIANVt8MbAAnW/QZWm1H2ybje0aZCso=; b=pxOcgDQT4H7V7MZnwR2Qd+XsHMjjY8GVBGi8dE9Gi9MgpHtbYuNWy/BxNmQq1uMvV9 TBoYQGsrppbyXUy84Ajvslwh3hiVVcvZ+AldV9ggjLlUD+CG+eeD0IF5lp/T+0KT528T K1QJ4LdgyICtCvYWFG24mVskOzVU58w0BDEy+5oohCdRwnK7jmcGbkHMNJBxL0Tbpzwu 3Yl8wEP9dmDimGaHELYwUytkUqA78YsyEu5hggzlKQ1oN7NquuxEeuZ1a1HuaiVFpvzU E2INX1F6VmImtP/+Wc3d2xYw/8jM6i8YD7c+QWQ72IOJehCHj+FcVsJplPGEBAFcPofa L3AQ== X-Gm-Message-State: ALQs6tBGkDyDDT3iH28+xj/jP/XqVvdLy4HUqi91iSJBmbOJkxPoPfid a0XfUduOmEMqwDe4qovO0dNZBE5q X-Google-Smtp-Source: AB8JxZoEffIvZJaDcJk3/GyRMc8rcfnz4PjsK6qOvPYz5vEafQA4QgBU6Jt0wLvPa5d+EfVbES1yng== X-Received: by 2002:a17:902:a512:: with SMTP id s18-v6mr19183089plq.223.1525250360520; Wed, 02 May 2018 01:39:20 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id u85sm23298890pfi.32.2018.05.02.01.39.18 for <skiboot@lists.ozlabs.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 May 2018 01:39:19 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 02 May 2018 18:09:15 +0930 From: Joel Stanley <joel@jms.id.au> To: skiboot@lists.ozlabs.org Date: Wed, 2 May 2018 18:07:53 +0930 Message-Id: <20180502083753.25090-14-joel@jms.id.au> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180502083753.25090-1-joel@jms.id.au> References: <20180502083753.25090-1-joel@jms.id.au> Subject: [Skiboot] [PATCH 13/13] Makefile: Disable warnings to make clang happy X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
Support building with clang
|
expand
|
diff --git a/Makefile.main b/Makefile.main index cd4b9161b665..26605961b60e 100644 --- a/Makefile.main +++ b/Makefile.main @@ -164,6 +164,14 @@ CFLAGS += -mcpu=pwr8 LDFLAGS += -mcpu=pwr8 ASFLAGS += -mcpu=pwr8 +# Workarounds +# TODO: Fix the issues these hide, and remove them +CFLAGS += -Wno-cast-align \ + -Wno-unused-command-line-argument \ + -Wno-unknown-warning-option \ + -Wno-gnu-variable-sized-type-not-at-end \ + -Wframe-larger-than=1536 \ + -Wno-address-of-packed-member endif # Special tool flags:
Clang doesn't like some of the warnings we have, so silence the ones we know about in order to enable the build to succeed. These should be investigated and removed in once the code issues are resolved. Signed-off-by: Joel Stanley <joel@jms.id.au> --- Makefile.main | 8 ++++++++ 1 file changed, 8 insertions(+)