From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91E5442F71B for ; Thu, 16 Jul 2026 17:39:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784223598; cv=none; b=IqmSrvwZXTGTNvSit0xk9ZUwjbGtA0G9o+H4QGKWSFSgcM80bW856DZt6bUKTv5owhJ0PmwGvOeHi3U2NDcGhINzKHyDUr9bTYLR+dIygWSsvM9he5HFO99F0RpQXlzqrKllhloCo7uaxpchjhPZ51GGh9q7kl5JiuUAAibVTTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784223598; c=relaxed/simple; bh=9PG9WScnfia3OwP9KGvORIwkC5o9j6BLODaiyqj/MUs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ufSjea/tZSUNzqh9BrVKY8Aa8B7Pk/7fh/fAKQ1fRhhTUWDG25uNiR+Lq7FEBz1iLRVap+lyOmuF7NluxFyATqKeTSMUj+jVkGNSzWnYIswD0uVLbIxq56AUI7rJiIcvEIyIkSiSRr8/QWSHr5All2/EeZdSbNw3cv5kysmLwIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=Hbfcd1zw; arc=none smtp.client-ip=209.85.216.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Hbfcd1zw" Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-381ed661712so7257495a91.2 for ; Thu, 16 Jul 2026 10:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1784223596; x=1784828396; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=chN8aLVvFGWQ+JrcCF2Cd3o3W+9FD6vs9BxYNNUH/BE=; b=Hbfcd1zwWg8TOTA5QT+Ff+ZI5XwrQ5yY7j8GiDqQAmcjfgvjoaEonGYfeaP2mQjKWd bPstZKeYt1mh1WB1JW+Ul5GOgXeZ2Cb4nb+pONuhcxyutHNoXVDappmaCZOSFkGQLIyZ 6bF/Q8ob7M1I4EEGvcizQqWOH4UYlBe2BXguI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784223596; x=1784828396; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=chN8aLVvFGWQ+JrcCF2Cd3o3W+9FD6vs9BxYNNUH/BE=; b=MLxq6DFQunUHlyYFj8X2wShsGwTTuPeZBU2KnCOPTCgLwU/Nuk4StTKMD2munaDUUd 8SVsur3w0AB5+ckR6EXh7N71RXBG7NwujVQeEOqhJAJAHusqOqcjSZ1nYnwK6rTrp/V8 wEAw1IVxk4kkzMeQ4BT4H503jMAvA6Ggh1Zrk+wH7As3j9LEQeUGQMPMnVujvBy9sXNV rwY/ZK7W7rrJYbRALah/3VGv3+L77oYrIULOa0a5nEG3hHdcefVCf4Es9/7IHm+GmBwy UjiYx3MV3Qlk9EpI7x2OzdImJHB4CcS5Vk0u8wUTzelMFCdnmu04YFusKGGG+sWmE8ru WTQg== X-Forwarded-Encrypted: i=1; AHgh+RpfofxjicB1b3iOJffLf8p4pvbw78loKkk/GImBTDgHUKWlUPUfrI5zXCgSFwX/rUSuW/i1bQY3udwodqtrUMrt@vger.kernel.org X-Gm-Message-State: AOJu0YwYWh4dxXHy+B/V6gBsVdPXSIOQAIP5TgqOrL0kdsQgF9VOZ/g5 ZMFELNcvLsIKAXYKEM1raiuer7r4cQdUrwImbOv8GhcuJmFGhANjbBmSGkvGS4zOHw== X-Gm-Gg: AfdE7cnmz/LvPgBK2UzkyZGgG98pJ2D6ph5zn7fy03v+3/7ID6EZwRJRutubX/qz2RZ lt+mbofj988xiZAywLLlRU9RJNp/mcyCKoQZMQJxGO9mOHTxWs1l+lfyN3+ZV11okbYqwpoWFBq JAgU0ACekq9fmShyHkiNeFI1m9MgpY3RtoCcpRD0IbtDRutzamQiqwGeBcdiPl/MNxFk+ITPfRy XzJWsaenOqnz4Jx4u4KdgB8M71QLEwtv70nul8l3X5TWTrZBo17rmhIdG3tiRAK5pqDcKHEQXJ2 bWMIRuGfdhBuKpOSOkpktog3rPBwpBHC5vGv1RtydkMIr0gKWxD5N8XYNwy29eUCdkwOIC4btK2 6MfjsQx5iKoPkL3vxWKbVE+KIBKk1cp3CRSQuYkUceWNH2BYHp2KVpWBCazr8h4sEQlil4yqkMc 1Db9yjwGKz889OJ1hjH6doXhh/fD7hNm4ztFsZkIdR X-Received: by 2002:a17:90b:1a89:b0:36d:9e0b:3801 with SMTP id 98e67ed59e1d1-38e1add8ec6mr9675333a91.8.1784223596017; Thu, 16 Jul 2026 10:39:56 -0700 (PDT) Received: from localhost ([2a00:79e0:2e7c:8:53a1:1e69:10ef:bc65]) by smtp.gmail.com with UTF8SMTPSA id 5a478bee46e88-3140e5647aasm13360547eec.13.2026.07.16.10.39.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jul 2026 10:39:55 -0700 (PDT) Date: Thu, 16 Jul 2026 10:39:52 -0700 From: Brian Norris To: Jens Remus Cc: Indu Bhagat , Dylan Hatch , Mostafa Saleh , Roman Gushchin , Weinan Liu , Will Deacon , Josh Poimboeuf , Peter Zijlstra , Steven Rostedt , Catalin Marinas , Jiri Kosina , Mark Rutland , Prasanna Kumar T S M , Puranjay Mohan , Song Liu , joe.lawrence@redhat.com, linux-toolchains@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Randy Dunlap Subject: Re: [PATCH v5 0/8] unwind, arm64: add sframe unwinder for kernel Message-ID: References: <20260428183643.3796063-1-dylanbhatch@google.com> <4f429a50-df5d-411f-b40e-048d3cad5133@linux.ibm.com> <6e0d0afc-8a54-4763-b25d-dea122c4cd12@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-toolchains@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Jens, On Thu, Jul 16, 2026 at 01:03:35PM +0200, Jens Remus wrote: > This proves thet assembler option --gsframe did not originate from the > kernel Makefile, but was supplied by GCC for the assembly step. I guess > it gets injected by some GCC .specs file. Please review the output of: > for "sframe": > > $ aarch64-linux-gnu-gcc -dumpspecs Thanks for all the pointers! $ aarch64-linux-gnu-gcc -dumpspecs | grep -B 1 sframe *asm_options: %{-target-help:%:print-asm-header()} %{v} %{w:-W} %{I*} %{!m16:%{!m32:%{!mx32:%{!ffreestanding:--gsframe}}}}%(asm_debug_option) %{gz|gz=zlib:--compress-debug-sections=zlib} %{gz=none:--compress-debug-sections=none} %{gz=zstd:--compress-debug-sections=zstd} %{gz=zlib-gnu:}%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O} -- *distro_defaults_asm: %{!m16:%{!m32:%{!mx32:%{!ffreestanding:--gsframe}}}} I looked further into the bug trackers here, and I see that: (1) it seems Debian testing(?) and Ubuntu may have enabled sframe by default (2) my distro is Debian-testing-based (3) other people have already requested my distro disable sframe, due to issues like the following: https://github.com/rust-lang/rust/issues/155704 https://salsa.debian.org/toolchain-team/gcc/-/commit/bd33f862a3f93c3d3b1fbc8dfb6b0366905d7ab4 I'll follow up with these to make sure #3 is fully resolved. Hopefully that resolves this problem too. Thanks again, Brian