linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Chris Friesen <cbf123@mail.usask.ca>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	<linuxppc-dev@lists.ozlabs.org>
Subject: Re: error compiling ptrace in current mainline git
Date: Fri, 12 Jul 2013 17:40:41 -0600	[thread overview]
Message-ID: <51E093F9.6050303@mail.usask.ca> (raw)
In-Reply-To: <20130712223141.GA14807@thor.bakeyournoodle.com>

On 07/12/2013 04:31 PM, Tony Breeds wrote:
> On Fri, Jul 12, 2013 at 10:27:41AM -0600, Chris Friesen wrote:
>> Hi all,
>>
>> I'm trying to build current mainline git with gcc version 4.4.1 as a
>> cross compiler and I'm getting the following:
>>
>>
>>    CC      arch/powerpc/kernel/ptrace.o
>> {standard input}: Assembler messages:
>> {standard input}:1619: Error: junk at end of line: `1'
>
> <snip>
>
>> Any ideas on how to deal with this?  Is this a code error or a
>> compiler error?
>
> It could be either can you:
> a) try the 4.6.3 cross compiler from: https://www.kernel.org/pub/tools/crosstool/
> b) Try a ppc64_defconfig build.
>
> If the newer compiler with your .config fixes it it's a compiler issue.
> If chaning the config with you 4.4.1 compiler fixes it please post you
> .config to see if we can work out what's going on.

I used the 4.6.3 cross compiler for x86_64 from the above location.  It 
seems to be able to build arch/powerpc/kernel/ptrace.c, but then it 
gives a different error:

   CC      arch/powerpc/kernel/epapr_paravirt.o
   AS      arch/powerpc/kernel/epapr_hcalls.o
   CC      arch/powerpc/kernel/prom_init.o
   AS      arch/powerpc/kernel/head_64.o
/tmp/ccnAw2ZB.s: Assembler messages:
/tmp/ccnAw2ZB.s: Internal error, aborting at 
/home/tony/buildall/src/binutils/gas/config/tc-ppc.c line 6351 in 
md_apply_fix
Please report this bug.
make[2]: *** [arch/powerpc/kernel/head_64.o] Error 1

> Also when you say "current mainline git" I assume you mean the HEAD of
> linus's tree not Ben's right?

Yes, that's correct.

Chris

  reply	other threads:[~2013-07-12 23:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-12 16:27 error compiling ptrace in current mainline git Chris Friesen
2013-07-12 22:31 ` Tony Breeds
2013-07-12 23:40   ` Chris Friesen [this message]
2013-07-12 23:03 ` Benjamin Herrenschmidt
2013-07-12 23:44   ` Chris Friesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E093F9.6050303@mail.usask.ca \
    --to=cbf123@mail.usask.ca \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).