Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Linux-MIPS compilation
@ 2003-04-01  6:35 Neeraj  Garg, Noida
  2003-04-01 11:42 ` Ralf Baechle
  0 siblings, 1 reply; 6+ messages in thread
From: Neeraj  Garg, Noida @ 2003-04-01  6:35 UTC (permalink / raw)
  To: linux-mips

Hi all,
I am trying to compile linux kernel version 2.4.19 and 2.4.20 for a MIPS
processor. GNU Compiler and linker version is 2.95.4.

-----------------
Compilation: 
------------------
Using compilation options:
mips-linux-gcc -D__KERNEL__ -D__linux__ -D_MIPS_SZLONG=32
-I/usr/emb_linux/linux-2.4.20/include -D__linux__ -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I
/usr/emb_linux/linux-2.4.20/include/asm/gcc -G 0 -mno-abicalls -fno-pic
-pipe -g -mcpu=r4600 -mips2 -Wa,--trap  -DUTS_MACHINE='"mips"'

I have got a tons of warnings named as:
{standard input}: Assembler messages:
{standard input}:784: Warning: Macro instruction expanded into multiple
instructions
{standard input}:784: Warning: No .cprestore pseudo-op used in PIC code

Can anybody help out to remove these warnings?

----------------------
Linking
-------------------
Using linking options:
mips-linux-ld -G 0 -static  -T arch/mips/ld.script

I have got a tons of error messages named as:
relocation truncated to fit: R_MIPS_PC16 cache_parity_error
relocation truncated to fit: R_MIPS_PC16 no symbol
relocation truncated to fit: R_MIPS_PC16 no symbol

I would be obliged if somebody can explain how GNU linker is taking
R_MIPS_PC16 as relocation type and what is the remedy to remove these error
messages?

Thanks and regds,
-neeraj


----------------------------------------------------------------------
Neeraj Kumar Garg            
Member Technical Staff

HCL Technologies Ltd.
A-5, Sector 24                Work: 91-11-91-2411502 Ext 2560
Noida UP - 201301             Fax:  91-11-91-2440155
India
----------------------------------------------------------------------

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

end of thread, other threads:[~2003-04-01 15:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-01  6:35 Linux-MIPS compilation Neeraj  Garg, Noida
2003-04-01 11:42 ` Ralf Baechle
2003-04-01 13:57   ` Brian Murphy
2003-04-01 14:03     ` Ralf Baechle
2003-04-01 14:58     ` Geert Uytterhoeven
2003-04-01 15:25       ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox