* [Buildroot] [PATCH v2] gdb: prevent installation of libbfd.so and libopcode.so
@ 2017-12-08 21:29 Peter Seiderer
2017-12-17 9:19 ` Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Peter Seiderer @ 2017-12-08 21:29 UTC (permalink / raw)
To: buildroot
The gdb install target installs dynamic versions of libbfd and
libopcode, accidentally overwriting the binutils provided versions
(gdb itself links against the bundled static ones to avoid
version problems, so the dynamic ones are un-needed).
Prevent the installation by using the '--disable-install-libbfd'
configure option.
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
- enhance commit log (suggested by Thomas Petazzoni)
- use --disable-install-libbfd instead of --disable-shared
---
package/gdb/gdb.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 7e86ba0c7e..0f3846687e 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -55,9 +55,11 @@ endif
# When gdb sources are fetched from the binutils-gdb repository, they
# also contain the binutils sources, but binutils shouldn't be built,
-# so we disable it.
+# so we disable it (additional the option --disable-install-libbfd
+# prevents the un-wanted installation of libobcodes.so and libbfd.so).
GDB_DISABLE_BINUTILS_CONF_OPTS = \
--disable-binutils \
+ --disable-install-libbfd \
--disable-ld \
--disable-gas
--
2.15.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2] gdb: prevent installation of libbfd.so and libopcode.so
2017-12-08 21:29 [Buildroot] [PATCH v2] gdb: prevent installation of libbfd.so and libopcode.so Peter Seiderer
@ 2017-12-17 9:19 ` Thomas Petazzoni
2017-12-27 16:35 ` Peter Korsgaard
2017-12-30 23:06 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-12-17 9:19 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 8 Dec 2017 22:29:52 +0100, Peter Seiderer wrote:
> The gdb install target installs dynamic versions of libbfd and
> libopcode, accidentally overwriting the binutils provided versions
> (gdb itself links against the bundled static ones to avoid
> version problems, so the dynamic ones are un-needed).
>
> Prevent the installation by using the '--disable-install-libbfd'
> configure option.
>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
> Changes v1 -> v2:
> - enhance commit log (suggested by Thomas Petazzoni)
> - use --disable-install-libbfd instead of --disable-shared
> ---
> package/gdb/gdb.mk | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Thanks a lot for the much clearer explanation, now everything is clear.
Patch applied, thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2] gdb: prevent installation of libbfd.so and libopcode.so
2017-12-08 21:29 [Buildroot] [PATCH v2] gdb: prevent installation of libbfd.so and libopcode.so Peter Seiderer
2017-12-17 9:19 ` Thomas Petazzoni
@ 2017-12-27 16:35 ` Peter Korsgaard
2017-12-30 23:06 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-12-27 16:35 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:
> The gdb install target installs dynamic versions of libbfd and
> libopcode, accidentally overwriting the binutils provided versions
> (gdb itself links against the bundled static ones to avoid
> version problems, so the dynamic ones are un-needed).
> Prevent the installation by using the '--disable-install-libbfd'
> configure option.
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
> Changes v1 -> v2:
> - enhance commit log (suggested by Thomas Petazzoni)
> - use --disable-install-libbfd instead of --disable-shared
Committed to 2017.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH v2] gdb: prevent installation of libbfd.so and libopcode.so
2017-12-08 21:29 [Buildroot] [PATCH v2] gdb: prevent installation of libbfd.so and libopcode.so Peter Seiderer
2017-12-17 9:19 ` Thomas Petazzoni
2017-12-27 16:35 ` Peter Korsgaard
@ 2017-12-30 23:06 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-12-30 23:06 UTC (permalink / raw)
To: buildroot
>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:
> The gdb install target installs dynamic versions of libbfd and
> libopcode, accidentally overwriting the binutils provided versions
> (gdb itself links against the bundled static ones to avoid
> version problems, so the dynamic ones are un-needed).
> Prevent the installation by using the '--disable-install-libbfd'
> configure option.
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
> Changes v1 -> v2:
> - enhance commit log (suggested by Thomas Petazzoni)
> - use --disable-install-libbfd instead of --disable-shared
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-12-30 23:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-08 21:29 [Buildroot] [PATCH v2] gdb: prevent installation of libbfd.so and libopcode.so Peter Seiderer
2017-12-17 9:19 ` Thomas Petazzoni
2017-12-27 16:35 ` Peter Korsgaard
2017-12-30 23:06 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox