Problem building GCC 4.1.1 on RHEL4

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

 



Trying to build the latest and greatest GCC and am running into trouble.  Not
using a whole lot of weird options.. just the basic 'configure, make, make
install' routine, but, she goes boom:

# ./configure --prefix=/usr/local/gcc411
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
...

# make
...
/usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s.so] Error 1
make[3]: Leaving directory
`/home/jonathan/sw/gcc-4.1.1/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory
`/home/jonathan/sw/gcc-4.1.1/host-x86_64-unknown-linux-gnu/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/jonathan/sw/gcc-4.1.1'
make: *** [all] Error 2

Tried searching for "crti.o: No such file: No such file or directory" but it
only seems to crop up when folks are building a cross-compiler (which I'm not
AFAICT).

Current gcc is:

# gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

I then tried a configure command using the appropriate options from RedHat's
gcc:

./configure --prefix=/usr/local/gcc411 --quiet --host=x86_64-redhat-linux
--enable-shared --enable-threads=posix --disable-checking --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk

which made no difference.

Anyone run into this before or have any ideas as to what is causing this error?

Cheers!
Jon




[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