From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Benc Subject: Re: problem with building gcc-cross-4.8.3 for i686-pc-gnu Date: Thu, 05 Feb 2015 21:32:36 +0100 Message-ID: <54D3D364.2010502@gmx.com> References: <54CCADF7.6090708@gmail.com> <54CD5372.5090103@gmail.com> <54CE76DB.2040606@gmail.com> <87386k4jfw.fsf@gnu.org> <54D3A92A.6060209@gmx.com> <87h9v014wk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJT6M-0001eq-0m for guix-devel@gnu.org; Thu, 05 Feb 2015 15:32:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJT6I-0000uF-44 for guix-devel@gnu.org; Thu, 05 Feb 2015 15:32:37 -0500 In-Reply-To: <87h9v014wk.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Cc: guix-devel@gnu.org On 02/05/2015 09:26 PM, Ludovic Courtès wrote: > Marek Benc skribis: > >> On 02/05/2015 01:44 PM, Ludovic Courtès wrote: >> >>> >>> Another thing I don’t understand is that we use "--disable-libgomp" in >>> ‘cross-gcc-arguments’, which means that the first cross-gcc (sans libc) >>> does not build libgomp. What are things going wrong here? >>> >> >> I think it's because libgomp is a part of libgcc, and that needs the C >> library, that's what the comments say at least. > > (Why off-list?) Libgomp is the OpenMP run-time support library, which > we don’t require when bootstrapping. > Sorry, I pressed the wrong button on my email client... silly me. I also might have not understood your question then... Its build system tests whether the compiler works, and it does that by building a dummy binary. However, the binary fails to link as the linker can't find libmachuser and libhurduser, which are provided by libc, without --rpath. (If this is what you were asking about) > > Ludo’. > -- Marek.