• Uncategorized

About linux : Building-gcc-1030-results-in-malformed-archive

Question Detail

I am currently building an image with buildroot and compiling gcc 10.3.0 results in:

cc1: note: self-tests are not enabled in this build
echo timestamp > s-selftest-c
/usr/bin/ld: libbackend.a: error adding symbols: malformed archive
collect2: error: ld returned 1 exit status
make[3]: *** [../../gcc/lto/Make-lang.in:92: lto-dump] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/bin/ld: libbackend.a: error adding symbols: malformed archive
collect2: error: ld returned 1 exit status
make[3]: *** [../../gcc/lto/Make-lang.in:88: lto1] Error 1
make[2]: *** [Makefile:4376: all-gcc] Error 2
make[1]: *** [package/pkg-generic.mk:295: /home/ubuntu/Home/Downloads/buildroot-2021.11/output/build/host-gcc-initial-10.3.0/.stamp_built] Error 2
make: *** [Makefile:84: _all] Error 2

Can someone help me figure out what causes this error and how to fix it?

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.