This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
binutils/gcc build problem on aarch64 (section size is larger tha
- From: Steve Ellcey <sellcey at marvell dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 1 Jul 2019 15:40:53 +0000
- Subject: binutils/gcc build problem on aarch64 (section size is larger tha
I am looking at a bug that is preventing me from building the latest
toolchain with top-of-tree binutils, gcc, and glibc. I am building
the latest binutils first, then I build a ToT (partial) gcc using that
binutils (and the installed GCC 7). When building this GCC with the
latest binutils I get this error:
/home/sellcey/build-gcc/install/bin/ld: error: /usr/lib/gcc/aarch64-linux-gnu/7/../../../aarch64-linux-gnu/crt1.o(.plt) section size (0x7a0 bytes) is larger than file size (0x750 bytes)
/home/sellcey/build-gcc/install/bin/ld: can not size stub section: memory exhausted
collect2: error: ld returned 1 exit status
Has anyone else run into this error? I am doing a binary search
on exactly when it started, if I use one-week old binutils I do not
have this problem.
This is a native build on aarch64 (ThunderX2).
Steve Ellcey
sellcey@marvell.com