On Mon, Mar 19, 2018 at 3:40 PM, James Le Cuirot <ch...@gentoo.org> wrote: > On Mon, 19 Mar 2018 15:16:47 -0700 > Matt Turner <matts...@gentoo.org> wrote: > >> Thanks for looking into this! >> >> I'm not sure I understand the -nostdlib portion. It's something about >> working around a side-effect of -x assembler? > > It's not related to that option. I think it's because this is normally > built with "as" and "ld" and by using "gcc" instead, it tries to link > libc and friends, which otherwise wouldn't happen. It'll fail if you > take it away and you'll find the error if you dig through tons of > strace. Strangely you don't see the linking command in the regular > build output.
I finally got around to testing this, and it works like a charm. Thanks a bunch, and thanks for the upstream fix as well. I just pushed it -- finally that pesky bug 625844 is fixed after 9 months :) Thanks to mgorny for his work on it too!