Opened 12 years ago

Last modified 8 years ago

#35053 assigned enhancement

gcc47, gcc48: mudflap does not work

Reported by: akimd (Akim Demaille) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: gcc47, gcc48

Description

GCC is not properly installed with mudflap support (neither 4.7 nor 4.8).

$ cat foo.c
int
main ()
{
  return 0;
}
$ gcc-mp-4.7 -fmudflap foo.c
cc1: fatal error: mf-runtime.h: No such file or directory
compilation terminated.

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mww@… removed
Owner: changed from macports-tickets@… to mww@…
Port: gcc48 added
Summary: gcc47: mudflap does not workgcc46, gcc47: mudflap does not work
Type: defectenhancement

From what I can tell, mudflap has been around far longer than version 4.7 hasn't it?

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: gcc46, gcc47: mudflap does not workgcc47, gcc48: mudflap does not work

comment:3 Changed 12 years ago by akimd (Akim Demaille)

Yes. I don't know exactly when it was introduced, but for instance in http://gcc.gnu.org/gcc-4.1/changes.html the following sentence shows that it already exists:

Some built-in functions have been fortified to protect them against various buffer overflow (and format string) vulnerabilities. Compared to the mudflap bounds checking feature, the safe builtins have far smaller overhead. This means that programs built using safe builtins should not experience any measurable slowdown.

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Mudflap has been removed as of gcc 4.9, as it has been replaced by the sanitizers.

comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…
Status: newassigned
Note: See TracTickets for help on using tickets.