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 >   linker flags for

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,

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

[Bug general/32155] elfutils fails to compile with "srcfiles.cxx:354:10: error: use of undeclared identifier 'no_backup'"

2024-09-09 Thread evvers at ya dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=32155 --- Comment #5 from Evgeny Vereshchagin --- I applied the patch locally and as far as I can see elfutils no longer fails to compile. Thank you! > There have been emails from "monorail" which contained fuzz reports Got it. It seems the part r

[Bug general/32155] elfutils fails to compile with "srcfiles.cxx:354:10: error: use of undeclared identifier 'no_backup'"

2024-09-09 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32155 --- Comment #4 from Mark Wielaard --- (In reply to Evgeny Vereshchagin from comment #1) > On a somewhat related note I can't seem to find any notifications from > OSS-Fuzz on the elfutils mailing list: > https://sourceware.org/pipermail/elfuti

[Bug general/32155] elfutils fails to compile with "srcfiles.cxx:354:10: error: use of undeclared identifier 'no_backup'"

2024-09-09 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32155 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org Ever confir

[PATCH] srcfiles: Fix compile with --disable-libdebuginfod

2024-09-09 Thread Mark Wielaard
The eu-srcfiles --no-backup option is only valid when build with libdebuginfod support. Adjust the ENABLE_LIBDEBUGINFOD conditional to not use no_backup anywhere. Also only run the run-srcfiles-self.sh test when debuginfod is enabled. * src/srcfiles.cxx (zip_files): Move endif ENABLE_LIBDEBUG

[Bug general/32155] elfutils fails to compile with "srcfiles.cxx:354:10: error: use of undeclared identifier 'no_backup'"

2024-09-09 Thread evvers at ya dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=32155 --- Comment #2 from Evgeny Vereshchagin --- The OSS-Fuzz build failure should be fixed in https://github.com/google/oss-fuzz/pull/12465. The "use of undeclared identifier 'no_backup'" error doesn't affect OSS-Fuzz builds because libarchive is