From: Simon Marchi <simark@simark.ca>
To: Fangrui Song <maskray@google.com>
Cc: binutils@sourceware.org, gdb-patches@sourceware.org
Subject: Re: [PATCH] binutils, gdb: support zstd compressed debug sections
Date: Mon, 19 Sep 2022 06:54:35 -0400 [thread overview]
Message-ID: <78681d27-e5bd-c983-b521-e46af546537e@simark.ca> (raw)
In-Reply-To: <20220919085126.5m2keelsz3hzx7xf@google.com>
> I am unfamilir with autotools, but I agree that pkg-config is better. Changed to PKG_CHECK_MODULES
> and pushed the change to
> https://gitlab.com/MaskRay/binutils-gdb/-/commits/zstd
Thanks, I'll take a proper look when you post a v2.
> However, now `make all-gdb` fails to link because gdb/Makefile does not have `ZSTD_LIBS = -lzstd` ...
For GDB, you can copy what we do for debuginfod in gdb/Makefile.in,
which would mean:
ZSTD_CFLAGS = @ZSTD_CFLAGS@
ZSTD_LIBS = @ZSTD_LIBS@
And use $(ZSTD_CFLAGS) and $(ZSTD_LIBS) where appropriate.
Simon
next prev parent reply other threads:[~2022-09-19 10:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-19 4:01 Fangrui Song
2022-09-19 6:55 ` Simon Marchi
2022-09-19 8:51 ` Fangrui Song
2022-09-19 10:54 ` Simon Marchi [this message]
2022-09-19 16:45 ` Fangrui Song
2022-09-20 1:11 ` Simon Marchi
2022-09-19 9:13 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=78681d27-e5bd-c983-b521-e46af546537e@simark.ca \
--to=simark@simark.ca \
--cc=binutils@sourceware.org \
--cc=gdb-patches@sourceware.org \
--cc=maskray@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).