This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/48318] Memory access error by "build/genhooks"?
- From: "Scott at sympoiesis dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Apr 2013 01:58:21 +0000
- Subject: [Bug other/48318] Memory access error by "build/genhooks"?
- Auto-submitted: auto-generated
- References: <bug-48318-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48318
Scott L. Burson <Scott at sympoiesis dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Scott at sympoiesis dot com
--- Comment #9 from Scott L. Burson <Scott at sympoiesis dot com> 2013-04-02 01:58:21 UTC ---
If anyone still cares, I figured out what this was, having run into it too.
The clue is "bad permissions for mapped region". A look at /proc/PID/maps
confirms this: the region of genhooks that contains strcpy@@GLIBC_2.2.5 is
mapped without execute permission.
It appears that the openSUSE 11.4 version of ld is too old for recent versions
of GCC. Installing binutils 2.23.2 has fixed the problem for me.