From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wS6YIwoJLGqTPAMAWB0awg (envelope-from ) for ; Fri, 12 Jun 2026 09:26:34 -0400 Received: by simark.ca (Postfix, from userid 112) id 8E5CB1E098; Fri, 12 Jun 2026 09:26:34 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 0123D1E070 for ; Fri, 12 Jun 2026 09:26:34 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3B9514B99F40 for ; Fri, 12 Jun 2026 13:26:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B9514B99F40 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by sourceware.org (Postfix) with ESMTPS id C68C94BA2E32 for ; Fri, 12 Jun 2026 13:26:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C68C94BA2E32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C68C94BA2E32 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781270770; cv=none; b=Xo835VHcyjr33j4tYl8F6XbMmB030WmlWvujoHdI/fhBSoO5az+GQkwWOfKGFixsAAyLoZMRwRiZNYL0RhrSsOSIYG/7AeJaGbBxEUDQMfXsxDPm7pqHpIWHgFxopqTPn5mwbAcKe29y230fNGXyLtJuNCJjdEnBZUYRwwhHS+s= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781270770; c=relaxed/simple; bh=DFcbe92vifRk7nwhz/F8Z5LOiUpM+z7p8jlZJnYUA2s=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=UiqKOgrI/xjRlPLvzpiurQIV6c8jgFztKQbu7EBd4GtVkRdXgG6GlMFltHroM9iynUPayTrYMDKf2c6cOSKpcBY0LMzH6p4O82bPpocljkI1BUGmyzDnpQ+OEpRyO9C0et+xEbBOHMfkdECNIMXhYNGIMW4du+Yb2VGE2cEN6aQ= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C68C94BA2E32 Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-460166910e6so552237f8f.2 for ; Fri, 12 Jun 2026 06:26:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781270769; x=1781875569; h=content-transfer-encoding:in-reply-to:content-language:from :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5DyVspc0+osbIzH8hQAIkxspUiKLOI9ERIxI+0QKFN0=; b=hBsnGupLqAsu4nH1or/kWy57pKqbwBqzIvNaZmF001Y8CmnulXem0Q2zxNrAhanIc0 g3eiVc17QbV+rLpGT/zQ9KLgjVfjHLPMCcbvAp7M+yAYHCYOD4R5cg3gCQzNO1dqwzI2 8HactYL0zqU1ZMV0YlGfE9nP3EosGQX4OvPVMaz4xhLEiDrvnAM+X5FHq/Em3lxYMh6b BOyQ5gN0PLwUYSuVhGXDXaNTquj4fKJpUEYvbFwyt5pTrAggQYuKvvNqwuoiaLyEMULs 5916vo5kBDOGfOPewZUOo80NwnP/DcXs/Y92+Tukxv3oFn/8cIfpogAEU/MpjdUnrr7i pwGA== X-Forwarded-Encrypted: i=1; AFNElJ9QCUadp8KBELzXnhELPk8bNPNkIkA8FrZfpPmXzbwTeBNd2Mor+Cck9d9wFxjy3kXJyvspejcp2g/Otw==@sourceware.org X-Gm-Message-State: AOJu0Yw8RXxxM9u5AeSEOnQkAGFqS/HZQT+lY9B/60ML+PPOJe2xLT19 FoMXb4z3mG2MNyZnJzWZyqarMn0+vwxTeF3qcMtNecheM30ouaeQPZMy X-Gm-Gg: Acq92OG5Ewq1mfeledIwL1cX5pb9ke8XvAPKCKPw6Nr9VDZo6DgbDYsbh5MeKsxI/KI sS4HL8g1OICixUVcZLlAPVDKF1jWwFfnxDcHz5lTZKqm6KevfvFc2jA6orXeL1x8Vj0xSemeY1T SRDwbG1LTiBkWVni4PmVtnlz1ncfqG001BQPJy4phusYtjpmxQg6BDTKq79M28WP5n1076icKI6 ypd+Rc5qoHEuj2+sXEdhR7j7uSXvwlEGYb8JrrvyK7M84xqvY1tkpVq6mSJ4Ky4LuMfbOYNlAH/ e0HCkJiFrT4DMPC5ktl/6P8KwdSBe9JOJaUHrdxXjAISI0Mz6LFP00RPByPCM03neMGjRWcXq94 Yxd1CFZDEjnfEWGT6xbaPikCXToB3+bz55q7bCIE9tY5NofFdpFooav8ZmkdGbeq0y8hS+mz9C9 NqbhU6RCr0x4n9iBz0Xrhi+H62CsTjX7+UesREi6N4Vf6MciNE1Y+79iG57NgtAk9b2Q== X-Received: by 2002:a05:6000:43d6:20b0:460:edd:ca89 with SMTP id ffacd0b85a97d-4606dba418fmr3300804f8f.26.1781270768379; Fri, 12 Jun 2026 06:26:08 -0700 (PDT) Received: from ?IPV6:2001:8a0:fae3:2600:bf49:e032:9c8d:efc8? ([2001:8a0:fae3:2600:bf49:e032:9c8d:efc8]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4606f2cf5d9sm5227660f8f.32.2026.06.12.06.26.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jun 2026 06:26:07 -0700 (PDT) Message-ID: <27af1313-53fc-4de7-a707-4f24b0e51441@palves.net> Date: Fri, 12 Jun 2026 14:26:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [pushed] [gdb/build, clang] Fix ignored aligned attribute To: Tom de Vries , gdb-patches@sourceware.org References: <20260612104134.4147876-1-tdevries@suse.de> From: Pedro Alves Content-Language: en-US In-Reply-To: <20260612104134.4147876-1-tdevries@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 2026-06-12 11:41, Tom de Vries wrote: > PR build/34279 reports a build failure with clang. > > This is a regression since commit 6c85ef111b0 ("[gdb] Use using instead of > typedef"), which did: > ... > -typedef long __attribute__ ((__aligned__ (4))) compat_x32_clock_t; > +using compat_x32_clock_t = long __attribute__ ((__aligned__ (4))); > ... > > The problem is that clang ignores the attribute. FYI, this form: using B [[gnu::aligned (4)]] = long; works the same with gcc and clang.