You are not logged in.
Pages: 1
Hello, thanks in advance!
I'm relatively new to ArchLinux. I installed Pwngdb and everything works as it used in my old Linux distro, unless when I try to look for heap information, I get this error:
Cannot get main_arena's symbol address. Make sure you install libc debug file (libc6-dbg & libc6-dbg:i386 for debian package).
I've been looking around but anything helped. I know it has to do something with PKGBUILD and changing the debug flag (Debug - Getting Traces), but I've tried everything to no avail.
Any help will be appreciated!
~ carlesm
Offline
I've been looking around but anything helped. I know it has to do something with PKGBUILD and changing the debug flag (Debug - Getting Traces), but I've tried everything to no avail.
Please detail what exactly you have tried and what results those efforts have produced.
Offline
As ArchLinux documentation says, I edited /etc/makepkg.conf changing options variable to this:
OPTIONS=(!strip docs !libtool !staticlibs emptydirs zipman purge !optipng !upx debug)
Changing !debug and strip to debug and !strip respectively. I then tried reinstalling glibc using pacman -S glibc, but didn't work.
Offline
Offline
Build the package from source using makepkg while in the PKGBUILD's directory
Thanks! But what's the PKGBUILD's directory if I want to install glibc with debug information?
Offline
Thanks! But what's the PKGBUILD's directory if I want to install glibc with debug information?
See the links in step 2.
Offline
carlesm wrote:Thanks! But what's the PKGBUILD's directory if I want to install glibc with debug information?
See the links in step 2.
Tanks again, I was able to download the source package using asp, but it is glibc version 2.27. How can I specify version 2.26 to download?
Offline
"asp checkout" should give you a git repository. Then you can use "git log" and "git checkout" to choose a specific version.
Edit: You can find the version which is currently in [core] in the glibc/repos/core-x86_64 directory having to choose a different git commit.
Last edited by progandy (2018-04-19 12:04:48)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Hrm... the relevant glibc files are not particularly striped in Arch. Not sure what is happening there.
Offline
Pages: 1