Re: Local Build ID Directory Lookup (DEBUGINFOD_LOCAL_PATH)

2023-05-31 Thread Paul Smith
On Wed, 2023-05-31 at 15:17 -0700, Daniel Thornburgh via Elfutils-devel wrote: > This isn't the case for files available locally, but there is some > prior art: GDB's build ID directory layout (commonly > `/usr/lib/debug/.build-id// build ID>`). GDB has a flag to control this (`--with-separate-debu

pkg-config not used in configure?

2024-09-09 Thread Paul Smith
I'm trying to build the latest elfutils release 0.191. The configure help says: ZSTD_COMPRESS_CFLAGS C compiler flags for ZSTD_COMPRESS, overriding pkg-config ZSTD_COMPRESS_LIBS linker flags for ZSTD_COMPRESS, overriding pkg-config but the last part of these state

elfutils doesn't support building static only

2024-09-09 Thread Paul Smith
The elfutils configure script doesn't provide support for the standard GNU --{enable,disable}-{static,shared} options. I found the makefile variable BUILD_STATIC, but it doesn't seem possible to build only static libraries; for example, in libelf there's no way to avoid building libelf.so. Also,

Re: pkg-config not used in configure?

2024-09-09 Thread Paul Smith
On Mon, 2024-09-09 at 15:29 -0400, Paul Smith wrote: > I'm trying to build the latest elfutils release 0.191.  The configure > help says: > >   ZSTD_COMPRESS_CFLAGS >   C compiler flags for ZSTD_COMPRESS, overriding pkg- > config >   ZSTD_COMPRESS_LIBS >  

Re: pkg-config not used in configure?

2024-09-10 Thread Paul Smith
Hi Mark; thanks for the note. On Tue, 2024-09-10 at 10:52 +0200, Mark Wielaard wrote: > On Mon, Sep 09, 2024 at 06:21:16PM -0400, Paul Smith wrote: > > On Mon, 2024-09-09 at 15:29 -0400, Paul Smith wrote: > > > I'm trying to build the latest elfutils release 0.191.  The >

Writing core files to contain buildids

2020-10-26 Thread Paul Smith
Hi all; I'm maintaining a fork of the old Google coredumper code: Original: https://github.com/anatol/google-coredumper My fork: https://github.com/madscientist/google-coredumper We use this for various reasons rather than relying on the Linux kernel coredumper and it's worked well for us for ma

Re: Writing core files to contain buildids

2020-10-27 Thread Paul Smith
Thanks Mark, On Tue, 2020-10-27 at 15:39 +0100, Mark Wielaard wrote: > The basic idea behind getting buildids into core files is that they > (the GNU ELF notes) are at the start of the file in the first page > that is dumped (together with the phdrs) in the core file so when > core file consumers

Re: Writing core files to contain buildids

2020-10-27 Thread Paul Smith
On Tue, 2020-10-27 at 23:23 +0100, Mark Wielaard wrote: > Do you have the generated core files somehwere so others can look at > them? How exactly are you testing the build-id notes are there? I don't have one to publish but I can create one. That's a good idea anyway as it will be simpler to deb

building static libs

2020-10-31 Thread Paul Smith
Hi all; sorry for the lack of more details on my coredumper library issue. I am underwater with other things but I will definitely get back to that, hopefully next week. In the meantime I have a question: has anyone done any work to get the --{enable/disable}-{shared/static} configure options wor

Re: ** POTENTIAL FRAUD ALERT - RED HAT ** building static libs

2020-10-31 Thread Paul Smith
On Sat, 2020-10-31 at 15:52 -0400, Frank Ch. Eigler wrote: > > I'd like to build, just as an example, libdebuginfod as ONLY a > > static library and link it statically with debuginfod, gdb, etc. > > libdebuginfod relies on a bunch of other libraries (curl and all of > its dependencies), so a libde

Re: building static libs

2020-11-03 Thread Paul Smith
My ISP appears to get this sort of treatment regularly. I just don't have the time or energy to investigate or switch to something else. I know that's why they can probably get away with it, but... that doesn't give me more time or energy :p On Tue, 2020-11-03 at 00:16 +0100, Mark Wielaard wrote