public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: James Le Cuirot <chewi@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work
Date: Mon, 19 Mar 2018 22:40:59 +0000	[thread overview]
Message-ID: <20180319224059.106a6c4e@symphony.aura-online.co.uk> (raw)
In-Reply-To: <CAEdQ38GyoR7PfoZhSyfAob3qrL2=waOOvYAapb3Ez9_o830qcg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

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.

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 981 bytes --]

  reply	other threads:[~2018-03-19 22:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 21:16 [gentoo-dev] [PATCH] cmake-utils.eclass: Make the new ASM-ATT rules actually work James Le Cuirot
2018-03-19 22:16 ` Matt Turner
2018-03-19 22:40   ` James Le Cuirot [this message]
2018-03-23 23:43     ` Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180319224059.106a6c4e@symphony.aura-online.co.uk \
    --to=chewi@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox