Re: debug files now have program headers

Ed Maste <[email protected]>
Newsgroups gmane.os.freebsd.current
Message-ID <CAPyFy2A7wC4SrmY4OinFTin3tzFYJFeh1ajdD2H4P9PDCfM1Xw@mail.gmail.com>
> > > 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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.