This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/49449] New: -fmudflapth -lmudflapth problems with -fvisibility=hidden, missing posix_memalign wrapper and pointers in varargs
- From: "pcpa at mandriva dot com.br" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Jun 2011 07:23:22 +0000
- Subject: [Bug libmudflap/49449] New: -fmudflapth -lmudflapth problems with -fvisibility=hidden, missing posix_memalign wrapper and pointers in varargs
- Auto-submitted: auto-generated
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.