* mips linux glibc-2.3.3 build - opcode not supported problem
@ 2004-09-30 5:42 T. P. Saravanan
0 siblings, 0 replies; 2+ messages in thread
From: T. P. Saravanan @ 2004-09-30 5:42 UTC (permalink / raw)
To: linux-mips
Hi,
I hope it is OK to post linux mips glibc build problems here. If not,
please let me
know an appropriate forum.
---
Host type: mipsel-unknown-linux-gnu
System: Linux eyeore 2.4.25 #20 Wed Sep 29 09:01:29 IST 2004 mips unknown
Architecture: mips
Addons: linuxthreads
Build CFLAGS: -g -O2
Build CC: gcc
Compiler version: 3.4.2
Kernel headers: 2.4.25
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: yes
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
sara@eyeore:~/tmp$ cat /proc/cpuinfo
system type : ITE QED-4N-S01B
processor : 0
cpu model : Nevada V3.1 FPU V3.0
BogoMIPS : 299.00
wait instruction : yes
microsecond timers : yes
tlb_entries : 48
extra interrupt vector : yes
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available
sara@eyeore:~/tmp$
This is how the build dies:
.
.
.
gcc -mabi=32 ../sysdeps/unix/sysv/linux/mips/_test_and_set.c -c
-std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-g -I../include -I. -I/home/sara/build/glibc/objdir/misc -I..
-I../libio -I/home/sara/build/glibc/objdir -I../sysdeps/mips/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/mips
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/mips -I../sysdeps/unix/sysv/linux/mips/mips32
-I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/mips/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem
/home/sara/usr/local/lib/gcc/mipsel-unknown-linux-gnu/3.4.2/include
-isystem /home/sara/build/linux/linux-2.4.25mips/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -o
/home/sara/build/glibc/objdir/misc/_test_and_set.o -MD -MP -MF
/home/sara/build/glibc/objdir/misc/_test_and_set.o.dt
/tmp/ccDGPHmY.s: Assembler messages:
/tmp/ccDGPHmY.s:28: Error: opcode not supported on this processor: mips1
(mips1) `ll $2,0($4)'
/tmp/ccDGPHmY.s:31: Error: opcode not supported on this processor: mips1
(mips1) `sc $3,0($4)'
make[2]: *** [/home/sara/build/glibc/objdir/misc/_test_and_set.o] Error 1
make[2]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3'
make: *** [all] Error 2
sara@eyeore:~/build/glibc/objdir$
The problem seems to go away if I put CFLAGS="-mips4 -O2 -g". Is it OK
to do this?
Why did gcc/gas fail to use -mips4 opcodes by default?
-Saravanan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mips linux glibc-2.3.3 build - opcode not supported problem
[not found] <026b01c4a6d5$179b11e0$1701a8c0@vmbservice.ru>
@ 2004-10-04 5:19 ` T. P. Saravanan
0 siblings, 0 replies; 2+ messages in thread
From: T. P. Saravanan @ 2004-10-04 5:19 UTC (permalink / raw)
To: linux-mips
Hi,
okay. Now I have put my CFLAGS to
export CFLAGS="-mips32 -O2 -g"
This too takes me beyond "opcode not supported on this processor" error.
But, the build is breaking at a later point - it is something to do with
#defines like _MIPS_SIM _ABIN32 _ABI64 etc. Anyway, I will post the
problem in an independent mail.
Thanks,
Saravanan.
Alec Voropay wrote:
>Hi!
>
> The original mips1 (32-bit R3000) has no sc/ll instructions.
>
> This sc/ll instructions are from the mips3 (64-bit R4000) command set.
>
> It seems, you should use newest "hybrid" mips32 (designed for the SOC)
>:
>the ISA-II+ architecture but 32bit + *extended instrution set* .
>
>--
>-=AV=-
>
>
>
>
>>-----Original Message-----
>>From: linux-mips-bounce@linux-mips.org
>>[mailto:linux-mips-bounce@linux-mips.org] On Behalf Of T. P. Saravanan
>>Sent: Thursday, September 30, 2004 9:43 AM
>>To: linux-mips@linux-mips.org
>>Subject: mips linux glibc-2.3.3 build - opcode not supported problem
>>
>>
>>
>>
[-snip-]
>>The problem seems to go away if I put CFLAGS="-mips4 -O2 -g".
>> Is it OK
>>to do this?
>>Why did gcc/gas fail to use -mips4 opcodes by default?
>>
>>-Saravanan
>>
>>
>>
>>
>>
>>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-04 5:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <026b01c4a6d5$179b11e0$1701a8c0@vmbservice.ru>
2004-10-04 5:19 ` mips linux glibc-2.3.3 build - opcode not supported problem T. P. Saravanan
2004-09-30 5:42 T. P. Saravanan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox