I am trying to compile binutils-2.24 within a qemu chroot (well 3 actually, glibc, uclibc, and musl).
I have tried qemu-2.1.0 and 2.1.2 both with the same results. While running the gold linker tests, I get this failure: (for i in `seq 1 70000`; do \ echo "int var_$i __attribute__((section(\"section_$i\"))) = $i;"; \ done) > many_sections_define.h.tmp make[4]: execvp: /bin/sh: Argument list too long After googling I found this bug, which led me here: https://sourceware.org/bugzilla/show_bug.cgi?id=17169 Has anyone else experience this? Dave