gdb: prevent installation of libbfd.so and libopcode.so
PATCH v2 1/1 gdb: prevent installation of libbfd.so and libopcode.so
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.
---
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(-)
package/gdb/gdb.mk +3 -1
@@ -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
Signature · 1 line
2.15.0
PATCH v2 1/1 gdb: prevent installation of libbfd.so and libopcode.so
Hello,
Quoted 8 lines · Peter Seiderer
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.
Quoted 8 lines
Signed-off-by Peter Seiderer <[email protected]>---
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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 gdb: prevent installation of libbfd.so and libopcode.so
In reply to Peter SeidererQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Seiderer <[email protected]> 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).
Quoted 8 lines
Prevent the installation by using the '--disable-install-libbfd' configure option.
Signed-off-by Peter Seiderer <[email protected]>---
Changes v1 -> v2:
- enhance commit log (suggested by Thomas Petazzoni)
- use --disable-install-libbfd instead of --disable-shared
Committed to 2017.11.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/1 gdb: prevent installation of libbfd.so and libopcode.so
In reply to Peter SeidererQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Seiderer <[email protected]> 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).
Quoted 8 lines
Prevent the installation by using the '--disable-install-libbfd' configure option.
Signed-off-by Peter Seiderer <[email protected]>---
Changes v1 -> v2:
- enhance commit log (suggested by Thomas Petazzoni)
- use --disable-install-libbfd instead of --disable-shared
Committed to 2017.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard