Re: [PATCH v2 13/16] lib: isatty is not available on windows

2022-12-19 Thread Yonggang Luo
It's because lack STDOUT_FILENO, so this patch can be dropped On Sun, Dec 18, 2022 at 12:52 AM Yonggang Luo wrote: > > Signed-off-by: Yonggang Luo > --- > lib/color.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/lib/color.c b/lib/color.c > index 8063dc26..963a2ec2 100644 > ---

Re: [PATCHv2] support ZSTD compression algorithm

2022-12-19 Thread Martin Liška
On 12/15/22 14:17, Mark Wielaard wrote: Hi Martin, On Tue, 2022-11-29 at 13:05 +0100, Martin Liška wrote: There's second version of the patch that fully support both compression and decompression. Changes from the v1: - compression support added - zstd detection is fixed - new tests are added

Re: [PATCHv2] support ZSTD compression algorithm

2022-12-19 Thread Martin Liška
Hi. + if (use_zstd) +#ifdef USE_ZSTD +return __libelf_compress_zstd (scn, hsize, ei_data, orig_size, + orig_addralign, new_size, force, + data, next_data, out_buf, out_size, + block); +#else +

Re: [PATCHv2] support ZSTD compression algorithm

2022-12-19 Thread Mark Wielaard
Hi Martin, On Mon, 2022-12-19 at 15:19 +0100, Martin Liška wrote: > On 12/15/22 14:17, Mark Wielaard wrote: > > Is there a particular way you are running eu-readelf? Is it with > > generic -w or -a, or decoding a specific section type? > > Hello. > > $ LD_LIBRARY_PATH=./libelf ./src/readelf -w >

Re: [PATCHv2] support ZSTD compression algorithm

2022-12-19 Thread Mark Wielaard
Hi Martin, On Mon, 2022-12-19 at 15:21 +0100, Martin Liška wrote: > > > + else > > > +error (0, 0, "Couldn't get chdr for section %zd", ndx); > > > > Shouldn't this error be fatal? > > What do you use for fatal errors? Depends a bit on context. It might be that this error isn't fatal,

Re: [PATCH] Add support for LoongArch

2022-12-19 Thread Mark Wielaard
Hi, On Sat, Dec 03, 2022 at 09:47:07PM +0800, Hengqi Chen via Elfutils-devel wrote: > This implements initial support for the LoongArch architecture. > > Signed-off-by: Hengqi Chen > --- > backends/ChangeLog | 7 > backends/Makefile.am | 7 +++- > backends/loongarch_ini

☠ Buildbot (GNU Toolchain): elfutils - failed test (failure) (master)

2022-12-19 Thread builder--- via Elfutils-devel
A new failure has been detected on builder elfutils-debian-arm64 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/5/builds/111 Build state: failed test (failure) Revision: 13a4d1279c5b7847049ca3045d04f2705c45ce31 Worker: debian-arm64 B