* "make ARCH=ia64 headers_install" generates assembly errors
@ 2007-10-10 14:40 Robert P. J. Day
2007-10-10 15:19 ` Prarit Bhargava
0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2007-10-10 14:40 UTC (permalink / raw)
To: linux-ia64
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)")
...
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
--
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
====================================
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "make ARCH=ia64 headers_install" generates assembly errors
2007-10-10 14:40 "make ARCH=ia64 headers_install" generates assembly errors Robert P. J. Day
@ 2007-10-10 15:19 ` Prarit Bhargava
0 siblings, 0 replies; 2+ messages in thread
From: Prarit Bhargava @ 2007-10-10 15:19 UTC (permalink / raw)
To: linux-ia64
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
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-10 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox