Summary: | dev-util/oprofile-1.3.0 : bfd_support.cpp:140:53: error: cannot convert bfd* to const asection* {aka const bfd_section* } | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Andrew Savchenko <bircoph> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | drmccoy, gentoobugs, kentnl |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/p/oprofile/bugs/292/ | ||
See Also: | https://github.com/gentoo/gentoo/pull/15469 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 707898 | ||
Attachments: |
emerge-info.txt
dev-util:oprofile-1.3.0:20200202-005410.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 Fix compile with binutils 2.34 |
Description
Toralf Förster
2020-02-02 04:13:26 UTC
Created attachment 610804 [details]
emerge-info.txt
Created attachment 610806 [details]
dev-util:oprofile-1.3.0:20200202-005410.log
Created attachment 610808 [details]
emerge-history.txt
Created attachment 610810 [details]
environment
Created attachment 610812 [details]
etc.portage.tbz2
Created attachment 610814 [details]
logs.tbz2
Created attachment 610816 [details]
temp.tbz2
Created attachment 611012 [details, diff] Fix compile with binutils 2.34 Attaching a patch that fixes compilation, found in the Ubuntu repository https://launchpad.net/ubuntu/+source/oprofile/1.3.0-0ubuntu12 ( https://launchpadlibrarian.net/461801511/oprofile_1.3.0-0ubuntu11_1.3.0-0ubuntu12.diff.gz ), by Matthias Klose. (In reply to Sven Hesse from comment #8) Attached patch fixes the build failure for me. Comment on attachment 611012 [details, diff]
Fix compile with binutils 2.34
As suggested upstream, that patch is correct for binutils-2.34 but breaks compatibility with older binutils versions.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c852a7c84f28fe745437bcddc4d88b9dc44c85f5 commit c852a7c84f28fe745437bcddc4d88b9dc44c85f5 Author: Andrew Savchenko <bircoph@gentoo.org> AuthorDate: 2020-06-27 18:19:05 +0000 Commit: Andrew Savchenko <bircoph@gentoo.org> CommitDate: 2020-06-27 18:22:49 +0000 dev-util/oprofile: fix build with binutils-2.34 Use upstream patch 377610414fb6cd7ac30e4485d9d6482fcf29aca6 to fix build with new binutils api (2.34) while keeping compatibility support with older versions. Closes: https://bugs.gentoo.org/707850 Closes: https://github.com/gentoo/gentoo/pull/15469 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> dev-util/oprofile/files/binutils-2.34.patch | 157 ++++++++++++++++++++++++++++ dev-util/oprofile/oprofile-1.3.0.ebuild | 8 +- 2 files changed, 164 insertions(+), 1 deletion(-) |