failed building gcc 4.6 from sources on linux mint 2.6.35-28-generic, when doing Fortran build

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

 



I am not sure if I should report this as a bug, or not. Thought
first to ask here.

I am trying to build gcc 4.6 which I downloaded today. I followed
all instructions, did the following:

1. build/install  m4-latest
2. build/install  gmp-5.0.01
3. build/install  mpfr-3.0.0
4. build/install  mpc-0.9
5. and now for gcc 4.6:

./configure
make
This after about 2 hrs compiling, I get this error:

c-4.6.0/host-i686-pc-linux-gnu/gcc/xgcc -B/media/sf_nabbasi/data/Fortran_related/gcc_4_6/gcc-4.6.0/host-i686-pc-linux-gnu/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem /usr/local/i686-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/media/sf_nabbasi/data/Fortran_related/gcc_4_6/gcc-4.6.0/i686-pc-linux-gnu/libgcc':
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 `/media/sf_nabbasi/data/Fortran_related/gcc_4_6/gcc-4.6.0'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/media/sf_nabbasi/data/Fortran_related/gcc_4_6/gcc-4.6.0'
make: *** [all] Error 2

-----------------------------------

my current gcc is

 gcc -v
Using built-in specs.
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)

--------------------------------

I put the config.log file in this directory is someone wants to look at it

http://12000.org/tmp/march_27_2011/

ps. not sure if this is important or not, I am running linux on a VM machine. Installed
Linux mint on it.

thank you,
--Nasser


[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