[PATCH] gcc-2.95 make install prefix=... broken with multilibs (was: Re: Makefiles advice needed...)

Jeffrey A Law law@cygnus.com
Sat Jul 17 20:55:00 GMT 1999


  In message < 4.2.0.58.19990716121701.050f08b0@mail.lauterbach.com >you write:
  > This problem happens when building outside of the sourcetree too. It didn't
  > happen to me, cause due to some unknown reason I owned the /usr/lib/nof 
  > directory on the building machine I use and so I had the right to install 
  > in there :-(.
  > 
  > You can easily reproduce this problem with the following sequence on any 
  > machine where libiberty and friends are multilibbed:
  > 
  > su
  > chown -R root:root /my_prefix/lib
  > exit
  > ../gcc-2.95/configure --prefix=/my_prefix
  > make bootstrap
  > mkdir -p /var/tmp/gcc-root/my_prefix
  > make prefix=/var/tmp/gcc-root/my_prefix install
  > 
  > This should show you the problem.
So, is this only an issue when changing prefix during install time?  Maybe
that is why I've never seen this losing behavior.

jeff



More information about the Gcc-patches mailing list