|
From: Christian P. <tr...@ge...> - 2005-04-15 06:04:04
|
Hi all, I'm just getting this error when running valgrind on my fresh app. error while loading shared libraries: libgcrypt.so.11: cannot enable=20 executable stack as shared object requires: Invalid argument I know I once ran in as well, but can't remember how I fixed it. So, how do I fix this / work around this? Regards, Christian Parpart. =2D-=20 Netiquette: http://www.ietf.org/rfc/rfc1855.txt 08:02:34 up 22 days, 21:08, 0 users, load average: 0.03, 0.04, 0.00 |
|
From: Jeremy F. <je...@go...> - 2005-04-15 22:00:29
|
Christian Parpart wrote:
>I'm just getting this error when running valgrind on my fresh app.
>
>error while loading shared libraries: libgcrypt.so.11: cannot enable
>executable stack as shared object requires: Invalid argument
>
>I know I once ran in as well, but can't remember how I fixed it.
>
>So, how do I fix this / work around this?
>
Can you send the results of --trace-syscalls=yes? I think this is a
known bug in mprotect().
J
|
|
From: Christian P. <tr...@ge...> - 2005-04-16 01:17:00
|
On Saturday 16 April 2005 12:00 am, Jeremy Fitzhardinge wrote:
> Christian Parpart wrote:
> >I'm just getting this error when running valgrind on my fresh app.
> >
> >error while loading shared libraries: libgcrypt.so.11: cannot enable
> >executable stack as shared object requires: Invalid argument
> >
> >I know I once ran in as well, but can't remember how I fixed it.
> >
> >So, how do I fix this / work around this?
>
> Can you send the results of --trace-syscalls=3Dyes? I think this is a
> known bug in mprotect().
You didn't say paste, did you? well, that's sad, please paste the discussab=
le=20
fragment from the the valgrind trace output[1].
I hope it is a bug (that *can* be easily fixed).
while redirecting logs to [1], stdout/err looked like this:
=2D-log-file=3Dval-sctrace.log --trace-syscalls=3Dyes .libs/lt-emerge
=2Elibs/lt-emerge: error while loading shared libraries: libgcrypt.so.11: c=
annot=20
enable executable stack as shared object requires: Invalid argument
/home/trapni/bin/valize.sh: line 11: 25048 Segmentation fault valgrind=
=20
${args} "$@"
Many thanks,
Christian Parpart.
[1] http://dev.gentoo.org/~trapni/public/val-sctrace.log.pid25048
=2D-=20
Netiquette: http://www.ietf.org/rfc/rfc1855.txt
03:08:21 up 23 days, 16:14, 1 user, load average: 0.50, 0.41, 0.32
|