From: iyzsong@member.fsf.org (宋文武)
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and, libsanitizer.
Date: Sun, 28 Feb 2016 22:23:03 +0800 [thread overview]
Message-ID: <87oab0ncc8.fsf@member.fsf.org> (raw)
In-Reply-To: <idja8mr4lic.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Tue, 23 Feb 2016 14:14:03 +0100")
Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> writes:
> 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.
>
On the master, ‘arm-linux-gnueabihf’ also failed.
Look at the end of ‘configure.tgt’ scripts of libitm, libvtv and
libsanitizer, the target is matched with some well-known OS (eg: linux,
gnu, etc.). So, I think those libraries won’t build at all when you’re
using ‘none’ as OS.
next prev parent reply other threads:[~2016-02-28 14:23 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
2016-02-28 14:23 ` 宋文武 [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oab0ncc8.fsf@member.fsf.org \
--to=iyzsong@member.fsf.org \
--cc=guix-devel@gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).