Hi, Actually, with no "-meabi=4" in diet.c and "make MYARCH=arm DEBUG=1", there is no bug with compiling.
But, with "make MYARCH=arm dyn", there are issues: gcc -D__dietlibc__ -I. -isystem include -pipe -nostdinc -Os -fomit-frame-pointer -fstrict-aliasing -mabi=aapcs-linux -mfloat-abi=soft -mno-thumb-interwork -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes - Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fPIC -D__DYN_LIB -c arm/dyn_syscalls.S -o pic-arm/dyn_syscalls.o arm/../syscalls.s/__pread.S: Assembler messages: arm/../syscalls.s/__pread.S:3: Error: invalid literal constant: pool needs to be closer arm/../syscalls.s/__pwrite.S:3: Error: invalid literal constant: pool needs to be closer arm/../syscalls.s/getrlimit.S:3: Error: invalid literal constant: pool needs to be closer make: *** [pic-arm/dyn_syscalls.o] Error 1 The third line of arm/../syscalls.s/__pread.S is: syscall_weak(pread,pread64,__libc_pread64) And syscall_weak is a macro defined in arm/syscalls.h: 1 #define syscall_weak(name,wsym,sym) __syscall_weak __NR_##name, wsym, sym, __ARGS_##name 2 .macro __syscall_weak name wsym sym typ 3 .text 4 .type \wsym,function 5 .weak \wsym 6 \wsym: 7 .type \sym,function 8 .global \sym 9 \sym: 10 stmfd sp!,{r4,r5,r7,lr} 11 ldr r4, [sp,#16] 12 ldr r5, [sp,#20] 13 ldr r7, =\name 14 swi 0 15 b __unified_syscall 16 .endm I don't know debug that... Thanks a lot, -- http://julien.vaubourg.com lemanchotvol...@jabber.fr
signature.asc
Description: Digital signature