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
----------------------------------------------------------------------
|