Re: Problem with Solaris 10 / SPARC

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

 



28.6.2013 0:49, Amos kirjoitti:
I hacked the main configure script to include the sparcv9 directory
with a -B directive.

However, the compile still blows-up:

/usr/soft/that/gcc-4.8.1/src/default/sparc_sun_solaris2.10/./gcc/xgcc
-B/usr/soft/that/gcc-4.8.1/src/default/sparc_sun_solaris2.10/./gcc/sparcv9/
-B/usr/soft/that/gcc-4.8.1/src/default/sparc_sun_solaris2.10/./gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/
-B/usr/local/sparc-sun-solaris2.10/lib/ -isystem
/usr/local/sparc-sun-solaris2.10/include -isystem
/usr/local/sparc-sun-solaris2.10/sys-include -DHAVE_CONFIG_H -I.
-I../../../../orig/libgomp -I../../../../orig/libgomp/config/posix
-I../../../../orig/libgomp -Wall -pthread -Werror -g -O2 -m64 -MT
alloc.lo -MD -MP -MF .deps/alloc.Tpo -c
../../../../orig/libgomp/alloc.c  -fPIC -DPIC -o .libs/alloc.o
ld.so.1: xgcc: fatal: libgcc_s.so.1: version 'GCC_4.2.0' not found
(required by file
/usr/soft/that/gcc-4.8.1/src/default/sparc_sun_solaris2.10/sparc-sun-solaris2.10/libstdc
++-v3/src/.libs/libstdc++.so.6)
ld.so.1: xgcc: fatal: libgcc_s.so.1: open failed: No such file or directory


What about first just disabling the 'libgomp' configure and build? One can disable those extra libraries being built simply by using a '--disable-lib<xyz>' in the GCC configure.

After you have the gcc-4.8.1 version of 'libgcc_s.so.1' installed in the runtime, you can reconfigure/rebuild without the '--disable-libgomp' and get what you desperately want : the 'libgomp' :) Usually people think : "What one doesn't know, that one doesn't try to
build"...

The "xgcc: fatal: libgcc_s.so.1: version 'GCC_4.2.0' not found" should hint that one should have a 'libgcc_s.so.1' from gcc-4.2.0 or newer installed as a prerequisite...





[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