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

           Summary: -fmudflapth -lmudflapth problems with
                    -fvisibility=hidden, missing posix_memalign wrapper
                    and pointers in varargs
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: libmudflap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: p...@mandriva.com.br


These are just issues I found when attempting
to use mudflap:
o Mudflap fails to find symbol main in a test
  application due to propagating -fvisibility=hidden
  in CFLAGS.
o The code also uses posix_memalign to allocate
  memory on 16 bytes boundaries, what causes a
  massive amount of violation warnings.
o It tells about faults when receiving pointers as
  arguments to a varargs function.

  Overall I adapted the code I did want to test,
so this is just a suggestion for enhancement. At
least adding a posix_memalign wrapper should be
trivial, but not sure about the others. Tested
on x86_64 gcc version 4.6.0 20110610.

Reply via email to