Re: Re: Some error when installing the gcc9.4.0,when "make".

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

 



Thank you , the problem does!

"Xi Ruoyao" <xry111@xxxxxxxxxxx>写道:
> On Sun, 2022-06-05 at 15:06 +0800, 涂家礼 wrote:
> 
> /* snip */
> 
> > /usr/bin/ld: /usr/local/lib/gcc/x86_64-pc-linux-gnu/9.4.0/crtbeginS.o: unrecognized relocation (0x2a) in section `.text'
> > /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
> 
> According to a stackoverflow.com answer [1] it seems happening because
> your binutils is too old.
> 
> [1]: https://stackoverflow.com/questions/52737698
> 
> -- 
> Xi Ruoyao <xry111@xxxxxxxxxxx>
> School of Aerospace Science and Technology, Xidian University




[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