all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manolis Ragkousis <manolis837@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <Guix-devel@gnu.org>
Subject: [PATCH] gnu: cross-base: Disable libcilkrts in cross-gcc.
Date: Sun, 19 Jul 2015 18:28:21 +0300	[thread overview]
Message-ID: <CAFtzXzM_z=qdb-qdg3LYi8COrA0XF2mOxhDkqf7g9PYDt=zg=g@mail.gmail.com> (raw)

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

This patch adds the flag "--disable-libcilkrts" to both cross-gcc,
because currently the build fails when targeting the Hurd.

This patch applies on a rebased wip-hurd on current core-updates branch.

Manolis

[-- Attachment #2: 0001-gnu-cross-base-Disable-libcilkrts-in-cross-gcc.patch --]
[-- Type: text/x-patch, Size: 1518 bytes --]

From 37d96c984baeb4e2857d8338fae3e9459140e8f5 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
Date: Sun, 19 Jul 2015 18:16:51 +0300
Subject: [PATCH] gnu: cross-base: Disable libcilkrts in cross-gcc.

* gnu/packages/cross-base.scm (cross-gcc-arguments): Add "--disable-libcilkrts".
---
 gnu/packages/cross-base.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index e2171f8..7b2e438 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -101,7 +101,9 @@ may be either a libc package or #f.)"
        ((#:configure-flags flags)
         `(append (list ,(string-append "--target=" target)
                        ,@(if libc
-                             '()
+                             `( ;; Disable libcilkrts because it causes the
+                                ;; build to fail when targeting the Hurd.
+                               "--disable-libcilkrts")
                              `( ;; Disable features not needed at this stage.
                                "--disable-shared" "--enable-static"
 
@@ -117,6 +119,7 @@ may be either a libc package or #f.)"
                                "--disable-libssp"
                                "--disable-libquadmath"
                                "--disable-decimal-float" ;would need libc
+                               "--disable-libcilkrts"
                                )))
 
                  ,(if libc
-- 
2.4.6


             reply	other threads:[~2015-07-19 15:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-19 15:28 Manolis Ragkousis [this message]
2015-07-19 21:16 ` [PATCH] gnu: cross-base: Disable libcilkrts in cross-gcc Ludovic Courtès
2015-07-21 10:07   ` Manolis Ragkousis
2015-07-24 20:52     ` 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='CAFtzXzM_z=qdb-qdg3LYi8COrA0XF2mOxhDkqf7g9PYDt=zg=g@mail.gmail.com' \
    --to=manolis837@gmail.com \
    --cc=Guix-devel@gnu.org \
    --cc=ludo@gnu.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.
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.