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.

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer

Attachment: pgpuEuFO3eBUW.pgp
Description: OpenPGP digital signature

Reply via email to