All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug in Assertion failure in macro_build_lui ....tc-mips.c
@ 2002-03-22 22:11 ` Sathya.N
  0 siblings, 0 replies; 3+ messages in thread
From: Sathya.N @ 2002-03-22 22:11 UTC (permalink / raw)
  To: gcc, linux-mips; +Cc: egcs-bugs


 Hi,

  I am building the qla2x00.c driver (Fibre channel driver from Qlogic) as
loadable module for our IP under Red Hat Linux 7.2(kernel version is 2.4.x)
We are  using the Broadcom's BCM12500 Processor (MIPS Core).When I compiled
the code , I am getting the output as given below. After the warnings ,you
could see {standard input} Assembler messages: etc.,

 Could you please help me in  sorting out this bug?

Here Qlogic is my Fibre Channel source code directory.


 [root@localhost Qlogic]# make SMP=1

/usr/local/sbtools/x86-linux-rh7.1/mips-linux-2.1.1/bin/mips-linux-gcc -D__K
ERNEL__ -DMODULE -Wall -O2 -DISP2200 -DMODVERSIONS -include

/home/sathya/linux/src/linux/include/linux/modsetver.h -I/home/sathya/linux/
src/linux/include -I/home/sathya/linux/src/linux/include/../drivers/scsi -Wa
ll -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -pipe -fno-
strict-aliasing -mcpu=sb1 -mips2 -mgp32 -mlong32 -mips16 -EB -D__SMP__  -CON
FIG_SMP     -c -o qla2x00.o qla2x00.c
 In file included from qla2x00.c:384:
/home/sathya/linux/src/linux/include/linux/malloc.h:4:2: warning:
 #warning linux/malloc.h is deprecated, use linux/slab.h instead.
 qla2x00.c: In function `qla2100_proc_info':
 qla2x00.c:1146: warning: long int format, int arg (arg 4)
 qla2x00.c:1146: warning: unsigned int format, long int arg (arg 5)
 qla2x00.c:1146: warning: unsigned int format, pointer arg (arg 8)
 {standard input}: Assembler messages:
  {standard input}:119338: Internal error!
 Assertion failure in macro_build_lui at
/home/cgd/proj/sb/systemsw-2.1.1/lin.x/systemsw/tools/src/binutils/gas/confi
g/tc-mips.c line 3101.
 Please report this bug.
 make:  [qla2x00.o] Error 2*

 Regards & Thanks,
 N.Sathyanarayana
 Member Technical Staff
 GDA Technologies Ltd.,
 Chennai
 India

 www.gdatech.com
 catch me at : n.sathya@gdatech.co.in

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

* Bug in Assertion failure in macro_build_lui ....tc-mips.c
@ 2002-03-22 22:11 ` Sathya.N
  0 siblings, 0 replies; 3+ messages in thread
From: Sathya.N @ 2002-03-22 22:11 UTC (permalink / raw)
  To: gcc, linux-mips; +Cc: egcs-bugs


 Hi,

  I am building the qla2x00.c driver (Fibre channel driver from Qlogic) as
loadable module for our IP under Red Hat Linux 7.2(kernel version is 2.4.x)
We are  using the Broadcom's BCM12500 Processor (MIPS Core).When I compiled
the code , I am getting the output as given below. After the warnings ,you
could see {standard input} Assembler messages: etc.,

 Could you please help me in  sorting out this bug?

Here Qlogic is my Fibre Channel source code directory.


 [root@localhost Qlogic]# make SMP=1

/usr/local/sbtools/x86-linux-rh7.1/mips-linux-2.1.1/bin/mips-linux-gcc -D__K
ERNEL__ -DMODULE -Wall -O2 -DISP2200 -DMODVERSIONS -include

/home/sathya/linux/src/linux/include/linux/modsetver.h -I/home/sathya/linux/
src/linux/include -I/home/sathya/linux/src/linux/include/../drivers/scsi -Wa
ll -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -pipe -fno-
strict-aliasing -mcpu=sb1 -mips2 -mgp32 -mlong32 -mips16 -EB -D__SMP__  -CON
FIG_SMP     -c -o qla2x00.o qla2x00.c
 In file included from qla2x00.c:384:
/home/sathya/linux/src/linux/include/linux/malloc.h:4:2: warning:
 #warning linux/malloc.h is deprecated, use linux/slab.h instead.
 qla2x00.c: In function `qla2100_proc_info':
 qla2x00.c:1146: warning: long int format, int arg (arg 4)
 qla2x00.c:1146: warning: unsigned int format, long int arg (arg 5)
 qla2x00.c:1146: warning: unsigned int format, pointer arg (arg 8)
 {standard input}: Assembler messages:
  {standard input}:119338: Internal error!
 Assertion failure in macro_build_lui at
/home/cgd/proj/sb/systemsw-2.1.1/lin.x/systemsw/tools/src/binutils/gas/confi
g/tc-mips.c line 3101.
 Please report this bug.
 make:  [qla2x00.o] Error 2*

 Regards & Thanks,
 N.Sathyanarayana
 Member Technical Staff
 GDA Technologies Ltd.,
 Chennai
 India

 www.gdatech.com
 catch me at : n.sathya@gdatech.co.in

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

* Re: Bug in Assertion failure in macro_build_lui ....tc-mips.c
  2002-03-22 22:11 ` Sathya.N
  (?)
@ 2002-03-22 22:53 ` Thiemo Seufer
  -1 siblings, 0 replies; 3+ messages in thread
From: Thiemo Seufer @ 2002-03-22 22:53 UTC (permalink / raw)
  To: linux-mips

Sathya.N wrote:
> 
>  Hi,
> 
>   I am building the qla2x00.c driver (Fibre channel driver from Qlogic) as
> loadable module for our IP under Red Hat Linux 7.2(kernel version is 2.4.x)
> We are  using the Broadcom's BCM12500 Processor (MIPS Core).When I compiled
> the code , I am getting the output as given below. After the warnings ,you
> could see {standard input} Assembler messages: etc.,

Which binutils (gas) version are you using?

> /home/sathya/linux/src/linux/include/linux/modsetver.h -I/home/sathya/linux/
> src/linux/include -I/home/sathya/linux/src/linux/include/../drivers/scsi -Wa
> ll -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -pipe -fno-
> strict-aliasing -mcpu=sb1 -mips2 -mgp32 -mlong32 -mips16 -EB -D__SMP__  -CON
> FIG_SMP     -c -o qla2x00.o qla2x00.c

Could you add "-v --save-temps" to this command to find out how the
assembler is invoked and what the assembly in qla2x00.s looks like?


Thiemo

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

end of thread, other threads:[~2002-03-22 22:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-22 22:11 Bug in Assertion failure in macro_build_lui ....tc-mips.c Sathya.N
2002-03-22 22:11 ` Sathya.N
2002-03-22 22:53 ` Thiemo Seufer

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.