https://bugs.kde.org/show_bug.cgi?id=518482
Bug ID: 518482
Summary: FreeBSD: assert in parse_procselfmaps when built with
GNU binutils
Classification: Developer tools
Product: valgrind
Version First 3.27 GIT
Reported In:
Platform: Other
OS: FreeBSD
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I saw this problem on cfarm430
When Valgrind is built only with LLVM the binaries have 3 PT_LOAD segments, RO,
RX and RW.
When it is built with GNU binutils there are just two, RX and RW.
With the LLVM version, the kernel loaded mmaps the RX and RW segments as file
backed. For the RO segment it does something like map it RO and then remap it
as swap. parse_procselfmaps has a bodge to handle that but it assumes either
clang+ld.lld or gcc+ld.bfd.
I need to find a way to get it to work with clang+ld.bfd.
--
You are receiving this mail because:
You are watching all bug changes.