public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Some error when installing the gcc9.4.0,when "make".
@ 2022-06-05  7:06 涂家礼
       [not found] ` <dded06c330c45362fa72cc19f31991c187022986.camel@xry111.site>
  2022-06-16 13:17 ` Segher Boessenkool
  0 siblings, 2 replies; 4+ messages in thread
From: 涂家礼 @ 2022-06-05  7:06 UTC (permalink / raw)
  To: gcc-help

Hello. I want to know how to solve a problem when install gcc without root and offline. I am installing GCC9.4.0, but there are some errors when executing make command, as follows:




make[4]: Entering directory `/public/home/jltu/gcc-9.4.0/gcc-9.4.0/lto-plugin'
/bin/sh ./libtool  --tag=CC --tag=disable-static  --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../lto-plugin  -I../../    lto-plugin/../include -DHAVE_CONFIG_H  -Wall -g -c -o lto-plugin.lo ../../lto-plugin/lto-plugin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../lto-plugin -I../../lto-plugin/../include -DHAVE_CONFIG_H -Wall -g     -c ../../lto-plugin/lto-plugin.c  -fPIC -DPIC -o .libs/lto-plugin.o
make[4]: Warning: File `../libiberty/pic/libiberty.a' has modification time 8.1 s in the future
/bin/sh ./libtool --tag=CC --tag=disable-static  --mode=link gcc -Wall -g -Wc,-static-libgcc  -module -bindir /public    /home/jltu/gcc_build/libexec/gcc/x86_64-pc-linux-gnu/9.4.0    -Xcompiler '-static-libstdc++' -Xcompiler '-static-libg    cc' -o liblto_plugin.la -rpath /public/home/jltu/gcc_build/libexec/gcc/x86_64-pc-linux-gnu/9.4.0 lto-plugin.lo  -Wc,.    ./libiberty/pic/libiberty.a
libtool: link: gcc -shared  -fPIC -DPIC  .libs/lto-plugin.o    -static-libgcc -static-libstdc++ -static-libgcc ../lib    iberty/pic/libiberty.a   -Wl,-soname -Wl,liblto_plugin.so.0 -o .libs/liblto_plugin.so.0.0.0
/usr/bin/ld: /usr/local/lib/gcc/x86_64-pc-linux-gnu/9.4.0/crtbeginS.o: unrecognized relocation (0x2a) in section `.te    xt'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [liblto_plugin.la] Error 1
make[4]: Leaving directory `/public/home/jltu/gcc-9.4.0/gcc-9.4.0/lto-plugin'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/public/home/jltu/gcc-9.4.0/gcc-9.4.0/lto-plugin'
make[2]: *** [all-stage1-lto-plugin] Error 2
make[2]: Leaving directory `/public/home/jltu/gcc-9.4.0/gcc-9.4.0'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/public/home/jltu/gcc-9.4.0/gcc-9.4.0'
make: *** [all] Error 2





Regards 
Jiali Tu

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-20  7:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05  7:06 Some error when installing the gcc9.4.0,when "make" 涂家礼
     [not found] ` <dded06c330c45362fa72cc19f31991c187022986.camel@xry111.site>
2022-06-16  8:25   ` 涂家礼
2022-06-16 13:17 ` Segher Boessenkool
2022-06-20  7:35   ` 涂家礼

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).