@NonerKao I've reverted the dependency on doxygen-git. You can just use doxygen in the repo now. Also, you don't have to manually modify the PKGBUILD to get my glibc fix. Just rebuild the package and the pkgver will be autobumped. See https://wiki.archlinux.org/title/VCS_package_guidelines .
Search Criteria
Package Details: dynamorio-git 10.93.r6456.577db95d9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/dynamorio-git.git (read-only, click to copy) |
---|---|
Package Base: | dynamorio-git |
Description: | A dynamic instrumentation tool platform |
Upstream URL: | https://github.com/DynamoRIO/dynamorio |
Licenses: | BSD, LGPL2.1, custom:libelftc |
Provides: | dynamorio |
Submitter: | MikeWalrus |
Maintainer: | MikeWalrus |
Last Packager: | MikeWalrus |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2023-07-11 04:52 (UTC) |
Last Updated: | 2024-07-19 06:32 (UTC) |
Dependencies (11)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR)
- lz4 (lz4-gitAUR)
- perl (perl-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR)
- snappy (snappy-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- cmake (cmake-gitAUR) (make)
- doxygen (doxygen-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
Required by (0)
Sources (4)
Latest Comments
MikeWalrus commented on 2024-04-01 02:04 (UTC) (edited on 2024-04-01 02:06 (UTC) by MikeWalrus)
NonerKao commented on 2024-03-30 06:41 (UTC) (edited on 2024-03-30 06:42 (UTC) by NonerKao)
TL;DR the upstream has fixed an SIGFPE issue with glibc 2.39. Verified for the use of drrun and another tool drmemory.
Bumped into issues as below when using drmemory
$ /opt/dynamorio/drmemory/bin64/drmemory -- /usr/bin/ls
Floating point exception (core dumped)
It turns out it is an pretty old issue due to glibc. References: * https://groups.google.com/g/dynamorio-users/c/CKQD11eXyfs * https://github.com/DynamoRIO/dynamorio/issues/6693 (This recent fix should be able to workaround the problem. In short, when executing __libc_early_init, deciding stack size with __nptl_tls_static_size_for_stack, there is a divide-by-zero signal because drmemory and other utilities don't rely on general ld-linux.so to initialize the divisor properly...)
After manually changing the commit SHA in PKGBUILD to current HEAD of the upstream master, Doxygen complaints at the final stage of build(). I didn't fix my doxygen but just skipped it.
MikeWalrus commented on 2023-10-19 06:43 (UTC) (edited on 2023-10-23 03:29 (UTC) by MikeWalrus)
@gault I'll try create a PR in the doxygen repo to fix this error. (Edit: merged. Now builds successfully with doxygen-git)
gault commented on 2023-10-19 06:39 (UTC) (edited on 2023-10-19 06:49 (UTC) by gault)
@MikeWalrus
Thanks for the quick reply. I replaced doxygen with doxygen-git and tried a clean install of this package. I got this error:
[ 82%] Built target htmldocs
[ 83%] Generating embed/Doxyfile
[ 83%] Generating embed/html/index.html
CMake Error at /home/gault/.cache/yay/dynamorio-git/src/dynamorio-git/api/docs/CMake_rundoxygen.cmake:338 (message):
Cannot find "page_user_docs" menu file
make[2]: *** [api/docs/CMakeFiles/embed_docs.dir/build.make:488: api/docs/embed/html/index.html] Error 1
make[2]: *** Deleting file 'api/docs/embed/html/index.html'
make[1]: *** [CMakeFiles/Makefile2:2646: api/docs/CMakeFiles/embed_docs.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: dynamorio-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
dynamorio-git - exit status 4
I tried downloading the latest source again from https://github.com/DynamoRIO/dynamorio and commented out the FATAL_ERROR at line 388 of api/docs/CMake_rundoxygen.cmake and managed to build it, so I suppose this workaround will do for now.
Edit: Just noticed you already pinned a comment mentioning that you're working on this.
MikeWalrus commented on 2023-10-18 11:25 (UTC) (edited on 2023-10-18 17:36 (UTC) by MikeWalrus)
I'm working on this:
CMake Error at /home/mike/.cache/paru/clone/dynamorio-git/src/dynamorio-git/api/docs/CMake_rundoxygen.cmake:338 (message):
Cannot find "page_user_docs" menu file
(Caused byhttps://github.com/doxygen/doxygen/commit/cb2c983632802521480a1fd39d31887dacdf9f05)
MikeWalrus commented on 2023-10-18 11:06 (UTC)
@gault It's caused by a bug in Doxygen: https://github.com/doxygen/doxygen/issues/10356 . The fix has been merged but you'll have to use doxygen-git or wait for a new version of doxygen.
gault commented on 2023-10-18 09:07 (UTC) (edited on 2023-10-18 09:10 (UTC) by gault)
[ 82%] Generating Doxyfile
[ 82%] Generating html/index.html
CMake Error at /home/gault/.cache/yay/dynamorio-git/src/dynamorio-git/api/docs/CMake_rundoxygen.cmake:154 (message):
*** /usr/bin/doxygen failed: ***
/home/gault/.cache/yay/dynamorio-git/src/dynamorio-git/api/docs/home.dox:38:
warning: @copybrief or @copydoc target 'page_home\copydetails' not found
/home/gault/.cache/yay/dynamorio-git/src/dynamorio-git/api/docs/home.dox:38:
warning: @copybrief or @copydoc target 'page_home\copydetails' not found
make[2]: *** [api/docs/CMakeFiles/htmldocs.dir/build.make:488: api/docs/html/index.html] Error 1
make[2]: *** Deleting file 'api/docs/html/index.html'
make[1]: *** [CMakeFiles/Makefile2:2616: api/docs/CMakeFiles/htmldocs.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: dynamorio-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
dynamorio-git - exit status 4
Does anyone else face this issue when installing? I face the same issue when building from source at https://github.com/DynamoRIO/dynamorio.
My uname -a output: Linux monitor 6.5.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 10 Oct 2023 21:10:21 +0000 x86_64 GNU/Linux
I'm not familiar with doxygen so I'm not sure how to fix the home.dox file, or if it's possible to just ignore the doxygen documentation in the build process.
MikeWalrus commented on 2023-07-11 04:56 (UTC)
It is expected to see warnings like the ones below since this is not an official build and does not include 32-bit support. See https://github.com/DynamoRIO/dynamorio/issues/1758.
WARNING: cannot find /opt/dynamorio-git/bin64/../lib32/debug/libdynamorio.so: is this an incomplete installation?
WARNING: cannot find /opt/dynamorio-git/bin64/../lib32/release/libdynamorio.so: is this an incomplete installation?
WARNING: /opt/dynamorio-git/bin64/.. does not appear to be a valid DynamoRIO root
WARNING: cannot find /opt/dynamorio-git/bin64/../lib32/debug/libdynamorio.so: is this an incomplete installation?
WARNING: cannot find /opt/dynamorio-git/bin64/../lib32/release/libdynamorio.so: is this an incomplete installation?
WARNING: /opt/dynamorio-git/bin64/.. does not appear to be a valid DynamoRIO root
Pinned Comments
MikeWalrus commented on 2023-07-11 04:56 (UTC)
It is expected to see warnings like the ones below since this is not an official build and does not include 32-bit support. See https://github.com/DynamoRIO/dynamorio/issues/1758.