1 |
On Sun, 2008-06-01 at 02:08 +0530, Ashish Shukla आशीष शुक्ल wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I'm running a gentoo-hardened (amd64) system compiled with PIE |
5 |
> support. Now I want to debug those PIE executables, any recommendations |
6 |
> how to debug PIE executables ? |
7 |
> |
8 |
> I tried gdb-6.8 + patches from Fedora GNU/Linux 9 beta and tried to |
9 |
> build it. I got that built successfully, and I'm also able to debug PIE |
10 |
> applications successfully. But the issue, I'm facing is that I'm not |
11 |
> able to build the gdb-6.8+patches combination using an ebuild |
12 |
> successfully. The resultant gdb from ebuild, comes out to be not PIE |
13 |
> debugging capable, whereas gdb built from the same flags using |
14 |
> "./configure && make" works fine. |
15 |
> |
16 |
> Following is the URL of the bzip2-ed tarball containg ebuild, and |
17 |
> patches tarball: |
18 |
> |
19 |
> http://wahjava.googlepages.com/gdb-6.8-ebuild.tar.bz2 |
20 |
> md5sum: 18903f0f0c0507d580b6faa2f2667b9c |
21 |
> size: 121686 |
22 |
> |
23 |
> To build the gdb-6.8 without going through ebuild extract |
24 |
> gdb-6.8.tar.bz2, and apply all patches using 'patch -p1' in root of |
25 |
> gdb-6.8 directory. |
26 |
> |
27 |
> Is there any error in my ebuild ? or am I missing anything ? Or any |
28 |
> other recommended way to debug PIE executables in Gentoo Hardened ? |
29 |
> |
30 |
> TIA |
31 |
|
32 |
Please see. |
33 |
http://bugs.gentoo.org/show_bug.cgi?id=223533 |
34 |
|
35 |
If toolchain@ does not pick it up on it's own after a *while* I'll poke |
36 |
at it. |
37 |
|
38 |
|
39 |
-- |
40 |
gentoo-hardened@l.g.o mailing list |