From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Problem with natively-built armhf bootstrap compiler Date: Thu, 01 Jan 2015 23:56:10 -0500 Message-ID: <871tnd6as5.fsf@netris.org> References: <87lhln7mlk.fsf@netris.org> <87a9225o3z.fsf@netris.org> <8761cp6i17.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53776) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6uH0-0002sY-H1 for guix-devel@gnu.org; Thu, 01 Jan 2015 23:55:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6uGx-0002mG-Bo for guix-devel@gnu.org; Thu, 01 Jan 2015 23:55:42 -0500 Received: from world.peace.net ([50.252.239.5]:60979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6uGx-0002mB-2N for guix-devel@gnu.org; Thu, 01 Jan 2015 23:55:39 -0500 In-Reply-To: <8761cp6i17.fsf@netris.org> (Mark H. Weaver's message of "Thu, 01 Jan 2015 21:19:32 -0500") 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: guix-devel@gnu.org Mark H Weaver writes: > I was able to natively build bootstrap tarballs on the Novena. However, > the compiler in these new bootstrap tarballs is broken. The problem is > that the new compiler driver (gcc) passes -lgcc_s when linking, but > libgcc_s.so does not exist in the gcc bootstrap tarball. [...] > It turns out that the "-lgcc_s" above was added just a few days after > we generated our last set of bootstrap tarballs, in commit a7bf595ff. > > I guess that ever since that commit, any natively-built bootstrap > tarballs we generated for any platform would have created a broken > compiler, and that this is the first time we've tried since then. > > Any suggestions on how best to fix this? My first crude idea is to > simply remove the "-lgcc_s" from %gcc-static. For now, this is the approach I took, in commit 5336e4c74. Mark