I finally got buildroot deliver the file system so I could test my page size fix. Now at least busybox and dash work, bash still hangs.
Also default uClibc config enables CONFIG_FEATURE_TASKSET_FANCY, which wants unimplemented functions. GDB needs threading support, but none of the build options were satisfactory. I forgot why I didn't get strace building. I'll test Sparc64 next.
--- ldso/ldso/sparc/dl-sysdep.h.orig 2006-01-17 01:00:04.000000000 +0000 +++ ldso/ldso/sparc/dl-sysdep.h 2007-07-16 19:03:01.000000000 +0000 @@ -83,10 +83,16 @@ #endif /* 4096 bytes alignment */ +#if defined(__sparc_v9__) /* ...but 8192 is required for mmap() on sparc64 kernel */ #define PAGE_ALIGN 0xffffe000 #define ADDR_ALIGN 0x1fff #define OFFS_ALIGN 0x7fffe000 +#elif defined(__sparc_v8__) +#define PAGE_ALIGN 0xfffff000 +#define ADDR_ALIGN 0xfff +#define OFFS_ALIGN 0x7ffff000 +#endif /* ELF_RTYPE_CLASS_PLT iff TYPE describes relocation of a PLT entry, so PLT entries should not be allowed to define the value.
--- libc/sysdeps/linux/common/mmap64.c.orig 2007-07-12 09:28:45.000000000 +0000 +++ libc/sysdeps/linux/common/mmap64.c 2007-07-12 10:10:23.000000000 +0000 @@ -63,7 +63,7 @@ fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT)); #else return __syscall_mmap2(addr, len, prot, flags, - fd,((__ulong_t)offset >> MMAP2_PAGE_SHIFT)); + fd,((unsigned long)offset >> MMAP2_PAGE_SHIFT)); #endif }
_______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc