PKGBUILD for submitting Dyninst API to Arch Linux User Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LER0ever b9e9978e4b pkgbuild: apply 9.3.2 xdr fix patch 2 months ago
.gitignore inital: builds on arch and manjaro for 9.3.2 2 months ago
LICENSE.md doc(README): add readme and patch descriptions 2 months ago
PKGBUILD pkgbuild: apply 9.3.2 xdr fix patch 2 months ago
README.md doc(README): add readme and patch descriptions 2 months ago
dyninst-9.3.2-xdr-fix.patch inital: builds on arch and manjaro for 9.3.2 2 months ago
dyninst-cmake-examples-copying.patch inital: builds on arch and manjaro for 9.3.2 2 months ago

README.md

Dyninst PKGBUILD

This is the Dyninst PKGBUILD repo for AUR package “dyninst”.

Several patches are needed to compile Dyninst on Archlinux for both their latest release and git master, and the patches are all included in this repo.

Patches

dyninst-cmake-examples-copying.patch

This patch fixes the problem of trying to copy several pdb files at the CMake configure stage.

These copying should never happen at the configure stage, and they should instead be placed at the make install phase, let alone they are trying to copy them to the /usr/bin which causes a permission denied error resulting cmake to fail.

dyninst-9.3.2-xdr-fix.patch

This patch fixes the “cannot find rpc/types.h” error while compiling on a linux distro with newer Glibc.

It backports the ifdefs introduced after the 9.x release, and after the patch the build should no longer use rpc/types.h unless you have a really interesting Glibc.

Testing

I’ve tested Dyninst against multiple distros and compiler toolchains (both gcc and clang of various versions).

Known Issues for now

  • Won’t compile on a Musl-libc based distro (for example Alpine Linux)
  • Won’t compile on a distro that has custom triplet (for example Solus OS)
  • Won’t compile in parallel (make -j>1) if it needs to download missing dependencies
    • but should be good if you have dependency properly installed