Sat 06 Aug 2011 12:46:47 PM UTC, original submission:
Hi,
I do not manage to build GCC 4.6.1 on gcc40 and gcc64.
Is there a trick to build current versions of GCC on these systems?
(If yes, could it be added to the main page of the project?)
gcc40 (powerpc64)
-----------------
I obtain:
/home/iulius/autobuild/src/gcc-core-4.6.1/host-powerpc64-unknown-linux-gnu/gcc/../.././gcc/vecir.h:28: relocation truncated to fit: R_PPC_REL24 against symbol `memcpy@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.3.2/../../../../lib/crt1.o
c-lang.o: In function `VEC_tree_base_quick_push':
/home/iulius/autobuild/src/gcc-core-4.6.1/host-powerpc64-unknown-linux-gnu/gcc/../.././gcc/vecir.h:28: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
I tried with the installed system binutils, and with latest binutils.
I also tried with legacy GMP 4.2.4, MPFR 2.3.2 and MPC 0.8.1, even the -64 ones in /opt/cfarm, as well as current versions, but without success.
gcc64 (sparc64)
---------------
checking for sparc64-unknown-openbsd4.6-gcc... /home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/xgcc -B/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/ -B/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/bin/ -B/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/lib/ -isystem /home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/include -isystem /home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/sys-include
checking for suffix of object files... configure: error: in `/home/iulius/autobuild/src/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
I am puzzled by this error.
Are a few libraries missing in gcc64?
Also, I do not see any /opt/cfarm directory in gcc64. (Is it intended?) I therefore could not try any other available packages.
Julien
|