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 libmudflap/49550] Many libmudflap tests fail on Solaris 11/x86


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49550

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2011-07-07 10:14:05 UTC ---
Author: ro
Date: Thu Jul  7 10:14:02 2011
New Revision: 175961

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175961
Log:
    gcc:
    PR libmudflap/49550
    * gcc.c (MFWRAP_SPEC): Also wrap mmap64.

    libmudflap:
    PR libmudflap/49550
    * mf-runtime.c (__wrap_main) [__sun__ && __svr4__]: Don't register
    stdin, stdout, stderr.
    Register __ctype, __ctype_mask.

    * configure.ac: Check for mmap64.
    Check for rawmemchr, stpcpy, mempcpy.
    * configure: Regenerate.
    * config.h.in: Regenerate.
    * mf-hooks1.c [HAVE_MMAP64] (__mf_0fn_mmap64): New function.
    (mmap64): New wrapper function.
    * mf-impl.h (__mf_dynamic_index) [HAVE_MMAP64]: Add dyn_mmap64.
    * mf-runtime.c (__mf_dynamic) [HAVE_MMAP64]: Handle mmap64.

    * mf-hooks2.c [HAVE_GETMNTENT && HAVE_SYS_MNTTAB_H]: Implement
    getmntent wrapper.

    * mf-hooks3.c (_REENTRANT): Define.

    * testsuite/libmudflap.c/heap-scalestress.c (SCALE): Reduce to 10000.

    * testsuite/libmudflap.c/pass-stratcliff.c: Include ../config.h.
    (MIN): Define.
    Use HAVE_RAWMEMCHR, HAVE_STPCPY, HAVE_MEMPCPY as guards.

    * testsuite/libmudflap.c/pass47-frag.c: Expect __ctype warning on
    *-*-solaris2.*.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcc.c
    trunk/libmudflap/ChangeLog
    trunk/libmudflap/config.h.in
    trunk/libmudflap/configure
    trunk/libmudflap/configure.ac
    trunk/libmudflap/mf-hooks1.c
    trunk/libmudflap/mf-hooks2.c
    trunk/libmudflap/mf-hooks3.c
    trunk/libmudflap/mf-impl.h
    trunk/libmudflap/mf-runtime.c
    trunk/libmudflap/testsuite/libmudflap.c/heap-scalestress.c
    trunk/libmudflap/testsuite/libmudflap.c/pass-stratcliff.c
    trunk/libmudflap/testsuite/libmudflap.c/pass47-frag.c


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