This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: GCC 4.7 build problems


Seems libmpc.so.2 is the file it couldn't find.
I could find it in /usr/local/lib

when i typed
   echo $PATH

then indeed /usr/local/lib wasn't in the path

typed:
  export PATH=/usr/local/lib:$PATH

Went back to /home/install/gcc470 where i had typed previously ../ gcc-4.7.0/configure and make
Now typed
make clean
make -j8


CRASH

Same error again!

In config.log it says:

/home/install/gcc470/./gcc/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file or directory : No such file or directory

I must set a librarypath maybe, if so, what is its name?

On Apr 15, 2012, at 6:36 PM, Marc Glisse wrote:

On Sun, 15 Apr 2012, Vincent Diepeveen wrote:

hi,

GCC 4.7.0 is a big step forward! Really a quantumleap.

Works great at opensuse 11.3, both i386 and x64 here at AMD64 and intel Xeon i386 install.

Fails to build at OpenSuse 11.2 as well as Scientific Linux 6.2 x64

hardware: dual socket Xeon L5420 in both cases.

Build error:

"configure: error: cannot compute suffix of object files: cannot compile"

Exactly at same spot the same error like at opensuse 11.2

The building at Scientific Linux 6.2 x64 is pretty important - it's the same distro basically like RHEL 6.2
SL 6.2 runs a cluster for me. Performance there is crucial.


Anyone knows a way how to get it to work there?

http://gcc.gnu.org/wiki/FAQ#Configuration_fails_with_. 27.27configure:_error:_cannot_compute_suffix_of_object_files:_cannot_c ompile.27.27._What_is_the_problem.3F


Is this the correct list to report build errors?

No, please send any follow-up to gcc-help@gcc.gnu.org only.


--
Marc Glisse


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