[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1331746607.5104.93.camel@jerome.southpole.se>
Date: Wed, 14 Mar 2012 18:36:47 +0100
From: Jonas Bonn <jonas@...thpole.se>
To: David Howells <dhowells@...hat.com>
Cc: linux-arch@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
linux@...nrisc.net, linux-kernel@...r.kernel.org,
paul.gortmaker@...driver.com, hpa@...or.com,
torvalds@...ux-foundation.org
Subject: Re: [ORLinux] [PATCH 17/35] Make asm-generic/cmpxchg.h #include
asm-generic/cmpxchg-local.h [ver #2]
On Wed, 2012-03-14 at 17:07 +0000, David Howells wrote:
> Jonas Bonn <jonas@...thpole.se> 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.
>
That openrisc-elf target in upstream binutils is ancient and has not
worked for years... it really should be pulled out of binutils
altogether. The current toolchain bits are unfortunately not part of
the upstream toolchain components.
> 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
>
or32-linux is supported in the toolchain from openrisc.net. Likewise
or32-elf... follow the instructions (the easy ones should work) on the
link I sent you -- the submodules in the "toolchain" repo are from the
openrisc git repo and contain everything that is needed.
/Jonas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists