[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work
From:       Matt Turner <mattst88 () gentoo ! org>
Date:       2018-03-23 23:43:15
Message-ID: CAEdQ38EHh6EuwrP=v833T2b9d614QMJ_G18eHtd7Dc5EZ356+Q () mail ! gmail ! com
[Download RAW message or body]

On Mon, Mar 19, 2018 at 3:40 PM, James Le Cuirot <chewi@gentoo.org> wrote:
> On Mon, 19 Mar 2018 15:16:47 -0700
> Matt Turner <mattst88@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!

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic