From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: problem with building gcc-cross-4.8.3 for i686-pc-gnu Date: Sun, 08 Feb 2015 00:24:55 +0100 Message-ID: <87iofdwbi0.fsf@gnu.org> 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> <54D3D364.2010502@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKEkJ-0000Oh-CV for guix-devel@gnu.org; Sat, 07 Feb 2015 18:25:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKEkD-0005ZF-US for guix-devel@gnu.org; Sat, 07 Feb 2015 18:25:03 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKEkD-0005ZB-Rx for guix-devel@gnu.org; Sat, 07 Feb 2015 18:24:57 -0500 In-Reply-To: <54D3D364.2010502@gmx.com> (Marek Benc's message of "Thu, 05 Feb 2015 21:32:36 +0100") 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: Marek Benc Cc: guix-devel@gnu.org Marek Benc skribis: > On 02/05/2015 09:26 PM, Ludovic Court=C3=A8s wrote: >> Marek Benc skribis: >> >>> On 02/05/2015 01:44 PM, Ludovic Court=C3=A8s wrote: >>> >>>> >>>> Another thing I don=E2=80=99t understand is that we use "--disable-lib= gomp" in >>>> =E2=80=98cross-gcc-arguments=E2=80=99, which means that the first cros= s-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=E2=80=99t 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) You=E2=80=99re talking about a =E2=80=98configure=E2=80=99 test in libgomp,= right? Could you post the config.log snippet that shows this problem? Also, are you sure libgomp needs to be built at this stage? Thanks, Ludo=E2=80=99.