package/binutils: install libopcodes for perf
PATCH 1/1 package/binutils: install libopcodes for perf
After 5.6.x linux-tool perf installed, it can't be executed due to lack of libopcodes:
perf: ...libopcodes-2.33.1.so: cannot open shared object file
--- package/binutils/binutils.mk | 1 + 1 file changed, 1 insertion(+)
package/binutils/binutils.mk +1 -0
@@ -112,6 +112,7 @@ endef ifneq ($(BR2_PACKAGE_BINUTILS_TARGET),y) define BINUTILS_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(TARGET_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/opcodes DESTDIR=$(TARGET_DIR) install $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install endef endif
Signature · 1 line
2.25.1
Yann E. MORIN
AppliedPATCH 1/1 package/binutils: install libopcodes for perf
Lecopzer, All,
On 2020-05-14 01:02 +0800, Lecopzer Chen spake thusly:
Quoted 6 lines
After 5.6.x linux-tool perf installed, it can't be executed due to lack of libopcodes:
perf: ...libopcodes-2.33.1.so: cannot open shared object file
Signed-off-by Lecopzer Chen <[email protected]>
Applied to master, with an expanded commit log to reference the origianl commit adding libopcodes to staging. Thanks!
Regards,
Yann E. MORIN.
Quoted 23 lines
--- package/binutils/binutils.mk | 1 + 1 file changed, 1 insertion(+)package/binutils/binutils.mk +1
-0@@ -112,6 +112,7 @@ endef ifneq ($(BR2_PACKAGE_BINUTILS_TARGET),y) define BINUTILS_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(TARGET_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/opcodes DESTDIR=$(TARGET_DIR) install $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install endef endifSignature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/binutils: install libopcodes for perf
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Lecopzer, All,
On 2020-05-14 01:02 +0800, Lecopzer Chen spake thusly:Quoted 3 lines
After 5.6.x linux-tool perf installed, it can't be executed due to lack of libopcodes:
Quoted 6 lines
Quoted 3 lines
perf: ...libopcodes-2.33.1.so: cannot open shared object file
Signed-off-by Lecopzer Chen <[email protected]>Applied to master, with an expanded commit log to reference the origianl commit adding libopcodes to staging. Thanks!
Committed to 2020.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard