bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] coreutils-6.12 "ginstall" bug


From: Eric Blake
Subject: Re: [BUG] coreutils-6.12 "ginstall" bug
Date: Sun, 21 Sep 2008 07:12:33 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Deepak Barua on 9/20/2008 11:12 PM:
> Hi Everybody,
>                    I was just cross compiling my MIPS64 platform  when i
> noticed a major error in coreutils - 6.12 the "src/ginstall" which is
> compiled , is compiled in the target architecture instead of the host

As it should be - all of coreutils are built for the target.

> , so i
> had to recompile coreutils in host architecture and copy the "ginstall"
> binary to "src/ginstall" overwriting the target arch "ginstall" and then the
> "make install" commmand worked fine and coreutils was installed .

Yes, that is a bug.  Coreutils should only use the just-built ginstall for
installation when doing native compiles, and not when doing
cross-compiles.  But it looks like this has already been fixed in git:
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=d990306

> 
> I saw that "ginstall" is a coreutils replacement for "install" , the thing i
> don't understand is why , whats wrong with using "install" ...?

Because 'make install' would then be ambiguous - does it make the
executable named install, or does it install all of the executables?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjWSEEACgkQ84KuGfSFAYD0ZQCgz0eYMdn2Jms1GG5pkIdESnOV
TAgAoKMItoZM5vs4wqiii/+DPh5Ngw+b
=AFEL
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]