Gentoo Archives: gentoo-dev

From: James Le Cuirot <chewi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work
Date: Mon, 19 Mar 2018 22:41:21
Message-Id: 20180319224059.106a6c4e@symphony.aura-online.co.uk
In Reply to: Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work by Matt Turner
1 On Mon, 19 Mar 2018 15:16:47 -0700
2 Matt Turner <mattst88@g.o> wrote:
3
4 > Thanks for looking into this!
5 >
6 > I'm not sure I understand the -nostdlib portion. It's something about
7 > working around a side-effect of -x assembler?
8
9 It's not related to that option. I think it's because this is normally
10 built with "as" and "ld" and by using "gcc" instead, it tries to link
11 libc and friends, which otherwise wouldn't happen. It'll fail if you
12 take it away and you'll find the error if you dig through tons of
13 strace. Strangely you don't see the linking command in the regular
14 build output.
15
16 --
17 James Le Cuirot (chewi)
18 Gentoo Linux Developer

Replies