[Bug bootstrap/12876] mprotect not declared in libgcc/_trampoline.c

andreast at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 2 18:46:00 GMT 2003


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')



More information about the Gcc-bugs mailing list