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/49449] New: -fmudflapth -lmudflapth problems with -fvisibility=hidden, missing posix_memalign wrapper and pointers in varargs


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: unassigned@gcc.gnu.org
        ReportedBy: pcpa@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.


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