All of lore.kernel.org
 help / color / mirror / Atom feed
* RedHat 7.1 cross toolchain kernel build problem
@ 2001-11-28 18:06 TWEDE,ROGER (HP-Boise,ex1)
  2001-11-28 18:21 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: TWEDE,ROGER (HP-Boise,ex1) @ 2001-11-28 18:06 UTC (permalink / raw)
  To: Linux/MIPS Development

Does anyone have any ideas why the i386->mipsel cross toolchain at
oss.sgi.com:/pub/linux/redhat/7.1/RPMS/i386/toolchain* fails to build
vgacon.o in the kernel's drivers/video directory?


I get the following errors from the assembler:
{standard input}:4683: Error: expression too complex
{standard input}:4683: Fatal error: internal Error, line 1980,
../../tools-20011020/gas/config/tc-mips.c
make[3]: *** [vgacon.o] Error 1

Apparently the compiler has generated assembly which the assembler cannot
handle.
I compiled to a .s assembly file and line 4683 was simply 'sb $6,$5($3)'.


Thanks,

Roger

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RedHat 7.1 cross toolchain kernel build problem
  2001-11-28 18:06 RedHat 7.1 cross toolchain kernel build problem TWEDE,ROGER (HP-Boise,ex1)
@ 2001-11-28 18:21 ` Daniel Jacobowitz
  2001-11-29 14:08   ` Ralf Baechle
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2001-11-28 18:21 UTC (permalink / raw)
  To: TWEDE,ROGER (HP-Boise,ex1); +Cc: Linux/MIPS Development

On Wed, Nov 28, 2001 at 01:06:00PM -0500, TWEDE,ROGER (HP-Boise,ex1) wrote:
> Does anyone have any ideas why the i386->mipsel cross toolchain at
> oss.sgi.com:/pub/linux/redhat/7.1/RPMS/i386/toolchain* fails to build
> vgacon.o in the kernel's drivers/video directory?
> 
> 
> I get the following errors from the assembler:
> {standard input}:4683: Error: expression too complex
> {standard input}:4683: Fatal error: internal Error, line 1980,
> ../../tools-20011020/gas/config/tc-mips.c
> make[3]: *** [vgacon.o] Error 1
> 
> Apparently the compiler has generated assembly which the assembler cannot
> handle.
> I compiled to a .s assembly file and line 4683 was simply 'sb $6,$5($3)'.

If you search the list archives, I've posted patches for this several
times.  It's a compiler bug but can be worked around in io.h.  $5($3)
is not a legal addressing mode.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RedHat 7.1 cross toolchain kernel build problem
  2001-11-28 18:21 ` Daniel Jacobowitz
@ 2001-11-29 14:08   ` Ralf Baechle
  0 siblings, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2001-11-29 14:08 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: TWEDE,ROGER (HP-Boise,ex1), Linux/MIPS Development

On Wed, Nov 28, 2001 at 01:21:17PM -0500, Daniel Jacobowitz wrote:

> If you search the list archives, I've posted patches for this several
> times.  It's a compiler bug but can be worked around in io.h.  $5($3)
> is not a legal addressing mode.

The current kernel source has replaced the inline assembler functions in
include/asm-mips/io.h thus this is no longer necessary.

  Ralf

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-29 15:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-28 18:06 RedHat 7.1 cross toolchain kernel build problem TWEDE,ROGER (HP-Boise,ex1)
2001-11-28 18:21 ` Daniel Jacobowitz
2001-11-29 14:08   ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.