[uClibc]uClibc 0.9.10 on MIPS - fails compiling crti.S
Joseph Chiu
josephc at idealab.com
Thu Mar 21 22:05:32 UTC 2002
Hi,
I am attempting to compiled uClibc 0.9.10 for MIPS and am getting an error
with crti.S. From a quick glance, it looks like the initfini script might
not be generating a proper criti.S from initfini.s??? I'm hoping this is
something already fixed, but I haven't seen anything in the list covering
this, so I apologize if I'm missing the obvious/already covered...
Thanks,
Joseph
-
mips_fp_le-gcc -Wall -Os -fno-builtin -nostdinc -pipe -nostdinc -I../../../
../i
nclude -I/opt/hardhat/devkit/mips/fp_le/bin/../lib/gcc-lib/mipsel-hardhat-li
nux/
2.95.3/include -I. -D_LIBC -DNDEBUG -fPIC -DL__fcntl64 syscalls.c -c -o
_fcntl
64.o
mips_fp_le-strip -x -R .note -R .comment _fcntl64.o
mips_fp_le-gcc -Wall -Os -fno-builtin -fPIC -c initfini.c -S -o initfini.s
../../../..//extra/scripts/initfini.pl
mips_fp_le-gcc -Wall -Os -fno-builtin -fPIC -c crti.S -o crti.o
crti.S: Assembler messages:
crti.S:28: Warning: second .ent directive found before .end directive
crti.S:28: Error: Rest of line ignored. First ignored character is `_'.
make[4]: *** [crti.o] Error 1
make[4]: Leaving directory
`/home/jchiu/work/omnilux/uclibc/uClibc-0.9.10/libc/s
ysdeps/linux/common'
make[3]: *** [_dir_common] Error 2
make[3]: Leaving directory
`/home/jchiu/work/omnilux/uclibc/uClibc-0.9.10/libc/s
ysdeps/linux'
make[2]: *** [_dir_linux] Error 2
make[2]: Leaving directory
`/home/jchiu/work/omnilux/uclibc/uClibc-0.9.10/libc/s
ysdeps'
make[1]: *** [_dir_sysdeps] Error 2
make[1]: Leaving directory
`/home/jchiu/work/omnilux/uclibc/uClibc-0.9.10/libc'
make: *** [_dir_libc] Error 2
--
crti.S currently reads:
.file 1 "initfini.c"
.abicalls
.version "01.01"
gcc2_compiled.:
__gnu_compiled_c:
#APP
.section .init
#NO_APP
.align 2
.globl _init
.ent _init
_init:
.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0,
extra= 0
.mask 0x00000000,0
.fmask 0x00000000,0
.set noreorder
.cpload $25
.set reorder
#APP
.section .fini
#NO_APP
.align 2
.globl _fini
.ent _fini
_fini:
.frame $sp,32,$31 # vars= 0, regs= 2/0, args= 16,
extra= 8
.mask 0x90000000,-4
.fmask 0x00000000,0
.set noreorder
.cpload $25
.set reorder
subu $sp,$sp,32
.cprestore 16
sw $31,28($sp)
sw $28,24($sp)
#APP
--
Joseph Chiu, Developer, idealab!
josephc at idealab.com (626) 535-2819
It's a small change... what could possibly go wR.u6$
More information about the uClibc
mailing list