On 09/25/2015 04:26 PM, William Harrington wrote:
If GMP is the issue, such as the toolchain is moved to a different
machine, then problems may arise as GMP builds with optimizations for the
cpu it is built with. If the target machine does not have the same CPU as
the build machine, then that is problematic as illegal instruction will
occur.
If the toolchain is ever going to be moved to a machine with a different
CPU and is unknown if a problem will exist, GMP can be built by copying
the fsf config.guess and config.sub files int he source directory over
current config.guess and config.sub and generic optimizations will be
selected, then it doesn't matter if moving from amd64 AMD,Intel or other
CPUs or i386 AMD, INTEL or other CPUs. As long as the target CPU supports
all of the instructions, then all will be fine.
Sincerely,
William Harrington
Thanks.
Yes it needs to be able to be moved to different computers with different CPUs. It will all be 64 bit CPUs, and will be
AMD or Intel.
I started the build inside a 64 bit Linux operating system, inside Virtualbox, inside a 32 bit operating system, inside
a laptop with a 64 bit Intel CPU. Then it was moved into a real laptop with a 64 bit AMD processor, then moved to where
it is now, inside a laptop with a 64 bit Intel processor.
root [ ~ ]# locate config.guess | grep -v "/usr/src/" | grep config.guess
/usr/share/automake-1.15/config.guess
/usr/share/doc/gettext-0.19.4/examples/hello-c++-kde/admin/config.guess
/usr/share/libtool/build-aux/config.guess
/usr/share/man/man1/config.guess.1
root [ ~ ]# ls /usr/share/automake-1.15/config.*
-rwxr-xr-x 1 automake automake 42K Jun 30 07:58
/usr/share/automake-1.15/config.guess
-rwxr-xr-x 1 automake automake 36K Jun 30 07:58
/usr/share/automake-1.15/config.sub
root [ ~ ]# ls /usr/share/libtool/build-aux/config.*
-rwxr-xr-x 1 libtool libtool 42K Jun 26 15:26
/usr/share/libtool/build-aux/config.guess
-rwxr-xr-x 1 libtool libtool 36K Jun 26 15:26
/usr/share/libtool/build-aux/config.sub
root [ ~ ]# ls
/usr/share/doc/gettext-0.19.4/examples/hello-c++-kde/admin/config.*
-rw-r--r-- 1 gettext gettext 39K Jul 6 13:11
/usr/share/doc/gettext-0.19.4/examples/hello-c++-kde/admin/config.guess
-rw-r--r-- 1 gettext gettext 6.9K Jul 6 13:11
/usr/share/doc/gettext-0.19.4/examples/hello-c++-kde/admin/config.pl
-rw-r--r-- 1 gettext gettext 29K Jul 6 13:11
/usr/share/doc/gettext-0.19.4/examples/hello-c++-kde/admin/config.sub
Which files do I want to overwrite; with the following source?
root [ ~ ]# ls /usr/src/gmp/gmp-6.0.0/config.guess
-rwxr-xr-x 1 gmp gmp 32K Mar 25 2014 /usr/src/gmp/gmp-6.0.0/config.guess
root [ ~ ]# ls /usr/src/gmp/gmp-6.0.0/config.sub
-rwxr-xr-x 1 gmp gmp 4.8K Mar 25 2014 /usr/src/gmp/gmp-6.0.0/config.sub
Do I want to use the above source that are there after running make, or do I want to extract a clean batch from the
original source?
Wayne Sallee
wa...@waynesallee.com
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page