From nobody Tue Apr 7 16:12:30 2026 X-Original-To: freebsd-current@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 4fqrnn22vtz6YWWc for ; Tue, 07 Apr 2026 16:12:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fqrnm5q7jz41fk for ; Tue, 07 Apr 2026 16:12:44 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-68397b9840cso1000930eaf.3 for ; Tue, 07 Apr 2026 09:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775578363; cv=none; d=google.com; s=arc-20240605; b=aHFor/KsDIe0pFfUM8grurEO+VrT8sp9Tp0z0z9o7s1rvl14YIZ6oAKbfwRvvQYTc9 m0zxvTW+RhLf62/RFirDkfc+If3VErTJiv8SNudjJbrkiuuU2HZDwf85Xgq6rVobuBD3 iWtTv2pQyZUHiM77ZZfUfsLw2S4lzyoX+JelMTztoTzsj2c//uWO/2ErW+4HZouGlRjc etiI8mR0cOASkO9FEEe1+o3FmVdrm6D2GoKFmsE/gXGnDlLAr6ZBS9tA5q7xVSyOhHQd LWKHyY54Xh9K1rMDBd+nRd/sOf7mmKwM4TsofQMhyKwBvYO1VfKYwYxNhqhOrEVqgayw 3bjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version; bh=I3w+YKmnoRhif80BDPJKFEP9f2ExrBrHKJiwRWSydxs=; fh=Z/JtPQLpe0i71zH4zl5BsNdnh89mePlA8S9gg1uhyYk=; b=QbBNXTIV2dUJBPIq135wZJ0iLV+6Kbp2cmQst7K12OX1KvjCdOKf2RVI5iGItEwjFg bT+g/5RccvXdMNA/65jb4fdttp5vOGtbumuVGQ/jD7S5DYASN1xKhwAR3vWoaMGm2jTb jjtEIcbEfU9KkJPd3ADYVArCPAnL1XDvx3L33/DesJslLGDh97yGvLtPLB93FWHehIS7 5hx54jtGlWBpPUcW9jqfywxp0k4tpt2OqIF/mVf9Ml82cisribn8AfeW106f6k+lCN1E vL6x6MTC3ZnRAbPfT6GiIqwIjJqCmps/O45YH96EC+FuDgtpHadZrXrXikl2L9jEDXql XMmQ==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775578363; x=1776183163; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=I3w+YKmnoRhif80BDPJKFEP9f2ExrBrHKJiwRWSydxs=; b=htMtoiKXcoZgcK4OVuT4WdBH/4hQB+4UQRhzQWyQnzoXfmJ59JJQfwoWwAxB6NsSaI piL/wF1dMuADkLpZLMAFzLh5vKqKyufCTH+V+8BbhdLH7dZMxNz+EmcSRYxdwwzffk0X Cl14A7flqKioAYStQl/YmE2G3xghG1+Qtgw6rYlfCxuEmlPkTARAX770frRP8Xo4zhEa gokNyLMF9LocnnphrivCa3s65rTEHYFxLbLuK0tLQ3qsi6fNtC8NPkl8LeTLKJC31D5T hgI+/yegwpwv0eDj5OdYBkXKAUeVln6sNzQTVeOuR8oVnqCU5o3ydVUCLG5ClTdy1NCc ga2w== X-Forwarded-Encrypted: i=1; AJvYcCWuYmt7idajEXXJtXngjCHCxkhxktBSxQHh2Z22CeXnluzV98q2/7xlU+oHtEnW8Lg+yUIcIpjTJMlEAXB2p9E=@freebsd.org X-Gm-Message-State: AOJu0YxK/PFtDU5TircdYJOlxQTh6iuT5okJrWkVfBMv5Ze1eSCJU8dm w3892rcv+YhFEdDARjm2gmzKNvXGGteKBYIEL/53VYXIrlwObLJjHllo4Fj2zcugFY703itLqDs nc+Qt+HNJxXoA2jAgfUTEmCCJLLvQYjM= X-Gm-Gg: AeBDiesGPkIcNLnSGVtZCbeKmtBXywpnfXs17m3MhZEzGykQSlF4YUWCYafOxStJFk3 Xol+NNKYxkupx40KizZLB+DfhSelz7Hb/EarS7FhPya4XCeHZd5d2lGhzi8Y3pmPxGxZUbLGkzY e7N2+XtYocv7YI61nOJJ+wh8uNvnQJGHBWyT7WURCFxOC0BqxMXwxiBcZKI7nzmbleqeQG3tZWN kUoyFC4R9dHzVZ/ep0AKOfZrsT+tU46GdH+rIo7SZMOFoVzJEloJH7Z9R1e/oWTUpnJ1kG4DOqK qxUqPmILsm5LDSmgexJdO2HrPrrdm9wrVYvTtVnGrX51iLsLdSltlzixRjMJF7DuBnhkQ51Ekg= = X-Received: by 2002:a05:6820:81d8:b0:683:1323:e183 with SMTP id 006d021491bc7-68313332675mr7502028eaf.32.1775578363053; Tue, 07 Apr 2026 09:12:43 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <707b0fa7-b345-4802-a018-d6050f4e8f8c@gmail.com> <4DDACD68-1AF2-4502-AF20-4EAB15B13659@FreeBSD.org> In-Reply-To: From: Ed Maste Date: Tue, 7 Apr 2026 12:12:30 -0400 X-Gm-Features: AQROBzCGICgPCFgnYxr2zo7VhdGn4pG3DGpEzBlCwj8sNf0GE3H5EvmQnbzofb4 Message-ID: Subject: Re: debug files now have program headers To: Gleb Popov Cc: Dimitry Andric , Paul Floyd , "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4fqrnm5q7jz41fk X-Spamd-Bar: ---- > > > I just noticed that debug files now contain program headers. > > > ... > > > That's not a problem for most users but it is quite a big issue for me trying to debug Valgrind itself. > > > > > > Is this going to be a permanent change? > > > > I guess this is due to WITH_LLVM_BINUTILS being the default now. > > That's correct, the informational context is here: > https://sourceware.org/bugzilla/show_bug.cgi?id=33876#c1 Yes, it should be LLVM_BINUTILS_BOOTSTRAP that's responsible, not LLVM_BINUTILS. The former is only in main while LLVM_BINUTILS is also in stable/15. The changes to support LLVM_BINUTILS BOOTSTRAP were missing from the original LLVM_BINUTILS work; it was not intentional that we continued to use ELF Tool Chain tools for the bootstrap. We discovered this because another tool (i.e., libabigail) failed when the standalone debug files _lacked_ program headers, and I believe this is the expected state in the GNU tool / Linux distro world. I presume Valgrind on Linux handles this somehow?