public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Prarit Bhargava <prarit@redhat.com>
To: linux-ia64@vger.kernel.org
Subject: Re: "make ARCH=ia64 headers_install" generates assembly errors
Date: Wed, 10 Oct 2007 15:19:29 +0000	[thread overview]
Message-ID: <470CED81.3080903@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0710101035470.26393@localhost.localdomain>



Robert P. J. Day wrote:
>   the result of running:
>
> $ make -d V=1 ARCH=ia64 headers_install
>
> Reading makefiles...
> Reading makefile `Makefile'...
> Reading makefile `/home/rpjday/k/git/scripts/Kbuild.include' (search path) (no ~ expansion)...
> Reading makefile `/home/rpjday/k/git/arch/ia64/Makefile' (search path) (no ~ expansion)...
> /home/rpjday/k/git/arch/ia64/scripts/check-segrel.S: Assembler messages:
> /home/rpjday/k/git/arch/ia64/scripts/check-segrel.S:1: Error: unknown pseudo-op: `.rodata'
> /home/rpjday/k/git/arch/ia64/scripts/check-segrel.S:2: Error: no such instruction: `data4 @segrel(start)'
> objdump: '/tmp/out26433': No such file
> /home/rpjday/k/git/arch/ia64/scripts/toolchain-flags: line 19: [: !=: unary operator expected
> /home/rpjday/k/git/arch/ia64/scripts/check-text-align.S: Assembler messages:
> /home/rpjday/k/git/arch/ia64/scripts/check-text-align.S:1: Error: unknown pseudo-op: `.proc'
> /home/rpjday/k/git/arch/ia64/scripts/check-text-align.S:2: Error: unknown pseudo-op: `.prologue'
> /home/rpjday/k/git/arch/ia64/scripts/check-text-align.S:3: Error: unknown pseudo-op: `.save'
> /home/rpjday/k/git/arch/ia64/scripts/check-text-align.S:6: Error: unknown pseudo-op: `.endp'
> readelf: Error: '/tmp/out26433': No such file
> /home/rpjday/k/git/arch/ia64/scripts/check-gas-asm.S: Assembler messages:
> /home/rpjday/k/git/arch/ia64/scripts/check-gas-asm.S:1: Error: junk at end of line, first unrecognized character is `['
> /home/rpjday/k/git/arch/ia64/scripts/check-gas-asm.S:2: Error: unknown pseudo-op: `.xdata4'
> objdump: '/tmp/out26459.o': No such file
> /home/rpjday/k/git/arch/ia64/scripts/check-gas: line 10: [: !=: unary operator expected
> Updating makefiles....
> ... etc etc ...
>
>   the issue appears to be this snippet from arch/ia64/Makefile:
>
> ...
> GAS_STATUS      = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
> CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)")
> ...
>
>   

Are these lines even useful anymore given the current tool chain we have?

P.


>   this will obviously cause problems if you have no cross-compiler,
> which you really shouldn't need if all you're doing is installing
> headers, anyway.
>
>   the headers_install step still works, but it would be cleaner if the
> Makefile didn't try to do things like check for proper assembler when
> there's no call for it.
>
> rday
>
>   

      reply	other threads:[~2007-10-10 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 14:40 "make ARCH=ia64 headers_install" generates assembly errors Robert P. J. Day
2007-10-10 15:19 ` Prarit Bhargava [this message]

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=470CED81.3080903@redhat.com \
    --to=prarit@redhat.com \
    --cc=linux-ia64@vger.kernel.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