unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and, libsanitizer.
@ 2016-02-16 13:23 Manolis Ragkousis
  2016-02-23 12:20 ` Manolis Ragkousis
  0 siblings, 1 reply; 10+ messages in thread
From: Manolis Ragkousis @ 2016-02-16 13:23 UTC (permalink / raw)
  To: guix-devel

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

In the sans-free cross-gcc, libitm, libvtv and, libsanitizer configure
scripts will fail with "configure: error: C compiler cannot create
executables". I have attached the build log.

Disabling them fixes it.

If ok I will push to master.

Manolis



[-- Attachment #2: k431s5wp53d2p3bnz5kvx0km58vpy1-gcc-cross-sans-libc-i686-linux-gnu-4.9.3.drv.bz2 --]
[-- Type: application/x-bzip, Size: 389904 bytes --]

[-- Attachment #3: 0001-gnu-cross-gcc-arguments-Disable-libitm-libvtv-and-li.patch --]
[-- Type: text/x-patch, Size: 1132 bytes --]

From be59086da781969e82d0bb9fb9fff851d51faa65 Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
Date: Tue, 16 Feb 2016 15:06:33 +0200
Subject: [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and
 libsanitizer.

* gnu/packages/cross-base.scm (cross-gcc-arguments)[arguments]: Add
  "--disable-libitm", "--disable-libvtv" and "--disable-libsanitizer"
  when libc is not present.
---
 gnu/packages/cross-base.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 8bd599c..bbc1c48 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -120,6 +120,9 @@ may be either a libc package or #f.)"
                                "--disable-libquadmath"
                                "--disable-decimal-float" ;would need libc
                                "--disable-libcilkrts"
+                               "--disable-libitm"
+                               "--disable-libvtv"
+                               "--disable-libsanitizer"
                                )))
 
                  ,(if libc
-- 
2.7.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-07-04  8:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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     ` 宋文武
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

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).