Waldemar,

I have been building uclibc on 32 bit mips for a while but I only looked
at the MIPS64 uclibc build after I saw your email.   I haven't been
able to build for MIPS64 N32 or N64 ABI's yet and I was wondering if you
have run into either of the problems I am seeing.

I am using the latest sources with your patch included.


For MIPS64 and the N32 ABI my build dies with:

libc/sysdeps/linux/mips/pread_write.c:23:32: error: '__NR_pwrite' undeclared 
(first use in this function)
 # define __NR___syscall_pwrite __NR_pwrite
                                ^
/local/home/sellcey/gcc/uclibc/obj-mips-mti-linux-uclibc/uclibc/obj_mips64/include/bits/syscalls.h:157:4:
 note: in definition of macro 'internal_syscall4'
  : input, "r" (__a0), "r" (__a1), "r" (__a2)   \
    ^
/local/home/sellcey/gcc/uclibc/obj-mips-mti-linux-uclibc/uclibc/obj_mips64/include/bits/syscalls-common.h:15:33:
 note: in expansion of macro '__NR___syscall_pwrite'
 # define SYS_ify(syscall_name) (__NR_##syscall_name)

.
.
.


On MIPS64 with the N64 ABI it dies with:

/local/home/sellcey/gcc/uclibc/obj-mips-mti-linux-uclibc/uclibc/obj_mips64_64/libc/libc_so.a(lockf64.os):
 In function `lockf64':
lockf64.c:(.text+0x88): undefined reference to `fcntl64'
collect2: error: ld returned 1 exit status
make: *** 
[/local/home/sellcey/gcc/uclibc/obj-mips-mti-linux-uclibc/uclibc/obj_mips64_64/lib/libc.so]
 Error 1


Have you seen either of these errors in any of your builds?

Steve Ellcey
[email protected]

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to