public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap
@ 2003-07-28 20:10 phil dot el at wanadoo dot fr
2003-07-28 20:12 ` [Bug libstdc++/11696] " pinskia at physics dot uc dot edu
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: phil dot el at wanadoo dot fr @ 2003-07-28 20:10 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
Summary: building basic C++ application fails with -fmudflap
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: phil dot el at wanadoo dot fr
CC: fche at redhat dot com,gcc-bugs at gcc dot gnu dot org
GCC host triplet: GNU/linux i386
probably a known problem since it's very simple and all c++
user should reach it.
#include <cstring>
$ g++ -fmudflap tmp.cpp
/usr/local/gcc-tree-ssa/include/c++/3.5-tree-ssa/cstring:79: error: `::memcpy'
has not been declared
....
mudflap #define memcpy __mfwrap_memcpy, <cstring> include <string.h> then
#undef memcpy so compiler fail on a later using ::memcpy;
I've no idea if the problem must be consided in libstdc++ or in mf-runtime.h
regards,
Philippe Elie
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11696] building basic C++ application fails with -fmudflap
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
@ 2003-07-28 20:12 ` pinskia at physics dot uc dot edu
2003-07-28 20:13 ` pinskia at physics dot uc dot edu
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-28 20:12 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Target Milestone|3.4 |tree-ssa
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11696] building basic C++ application fails with -fmudflap
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
2003-07-28 20:12 ` [Bug libstdc++/11696] " pinskia at physics dot uc dot edu
@ 2003-07-28 20:13 ` pinskia at physics dot uc dot edu
2003-07-28 20:37 ` fche at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-28 20:13 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC host triplet|GNU/linux i386 |
GCC target triplet| |i686-pc-linux-gnu
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11696] building basic C++ application fails with -fmudflap
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
2003-07-28 20:12 ` [Bug libstdc++/11696] " pinskia at physics dot uc dot edu
2003-07-28 20:13 ` pinskia at physics dot uc dot edu
@ 2003-07-28 20:37 ` fche at redhat dot com
2003-11-06 16:23 ` fche at redhat dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2003-07-28 20:37 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
fche at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-07-28 20:37:23
date| |
------- Additional Comments From fche at redhat dot com 2003-07-28 20:37 -------
Yes, the #undefs in some libstdc++ <c*> headers are a problem.
libmudflap needs to be able to rename an application's use of
these symbols (and not via linker renaming, since only instrumented
objects should be affected). I don't know how best to work around
this. Perhaps the libstdc++ headers could have #ifndef MUDFLAP
wrappers around the #undef's ...
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11696] building basic C++ application fails with -fmudflap
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
` (2 preceding siblings ...)
2003-07-28 20:37 ` fche at redhat dot com
@ 2003-11-06 16:23 ` fche at redhat dot com
2003-11-07 19:11 ` fche at redhat dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2003-11-06 16:23 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
fche at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |fche at redhat dot com
|dot org |
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11696] building basic C++ application fails with -fmudflap
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
` (3 preceding siblings ...)
2003-11-06 16:23 ` fche at redhat dot com
@ 2003-11-07 19:11 ` fche at redhat dot com
2003-11-20 21:47 ` [Bug libstdc++/11696] [mudflap] " pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2003-11-07 19:11 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
------- Additional Comments From fche at redhat dot com 2003-11-07 19:11 -------
I have a patch that activates the solaris pragma "redefine_extname"
for -fmudflap*. Using this in the mf-runtime.h header appears to
make C++ work.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11696] [mudflap] building basic C++ application fails with -fmudflap
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
` (4 preceding siblings ...)
2003-11-07 19:11 ` fche at redhat dot com
@ 2003-11-20 21:47 ` pinskia at gcc dot gnu dot org
2003-11-20 21:52 ` fche at redhat dot com
2003-11-20 21:54 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-20 21:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-20 21:47 -------
RTH said the patch was fine if turned on the parma redefine_extname all the time, you commited
with it only on when compiling with -fmudflap.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11696] [mudflap] building basic C++ application fails with -fmudflap
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
` (5 preceding siblings ...)
2003-11-20 21:47 ` [Bug libstdc++/11696] [mudflap] " pinskia at gcc dot gnu dot org
@ 2003-11-20 21:52 ` fche at redhat dot com
2003-11-20 21:54 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2003-11-20 21:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fche at redhat dot com 2003-11-20 21:52 -------
patch committed, including test case
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libstdc++/11696] [mudflap] building basic C++ application fails with -fmudflap
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
` (6 preceding siblings ...)
2003-11-20 21:52 ` fche at redhat dot com
@ 2003-11-20 21:54 ` fche at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: fche at redhat dot com @ 2003-11-20 21:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fche at redhat dot com 2003-11-20 21:54 -------
(Discussions are ongoing with rth about whether the pragma should be activated
all the time.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11696
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-11-20 21:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-28 20:10 [Bug libstdc++/11696] New: building basic C++ application fails with -fmudflap phil dot el at wanadoo dot fr
2003-07-28 20:12 ` [Bug libstdc++/11696] " pinskia at physics dot uc dot edu
2003-07-28 20:13 ` pinskia at physics dot uc dot edu
2003-07-28 20:37 ` fche at redhat dot com
2003-11-06 16:23 ` fche at redhat dot com
2003-11-07 19:11 ` fche at redhat dot com
2003-11-20 21:47 ` [Bug libstdc++/11696] [mudflap] " pinskia at gcc dot gnu dot org
2003-11-20 21:52 ` fche at redhat dot com
2003-11-20 21:54 ` fche at redhat dot com
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).