This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/48318] Memory access error by "build/genhooks"?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]