[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140721145651.465db070@gandalf.local.home>
Date: Mon, 21 Jul 2014 14:56:51 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: LKML <linux-kernel@...r.kernel.org>, linuxppc-dev@...ts.ozlabs.org,
Anton Blanchard <anton@...ba.org>,
Olof Johansson <olof@...om.net>
Subject: Re: [PATCH] powerpc: Revert removing of _INIT_GLOBAL(), _STATIC()
and _INIT_STATIC()
On Tue, 15 Jul 2014 12:05:55 +1000
Benjamin Herrenschmidt <benh@...nel.crashing.org> wrote:
> On Mon, 2014-07-14 at 20:12 -0400, Steven Rostedt wrote:
> > I wanted to test some new ftrace code on my PASemi electra powerpc box.
> > But unfortunately it failed to build. It failed with this:
> >
> > LD init/built-in.o
> > arch/powerpc/kernel/head_64.o:arch/powerpc/kernel/exceptions-64s.S:874:
> > relocation truncated to fit: R_PPC64_REL14 against `.text'+1c90
> > Makefile:864: recipe for target 'vmlinux' failed
>
> Weird ... what are your gcc and binutils versions ? Smells like a
> toolchain issue to me but I need to dig a bit more. Doesn't hit any
> of my test configs here.
>
Can you test the attached config with this toolchain and see if you get
the same build bug.
https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/x86_64-gcc-4.6.3-nolibc_powerpc64-linux.tar.bz2
Thanks!
-- Steve
Download attachment "config-electra" of type "application/octet-stream" (69941 bytes)
Powered by blists - more mailing lists