This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Results for gcc-2.95 19990529 (prerelease) testsuite on
- To: dave at hiauly1 dot hia dot nrc dot ca
- Subject: Re: Results for gcc-2.95 19990529 (prerelease) testsuite on
- From: craig at jcb-sc dot com
- Date: 4 Jun 1999 18:01:51 -0000
- Cc: law at cygnus dot com, cheewai_yeung at yahoo dot com, egcs-patches at egcs dot cygnus dot com
- Cc: craig at jcb-sc dot com
- References: <199906041518.LAA02211@hiauly1.hia.nrc.ca>
>2) When installing, the file lang-f77 is created and then removed at
> the root of the prefix directory. In my case, this directory is
> only writeable by root and I am forced to install as root. Could
> the file lang-f77 be put somewhere else (e.g., /tmp)?
I'm a bit unsure as to why that's a problem. Presumably if you're
installing, you have `rw' access to the prefix directory *tree*, but
perhaps the issue is that `root' gave `rw' access only to the
*subdirs* of that tree?
If that's so, perhaps the enclosed patch will solve the problem.
Please check it out, not only on an existing source/build tree,
but with a fresh build. (I won't have time to do this myself, today,
as I'm about to leave for several hours.)
Unless a problem shows up, I'm happy to commit this patch to the
mainline. But, Jeff, is this worth putting on the release branch
at this point? Either way is fine by me -- I'd like to fix this
stuff, given how much I (and others) have already invested in
trying to eliminate these kinds of problems, but I don't want to
destabilize the release, and am willing to go along with your
sense of whether this patch would do so at this point.
tq vm, (burley)
Fri Jun 4 13:56:56 1999 Craig Burley <craig@jcb-sc.com>
* Make-lang.in: Use libsubdir, not prefix, to store
temporary lang-f77 `flag' file.
*** g77-e/gcc/f/Make-lang.in.~1~ Sat Apr 17 07:09:19 1999
--- g77-e/gcc/f/Make-lang.in Fri Jun 4 13:56:11 1999
*************** f77.install-normal:
*** 311,318 ****
f77.install-common:
case "$(LANGUAGES)" in \
! *[fF]77*) touch $(prefix)/lang-f77;; \
! *) rm -f $(prefix)/lang-f77;; \
esac
! -if [ -f $(prefix)/lang-f77 -a -f f771$(exeext) ] ; then \
if [ -f g77-cross$(exeext) ] ; then \
rm -f $(bindir)/$(G77_CROSS_NAME)$(exeext); \
--- 311,318 ----
f77.install-common:
case "$(LANGUAGES)" in \
! *[fF]77*) touch $(libsubdir)/lang-f77;; \
! *) rm -f $(libsubdir)/lang-f77;; \
esac
! -if [ -f $(libsubdir)/lang-f77 -a -f f771$(exeext) ] ; then \
if [ -f g77-cross$(exeext) ] ; then \
rm -f $(bindir)/$(G77_CROSS_NAME)$(exeext); \
*************** f77.install-common:
*** 334,338 ****
echo ''; \
else true; fi
! rm -f $(prefix)/lang-f77
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
--- 334,338 ----
echo ''; \
else true; fi
! rm -f $(libsubdir)/lang-f77
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
*************** f77.install-common:
*** 340,347 ****
f77.install-info: f77.info
case "$(LANGUAGES)" in \
! *[fF]77*) touch $(prefix)/lang-f77;; \
! *) rm -f $(prefix)/lang-f77;; \
esac
! if [ -f $(prefix)/lang-f77 -a -f f/g77.info ] ; then \
rm -f $(infodir)/g77.info*; \
for f in f/g77.info*; do \
--- 340,347 ----
f77.install-info: f77.info
case "$(LANGUAGES)" in \
! *[fF]77*) touch $(libsubdir)/lang-f77;; \
! *) rm -f $(libsubdir)/lang-f77;; \
esac
! if [ -f $(libsubdir)/lang-f77 -a -f f/g77.info ] ; then \
rm -f $(infodir)/g77.info*; \
for f in f/g77.info*; do \
*************** f77.install-info: f77.info
*** 351,355 ****
chmod a-x $(infodir)/g77.info*; \
else true; fi
! @if [ -f $(prefix)/lang-f77 -a -f $(srcdir)/f/g77.info ] ; then \
if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \
--- 351,355 ----
chmod a-x $(infodir)/g77.info*; \
else true; fi
! @if [ -f $(libsubdir)/lang-f77 -a -f $(srcdir)/f/g77.info ] ; then \
if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
echo " install-info --info-dir=$(infodir) $(infodir)/g77.info"; \
*************** f77.install-info: f77.info
*** 357,368 ****
else : ; fi; \
else : ; fi
! rm -f $(prefix)/lang-f77
f77.install-man: $(srcdir)/f/g77.1
case "$(LANGUAGES)" in \
! *[fF]77*) touch $(prefix)/lang-f77;; \
! *) rm -f $(prefix)/lang-f77;; \
esac
! -if [ -f $(prefix)/lang-f77 -a -f f771$(exeext) ] ; then \
if [ -f g77-cross$(exeext) ] ; then \
rm -f $(man1dir)/$(G77_CROSS_NAME)$(manext); \
--- 357,368 ----
else : ; fi; \
else : ; fi
! rm -f $(libsubdir)/lang-f77
f77.install-man: $(srcdir)/f/g77.1
case "$(LANGUAGES)" in \
! *[fF]77*) touch $(libsubdir)/lang-f77;; \
! *) rm -f $(libsubdir)/lang-f77;; \
esac
! -if [ -f $(libsubdir)/lang-f77 -a -f f771$(exeext) ] ; then \
if [ -f g77-cross$(exeext) ] ; then \
rm -f $(man1dir)/$(G77_CROSS_NAME)$(manext); \
*************** f77.install-man: $(srcdir)/f/g77.1
*** 375,386 ****
fi; \
else true; fi
! rm -f $(prefix)/lang-f77
f77.uninstall:
case "$(LANGUAGES)" in \
! *[fF]77*) touch $(prefix)/lang-f77;; \
! *) rm -f $(prefix)/lang-f77;; \
esac
! @if [ -f $(prefix)/lang-f77 ] ; then \
if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
echo " install-info --delete --info-dir=$(infodir) $(infodir)/g77.info"; \
--- 375,386 ----
fi; \
else true; fi
! rm -f $(libsubdir)/lang-f77
f77.uninstall:
case "$(LANGUAGES)" in \
! *[fF]77*) touch $(libsubdir)/lang-f77;; \
! *) rm -f $(libsubdir)/lang-f77;; \
esac
! @if [ -f $(libsubdir)/lang-f77 ] ; then \
if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
echo " install-info --delete --info-dir=$(infodir) $(infodir)/g77.info"; \
*************** f77.uninstall:
*** 388,392 ****
else : ; fi; \
else : ; fi
! -if [ -f $(prefix)/lang-f77 ]; then \
rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \
--- 388,392 ----
else : ; fi; \
else : ; fi
! -if [ -f $(libsubdir)/lang-f77 ]; then \
rm -rf $(bindir)/$(G77_INSTALL_NAME)$(exeext); \
rm -rf $(bindir)/$(G77_CROSS_NAME)$(exeext); \
*************** f77.uninstall:
*** 395,399 ****
rm -rf $(infodir)/g77.info*; \
fi
! rm -f $(prefix)/lang-f77
#
# Clean hooks:
--- 395,399 ----
rm -rf $(infodir)/g77.info*; \
fi
! rm -f $(libsubdir)/lang-f77
#
# Clean hooks: