When doing something like: make install includedir=/foo/bar/baz in gcc 4.0.0 you get the following error: test -z "/include" || mkdir -p -- "/include" /usr/bin/install -c -m 644 '/home/ams/gsc/devel/gcc/src/libmudflap/mf-runtime.h' '/include/mf-runtime.h' /usr/bin/install: cannot create regular file `/include/mf-runtime.h': Permission denied make[5]: *** [install-includeHEADERS] Error 1 This applys to any platform, not just GNU. Happy hacking.
Created attachment 8955 [details] Fix for bug 21724 The following patch fixes the bug. libmudflap/ChangeLog 2005-05-23 Alfred M. Szmidt <ams@gnu.org> * Makefile.am (AM_MAKEFLAGS): Pass includedir.
Subject: Bug 21724 CVSROOT: /cvs/gcc Module name: gcc Changes by: fche@gcc.gnu.org 2005-06-14 19:18:16 Modified files: libmudflap : ChangeLog Makefile.am Makefile.in Log message: 2005-05-23 Alfred M. Szmidt <ams@gnu.org> PR libmudflap/21724 * Makefile.am (AM_MAKEFLAGS): Pass includedir. * Makefile.in: Amend. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libmudflap/ChangeLog.diff?cvsroot=gcc&r1=1.60&r2=1.61 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libmudflap/Makefile.am.diff?cvsroot=gcc&r1=1.15&r2=1.16 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libmudflap/Makefile.in.diff?cvsroot=gcc&r1=1.18&r2=1.19
thanks, sorry for the wait
Could that please be fixed on the 4.0 branch as well?
(In reply to comment #4) > Could that please be fixed on the 4.0 branch as well? Most likely but not for the 4.0.1 as the branch is frozen and only the release manager can say it can go in.
Subject: Re: [4.0 Regression] libmudflap/Makefile.am, refusing to install mf-runtime.h in includedir On Thu, Jun 16, 2005 at 03:57:27PM -0000, pinskia at gcc dot gnu dot org wrote: > > ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-16 15:57 ------- > (In reply to comment #4) > > Could that please be fixed on the 4.0 branch as well? > > Most likely but not for the 4.0.1 as the branch is frozen and only the release manager can say it can go > in. Ping. Regards, Thomas
Created attachment 11722 [details] patch for mainline
patch in 4.2-bound mainline