From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: Manolis Ragkousis <manolis837@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and, libsanitizer.
Date: Tue, 23 Feb 2016 14:14:03 +0100 [thread overview]
Message-ID: <idja8mr4lic.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <56CC4E79.7030706@gmail.com>
Manolis Ragkousis <manolis837@gmail.com> writes:
> This is a follow up to better explain what the problem is with the
> sans-libc cross gcc in the (gnu packages cross-base) module.
>
> In the latest master if you try to build gcc-cross-sans-libc with:
>
> ./pre-inst-env guix build -e '((@@(gnu packages cross-base) cross-gcc)
> "i686-linux-gnu")' -c8
>
> gcc modules libitm, libvtv and libsanitizer fail to build with
> "configure: error: C compiler cannot create executables".
>
> This happens because there is no libc present at that point and the
> problem was introduced with commit ca7ef4d41854218c which enabled c++.
I find this very odd. I’m the author of that commit and I did this to
be able to build a C and C++ cross compiler for arm-none-eabi (which I
still haven’t submitted to the ML). At no point did I see any errors
about libitm, libvtv, or libsanitizer.
My cross-compiler is made with little more than “(cross-gcc
"arm-none-eabi")”, so I wonder why you’d have problems with building a
cross-compiler for “i686-linux-gnu”.
> At that stage no linking can happen so the best solution is to just
> disable the modules. It does not affect anything after that.
I cannot verify this as I’m not familiar with all this (and I cannot
rebuild my cross-compiler at this point). This doesn’t mean I object to
this change, I just don’t understand why we see it with “i686-linux-gnu”
but not with my “arm-none-eabi” build :-/
Could you please also add some comment above the new flags to concisely
say why they are needed? That’s just to prevent people like me from
removing the flags in the future because “they don’t seem to do
anything” :)
Thanks!
~~ Ricardo
next prev parent reply other threads:[~2016-02-23 13:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 13:23 [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and, libsanitizer Manolis Ragkousis
2016-02-23 12:20 ` Manolis Ragkousis
2016-02-23 13:14 ` Ricardo Wurmus [this message]
2016-02-28 14:23 ` 宋文武
2016-02-28 14:43 ` Ricardo Wurmus
2016-03-04 14:09 ` Manolis Ragkousis
2016-03-13 22:23 ` Ludovic Courtès
2016-04-07 13:07 ` Manolis Ragkousis
2016-06-24 8:32 ` Efraim Flashner
2016-07-04 8:25 ` Ludovic Courtès
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=idja8mr4lic.fsf@bimsb-sys02.mdc-berlin.net \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=guix-devel@gnu.org \
--cc=manolis837@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.