From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH 17/35] Make asm-generic/cmpxchg.h #include asm-generic/cmpxchg-local.h [ver #2] Date: Wed, 14 Mar 2012 17:07:59 +0000 Message-ID: <21309.1331744879@redhat.com> References: <1331738610.5104.84.camel@jerome.southpole.se> <1331736182.5104.74.camel@jerome.southpole.se> <20120312233602.13888.27659.stgit@warthog.procyon.org.uk> <20120312233858.13888.34822.stgit@warthog.procyon.org.uk> <201203130900.41993.arnd@arndb.de> <11556.1331723400@redhat.com> <18016.1331738258@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1331738610.5104.84.camel@jerome.southpole.se> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-bounces@lists.openrisc.net Errors-To: linux-bounces@lists.openrisc.net To: Jonas Bonn Cc: linux-arch@vger.kernel.org, Arnd Bergmann , linux@openrisc.net, linux-kernel@vger.kernel.org, dhowells@redhat.com, paul.gortmaker@windriver.com, hpa@zytor.com, torvalds@linux-foundation.org List-Id: linux-arch.vger.kernel.org Jonas Bonn wrote: > > > The error I get while building (if asm/system.h is included) is a > > > circular dependency that I don't see that I can easily resolve: > > > > How do I get an openrisc toolchain? > > http://openrisc.net/toolchain-build.html > > What distro are you on? I might be able to send you a binary version if > you prefer... I'd like to add it to my spec file to build the complete clutch of binutils and gcc RPMs for Fedora. I originally tried --target=openrisc-elf, but whilst that is supported by binutils, it doesn't seem to be supported by gcc. According to your URL above, I should be using --target=or32-linux, but binutils claims not to support that: *** ld does not support target or32-unknown-linux-gnu Also neither or32-linux-elf nor or32-unknown-linux-elf work. David From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:49345 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756602Ab2CNRIP (ORCPT ); Wed, 14 Mar 2012 13:08:15 -0400 From: David Howells In-Reply-To: <1331738610.5104.84.camel@jerome.southpole.se> References: <1331738610.5104.84.camel@jerome.southpole.se> <1331736182.5104.74.camel@jerome.southpole.se> <20120312233602.13888.27659.stgit@warthog.procyon.org.uk> <20120312233858.13888.34822.stgit@warthog.procyon.org.uk> <201203130900.41993.arnd@arndb.de> <11556.1331723400@redhat.com> <18016.1331738258@redhat.com> Subject: Re: [ORLinux] [PATCH 17/35] Make asm-generic/cmpxchg.h #include asm-generic/cmpxchg-local.h [ver #2] Date: Wed, 14 Mar 2012 17:07:59 +0000 Message-ID: <21309.1331744879@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Jonas Bonn Cc: dhowells@redhat.com, linux-arch@vger.kernel.org, Arnd Bergmann , linux@openrisc.net, linux-kernel@vger.kernel.org, paul.gortmaker@windriver.com, hpa@zytor.com, torvalds@linux-foundation.org Message-ID: <20120314170759.ZE7kCGvvG9vV0z_qn0Zrcm_ybGCoLYhaBR_Ks9NuWOs@z> Jonas Bonn wrote: > > > The error I get while building (if asm/system.h is included) is a > > > circular dependency that I don't see that I can easily resolve: > > > > How do I get an openrisc toolchain? > > http://openrisc.net/toolchain-build.html > > What distro are you on? I might be able to send you a binary version if > you prefer... I'd like to add it to my spec file to build the complete clutch of binutils and gcc RPMs for Fedora. I originally tried --target=openrisc-elf, but whilst that is supported by binutils, it doesn't seem to be supported by gcc. According to your URL above, I should be using --target=or32-linux, but binutils claims not to support that: *** ld does not support target or32-unknown-linux-gnu Also neither or32-linux-elf nor or32-unknown-linux-elf work. David