Re: Can not follow FAQ about suffix error

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

 



Thank you. I really like that contrib/download_prerequisites script. All this time, I had never known it would pick up the simple names in the top directory. I changed the version numbers to the current set and it worked like a charm. The --enable-fixed-point threw some "could not emulate" errors but folks are waiting on me. So I just ditched the switch. It has been rolling along ever since. Thanks again.
Ray

On 4/28/2017 12:42 AM, Xi Ruoyao wrote:
On 2017-04-27 23:06 -0400, Ray Sheppard wrote:

I built the GMP, MPFR, MPC and ISL out of the Infrastructure directories
and configured 6.3.0 with:

./configure --prefix=/N/soft/rhel7/gcc/6.3.0 --enable-fixed-point
--with-long-double-128 --enable-host-shared --disable-multilib
--enable-threads --with-gmp=/N/soft/rhel7/gcc/infrastructure
--with-mpfr=/N/soft/rhel7/gcc/infrastructure
--with-mpc=/N/soft/rhel7/gcc/infrastructure
--with-isl=/N/soft/rhel7/gcc/infrastructure
In this case, stage1-gcc is linked to shared objects in
/N/soft/rhel7/gcc/infrastructure/lib.

configure:3462:
/N/soft/rhel7/gcc/build/gcc-6.3.0/host-x86_64-pc-linux-gnu/gcc/xgcc
-B/N/soft/rhel7/gcc/build/gcc-6.3.0/host-x86_64-pc-linux-gnu/gcc/
-B/N/soft/rhel7/gcc/6.3.0/x86_64-pc-linux-gnu/bin/
-B/N/soft/rhel7/gcc/6.3.0/x86_64-pc-linux-gnu/lib/ -isystem
/N/soft/rhel7/gcc/6.3.0/x86_64-pc-linux-gnu/include -isystem
/N/soft/rhel7/gcc/6.3.0/x86_64-pc-linux-gnu/sys-include    -o conftest
-g -O2   conftest.c  >&5
/N/soft/rhel7/gcc/build/gcc-6.3.0/host-x86_64-pc-linux-gnu/gcc/cc1:
error while loading shared libraries: libisl.so.15: cannot open shared
object file: No such file or directory
configure:3465: $? = 1
configure:3653: checking for suffix of object files
configure:3675:
/N/soft/rhel7/gcc/build/gcc-6.3.0/host-x86_64-pc-linux-gnu/gcc/xgcc
-B/N/soft/rhel7/gcc/build/gcc-6.3.0/host-x86_64-pc-linux-gnu/gcc/
-B/N/soft/rhel7/gcc/6.3.0/x86_64-pc-linux-gnu/bin/
-B/N/soft/rhel7/gcc/6.3.0/x86_64-pc-linux-gnu/lib/ -isystem
/N/soft/rhel7/gcc/6.3.0/x86_64-pc-linux-gnu/include -isystem
/N/soft/rhel7/gcc/6.3.0/x86_64-pc-linux-gnu/sys-include    -c -g -O2
conftest.c >&5
/N/soft/rhel7/gcc/build/gcc-6.3.0/host-x86_64-pc-linux-gnu/gcc/cc1:
error while loading shared libraries: libisl.so.15: cannot open shared
object file: No such file or directory
configure:3679: $? = 1
configure: failed program was:
/* confdefs.h */
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
/* end confdefs.h.  */

int
main ()
{

   ;
   return 0;
}
configure:3693: error: in
`/N/soft/rhel7/gcc/build/gcc-6.3.0/x86_64-pc-linux-gnu/libgcc':
configure:3696: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
**************************
You should add /N/soft/rhel7/gcc/infrastructure/lib into shared object
searching path of ld.so(8).  You can use LD_LIBRARY_PATH or ld.so.conf
to do this.

If you don't want to deal with shared object dependencies, you should
put MPC, MPFR, GMP, and ISL into GCC source tree.  The script
contrib/download_prerequisites in GCC source tree would do that.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux