|Summary:||libmudflap installs include/mf-runtime.h in version-independent path|
|Product:||gcc||Reporter:||Gerald Pfeifer <gerald>|
|Component:||libmudflap||Assignee:||Frank Ch. Eigler <fche>|
|Severity:||normal||CC:||corsepiu, fche, gcc-bugs|
|Build:||Known to work:||4.2.0|
|Known to fail:||4.0.2 4.1.1||Last reconfirmed:||2006-02-10 11:52:01|
|Bug Depends on:|
Description Gerald Pfeifer 2004-10-31 05:01:46 UTC
libmudflap installs it's mf-runtime.h include directly into $prefix/include. This is the only include file provided by GCC that does that, all other include files are properly put into a version-specific (sub)directory. Failure to do so, as in this case, will result in problems when one wants to install various versions of GCC into the same $prefix.
Comment 1 Andrew Pinski 2005-05-01 14:01:44 UTC
Comment 2 Gerald Pfeifer 2005-08-29 20:05:11 UTC
Frank, would you mind having a look at this?
Comment 3 Gerald Pfeifer 2009-06-01 20:32:47 UTC
This has been fixed for GCC 4.2.0, I believe by the following patch: 2006-06-21 Frank Ch. Eigler <email@example.com> PR 21274 mf-runtime.h installation based on ssp patch for PR 26473 from Mark Mitchell <firstname.lastname@example.org>. * configure.ac (ACX_NONCANONICAL_TARGET): Use it. * Makefile.am (target_noncanonical): Define. (libsubincludedir): New variable. (nobase_libsubinclude_HEADERS): Add mf-runtime.h. (include_HEADERS): Remove. * configure, aclocal.m4, config.h.in: Regenerated. * Makefile.in, testsuite/Makefile.in: Likewise. * mf-runtime.h: Add #ifndef protection for conflicting _REENTRANT and _THREAD_SAFE redefinition values. Thus marking as fixed, after all those years.
Comment 4 Uroš Bizjak 2009-06-02 07:57:57 UTC