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: help compiling GCC in Fedora 8


hi
i have change the configure and got different error:
this is the configuration :

[root@localhost gcc-4.1.0-bin]# ../gcc-4.1.0/configure
--prefix=/opt/gcc/gcc-4.1.0 --host=amd64-pc-linux-gnu
--enable-bootstrap --enable-languages=c,objc

loading cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gnatbind... (cached) no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp
--ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... no
*** This configuration is not supported in the following subdirectories:
     target-libada gnattools target-libstdc++-v3 target-libgfortran
target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar
    (Any other directories should still work fine.)
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) m4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... (cached) makeinfo
checking for expect... no
checking for runtest... no
checking for amd64-pc-linux-gnu-ar... (cached) ar
checking for amd64-pc-linux-gnu-as... (cached) as
checking for amd64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for amd64-pc-linux-gnu-ld... (cached) ld
checking for amd64-pc-linux-gnu-lipo... no
checking for lipo... no
checking for amd64-pc-linux-gnu-nm... (cached) nm
checking for amd64-pc-linux-gnu-ranlib... (cached) ranlib
checking for amd64-pc-linux-gnu-strip... (cached) strip
checking for amd64-pc-linux-gnu-windres... no
checking for windres... no
checking for amd64-pc-linux-gnu-objcopy... (cached) objcopy
checking for amd64-pc-linux-gnu-objdump... (cached) objdump
checking for amd64-pc-linux-gnu-ar... (cached) ar
checking for amd64-pc-linux-gnu-as... (cached) as
checking for amd64-pc-linux-gnu-cc... (cached) cc
checking for amd64-pc-linux-gnu-c++... (cached) c++
checking for amd64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for amd64-pc-linux-gnu-gcc... (cached) gcc
checking for amd64-pc-linux-gnu-gcj... no
checking for gcj... no
checking for amd64-pc-linux-gnu-gfortran... (cached) gfortran
checking for amd64-pc-linux-gnu-ld... (cached) ld
checking for amd64-pc-linux-gnu-lipo... no
checking for lipo... no
checking for amd64-pc-linux-gnu-nm... (cached) nm
checking for amd64-pc-linux-gnu-objdump... (cached) objdump
checking for amd64-pc-linux-gnu-ranlib... (cached) ranlib
checking for amd64-pc-linux-gnu-strip... (cached) strip
checking for amd64-pc-linux-gnu-windres... no
checking for windres... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... (cached) yes
creating ./config.status
creating Makefile
the configuration is finished O.K
now i run
 make
and after alot of printing (compiling) i get this error:

error:

inter -fno-asynchronous-unwind-tables \
          -c ../../gcc-4.1.0/gcc/crtstuff.c -DCRT_BEGIN \
          -o crtbegin.o
/tmp/cc9uFYrF.s: Assembler messages:
/tmp/cc9uFYrF.s:33: Error: `completed.5799(%rip)' is not a valid
base/index expression
/tmp/cc9uFYrF.s:34: Error: bad register name `%rbp'
/tmp/cc9uFYrF.s:35: Error: bad register name `%rsp'
/tmp/cc9uFYrF.s:40: Error: bad register name `%rax'
/tmp/cc9uFYrF.s:41: Error: bad register name `%rax'
/tmp/cc9uFYrF.s:42: Error: bad register name `%rdx'
/tmp/cc9uFYrF.s:44: Error: `p.5797(%rip)' is not a valid base/index expression
/tmp/cc9uFYrF.s:45: Error: bad register name `%rax)'
/tmp/cc9uFYrF.s:46: Error: bad register name `%rdx'
/tmp/cc9uFYrF.s:48: Error: `completed.5799(%rip)' is not a valid
base/index expression
/tmp/cc9uFYrF.s:60: Error: bad register name `%rbp'
/tmp/cc9uFYrF.s:61: Error: `__JCR_LIST__(%rip)' is not a valid
base/index expression
/tmp/cc9uFYrF.s:62: Error: bad register name `%rsp'
/tmp/cc9uFYrF.s:65: Error: bad register name `%rax'
/tmp/cc9uFYrF.s:68: Error: bad register name `%rax'
/tmp/cc9uFYrF.s:70: Error: bad register name `%r11'
make[3]: *** [crtbegin.o] Error 1
make[3]: Leaving directory `/opt/gcc/gcc-4.1.0-bin/stage1-gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/opt/gcc/gcc-4.1.0-bin'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/gcc/gcc-4.1.0-bin'
make: *** [all] Error 2
[root@localhost gcc-4.1.0-bin]#

any idea why this error ?


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