This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]