Date: Tue, 7 Apr 2026 12:12:30 -0400 From: Ed Maste <emaste@freebsd.org> To: Gleb Popov <arrowd@freebsd.org> Cc: Dimitry Andric <dim@freebsd.org>, Paul Floyd <paulf2718@gmail.com>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: debug files now have program headers Message-ID: <CAPyFy2A7wC4SrmY4OinFTin3tzFYJFeh1ajdD2H4P9PDCfM1Xw@mail.gmail.com> In-Reply-To: <CALH631nbdGh-31LvLEsn5C9iRdupWkxCQRmxrEuOJ-_USgbxSw@mail.gmail.com> References: <707b0fa7-b345-4802-a018-d6050f4e8f8c@gmail.com> <4DDACD68-1AF2-4502-AF20-4EAB15B13659@FreeBSD.org> <CALH631nbdGh-31LvLEsn5C9iRdupWkxCQRmxrEuOJ-_USgbxSw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
> > > 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?home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2A7wC4SrmY4OinFTin3tzFYJFeh1ajdD2H4P9PDCfM1Xw>
