public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libmudflap/49449] New: -fmudflapth -lmudflapth problems with -fvisibility=hidden, missing posix_memalign wrapper and pointers in varargs
@ 2011-06-17  7:23 pcpa at mandriva dot com.br
  2011-06-17  9:03 ` [Bug libmudflap/49449] " rguenth at gcc dot gnu.org
  2013-11-10  5:40 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: pcpa at mandriva dot com.br @ 2011-06-17  7:23 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-10  5:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-17  7:23 [Bug libmudflap/49449] New: -fmudflapth -lmudflapth problems with -fvisibility=hidden, missing posix_memalign wrapper and pointers in varargs pcpa at mandriva dot com.br
2011-06-17  9:03 ` [Bug libmudflap/49449] " rguenth at gcc dot gnu.org
2013-11-10  5:40 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).