guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and, libsan


From: Manolis Ragkousis
Subject: Re: [PATCH] gnu: cross-gcc-arguments: Disable libitm, libvtv and, libsanitizer.
Date: Tue, 23 Feb 2016 14:20:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hello everyone

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

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 am attaching the build.log so anybody can see for himself. :-)

If okay I will push the patch to master.

Manolis

Attachment: vgwilvn1nmafdfhd1nlka2qkz0pkx5-gcc-cross-sans-libc-i686-linux-gnu-4.9.3.drv.bz2
Description: application/bzip

Attachment: 0001-gnu-cross-gcc-arguments-Disable-libitm-libvtv-and-li.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]