From: "H.J. Lu" <hjl.tools@gmail.com>
To: Simon Marchi <simark@simark.ca>
Cc: Andreas Schwab <schwab@linux-m68k.org>,
"H.J. Lu via Binutils" <binutils@sourceware.org>,
Aaron Merey <amerey@redhat.com>,
GCC Patches <gcc-patches@gcc.gnu.org>,
Tom Tromey <tom@tromey.com>, GDB <gdb-patches@sourceware.org>
Subject: Re: V2 [PATCH] PKG_CHECK_MODULES: Check if $pkg_cv_[]$1[]_LIBS works
Date: Tue, 28 Jul 2020 10:26:41 -0700 [thread overview]
Message-ID: <CAMe9rOpGXQncKUD=jcusjA+HuEr2R8TEq7Mh82of7vUgbZ0VFg@mail.gmail.com> (raw)
In-Reply-To: <b7579953-7824-c97d-4f26-cf70d966a55c@simark.ca>
On Tue, Jul 28, 2020 at 9:28 AM Simon Marchi <simark@simark.ca> wrote:
>
> On 2020-07-28 12:07 p.m., H.J. Lu via Gdb-patches wrote:
> > What doesn't work with my pkg.m4 change?
>
> (1) It deviates from upstream. I don't think we should do this unless
> absolutely needed. That's not the case here, the change is just there
> because you don't want to set up pkg-config properly for cross-compiling.
Since when binutils can't fix issues in other packages?
> (2) I don't think it's necessarily bad to try to do a link to confirm the lib
> is indeed there, but as I said earlier I don't think that doing as if the
> package was not there is the right response. This can happen if you have
> a mis-configured pkg-config (like you have) or a broken installation (for
> example, the .pc is there but the lib is not). In either case, there's
> something wrong with the build environment and I think it's more useful
> to abort and tell the user rather than silently failing.
>
> Point 2 should be discussed upstream anyway, there's no point making a decision
> local to binutils-gdb.
>
Unlike gdb, binutils should have as few external depecies as possible.
debuginfod brings in some so many external depecies.
--
H.J.
next prev parent reply other threads:[~2020-07-28 17:27 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200502022903.175852-1-amerey@redhat.com>
[not found] ` <3d9da16939fa6b503188033b56d30531e03d5d2a.camel@redhat.com>
2020-05-05 21:23 ` [PATCH] config/debuginfod.m4: Use PKG_CHECK_MODULES Aaron Merey
2020-05-08 20:56 ` Tom Tromey
2020-07-16 22:17 ` Aaron Merey
2020-07-16 22:37 ` Aaron Merey
2020-07-19 15:43 ` Simon Marchi
2020-07-21 15:20 ` Tom Tromey
2020-07-21 18:11 ` Aaron Merey
2020-07-24 20:03 ` Aaron Merey
2020-07-25 16:01 ` H.J. Lu
2020-07-27 15:31 ` [PATCH] config/debuginfod.m4: Restore AC_CHECK_LIB check H.J. Lu
2020-07-27 16:11 ` Aaron Merey
2020-07-27 19:14 ` [PATCH] PKG_CHECK_MODULES: Check if $pkg_cv_[]$1[]_LIBS works H.J. Lu
2020-07-27 19:32 ` V2 " H.J. Lu
2020-07-28 10:45 ` H.J. Lu
2020-07-28 12:46 ` Simon Marchi
2020-07-28 13:33 ` H.J. Lu
2020-07-28 13:51 ` Andreas Schwab
2020-07-28 13:56 ` H.J. Lu
2020-07-28 14:01 ` Simon Marchi
2020-07-28 14:11 ` H.J. Lu
2020-07-28 14:34 ` Simon Marchi
2020-07-28 15:05 ` H.J. Lu
2020-07-28 15:13 ` Simon Marchi
2020-07-28 16:07 ` H.J. Lu
2020-07-28 16:28 ` Simon Marchi
2020-07-28 17:26 ` H.J. Lu [this message]
2020-07-28 17:43 ` Simon Marchi
2020-07-28 18:31 ` H.J. Lu
2020-07-28 18:47 ` Simon Marchi
2020-07-28 18:57 ` H.J. Lu
2020-07-28 14:54 ` Andreas Schwab
2020-07-28 13:53 ` H.J. Lu
2020-07-28 13:54 ` Simon Marchi
2020-07-28 12:54 ` Mark Wielaard
2020-07-28 13:27 ` [PATCH] PKG_CHECK_MODULES: Properly check " H.J. Lu
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='CAMe9rOpGXQncKUD=jcusjA+HuEr2R8TEq7Mh82of7vUgbZ0VFg@mail.gmail.com' \
--to=hjl.tools@gmail.com \
--cc=amerey@redhat.com \
--cc=binutils@sourceware.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=schwab@linux-m68k.org \
--cc=simark@simark.ca \
--cc=tom@tromey.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