Gentoo Archives: gentoo-dev

From: Matt Turner <mattst88@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work
Date: Fri, 23 Mar 2018 23:43:45
Message-Id: CAEdQ38EHh6EuwrP=v833T2b9d614QMJ_G18eHtd7Dc5EZ356+Q@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work by James Le Cuirot
1 On Mon, Mar 19, 2018 at 3:40 PM, James Le Cuirot <chewi@g.o> wrote:
2 > On Mon, 19 Mar 2018 15:16:47 -0700
3 > Matt Turner <mattst88@g.o> wrote:
4 >
5 >> Thanks for looking into this!
6 >>
7 >> I'm not sure I understand the -nostdlib portion. It's something about
8 >> working around a side-effect of -x assembler?
9 >
10 > It's not related to that option. I think it's because this is normally
11 > built with "as" and "ld" and by using "gcc" instead, it tries to link
12 > libc and friends, which otherwise wouldn't happen. It'll fail if you
13 > take it away and you'll find the error if you dig through tons of
14 > strace. Strangely you don't see the linking command in the regular
15 > build output.
16
17 I finally got around to testing this, and it works like a charm.
18 Thanks a bunch, and thanks for the upstream fix as well.
19
20 I just pushed it -- finally that pesky bug 625844 is fixed after 9 months :)
21
22 Thanks to mgorny for his work on it too!