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.3.0 install from src fails during "make"


On Thu, Oct 23, 2008 at 8:28 PM, Andrew Haley <aph@redhat.com> wrote:
> Sangamesh B wrote:
>> Hello everyone,
>>
>>       I'm trying to install GCC-4.3.0 from source on Rocks-5.0. Rocks
>> is a clustering tool based on Cent OS 5.0 LINUX.
>>
>> The configure is:
>>
>> # /export/packages/compilers/GNU/gcc-4.3.0/configure
>> --with-mpfr=/export/packages/compilers/GNU/mpfr
>> --with-gmp=/export/packages/compilers/GNU/gmp
>> --enable-languages=c,c++,fortran | tee gcc430_ccf_config_out
>>
>> During make, its failing with following error:
>>
>> checking for --enable-version-specific-runtime-libs... no
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking for gawk... gawk
>> checking build system type... x86_64-unknown-linux-gnu
>> checking host system type... x86_64-unknown-linux-gnu
>> checking for x86_64-unknown-linux-gnu-ar... ar
>> checking for x86_64-unknown-linux-gnu-lipo... lipo
>> checking for x86_64-unknown-linux-gnu-nm...
>> /export/packages/compilers/GNU/gcc430/./gcc/nm
>> checking for x86_64-unknown-linux-gnu-ranlib... ranlib
>> checking for x86_64-unknown-linux-gnu-strip... strip
>> checking whether ln -s works... yes
>> checking for x86_64-unknown-linux-gnu-gcc...
>> /export/packages/compilers/GNU/gcc430/./gcc/xgcc
>> -B/export/packages/compilers/GNU/gcc430/./gcc/
>> -B/usr/local/x86_64-unknown-linux-gnu/bin/
>> -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
>> /usr/local/x86_64-unknown-linux-gnu/include -isystem
>> /usr/local/x86_64-unknown-linux-gnu/sys-include
>> checking for suffix of object files... configure: error: cannot
>> compute suffix of object files: cannot compile
>> See `config.log' for more details.
>> make[2]: *** [configure-stage1-target-libgcc] Error 1
>> make[2]: Leaving directory `/export/packages/compilers/GNU/gcc430'
>> make[1]: *** [stage1-bubble] Error 2
>> make[1]: Leaving directory `/export/packages/compilers/GNU/gcc430'
>> make: *** [all] Error 2
>>
>> For more details, attached here the config.log.
>>
>> Can anyone point out why its failing?
>
> You have the environment variable CC set to something very weird.
>
I unset all environment variables. Did configure & make. But it fails
at same point.
Rocks 5.0 is already have a GCC-4.1.2 (only).

I  need to install gcc-4.3 on a Rocks-4.2 cluster at a customer place.
Before doing that, I'm just testing it on Rocks 5.0.

Do you think gcc-4.1.2 only causing this problem?

If yes, it may not fail on Rocks-4.2 which has gcc-4.1.0 and 3.4.

Thanks,
Sangamesh
> Andrew.
>
>


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