This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/12876] mprotect not declared in libgcc/_trampoline.c
- From: "andreast at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2003 18:46:25 -0000
- Subject: [Bug bootstrap/12876] mprotect not declared in libgcc/_trampoline.c
- References: <20031102180459.12876.lucier@math.purdue.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12876
------- Additional Comments From andreast at gcc dot gnu dot org 2003-11-02 18:46 -------
The error is: implicit declaration of function mprotect.
Don't know if this is the right fix. See the comment in the code sol2.h line 172ff.
Also, this include doesn't fix the whole story. Later errors are popping up.
unwind-dw2.c:1286 missing braces around initializer (near initialization for
'once_regsizes.__pthread_once_pad')