analyse some failures in lsbsi-ppc64
Hong Bo Peng <[email protected]> Fri, 18 Jun 2004 12:55:13 +0800
| Newsgroups | gmane.linux.lsb.implementation |
|---|---|
| Message-ID | <OFEBB05B3A.60006975-ON48256EB7.0014CC1B-48256EB7.001B0747@cn.ibm.com> |
--===============0441610725== Content-type: multipart/alternative; Boundary="0__=C7BBE424DF874A8B8f9e8a93df938690918cC7BBE424DF874A8B" Content-Disposition: inline --0__=C7BBE424DF874A8B8f9e8a93df938690918cC7BBE424DF874A8B Content-type: text/plain; charset=US-ASCII Hello all These are the results of failures in lsbsi ppc64 arch. >/tset/LI18NUX2K.L1/utils/locale/locale 6 FAIL Definition for CHAR_MAX is different in ppc64 and ppc32. It will be 255 but not 127 in ppc64. locale/programs/ld-monetary.c ld-numeric.c use \177 for mon_grouping and grouping. But in file locale/programs/locale.c it will check for CHAR_MAX. So this cause the problem. >/tset/LI18NUX2K.L1/base/fwide/T.fwide 4 FAIL This failure was fixed by Jakub Jeline. The problem is that if _IO_JUMPS_OFFSET is not defined, then _IO_no_init does not initialize _vtable_offset field. But some function in glibc/libio will check whether _vtable_offset is 0 or not. With Jakub's patch, fp->_mode will set to -1 when we call fputs(...). This is the original msg: http://sources.redhat.com/ml/libc-hacker/2003-08/msg00005.html >/tset/LSB.os/jump/getcontext/T.getcontext 1 FAIL >/tset/LSB.os/jump/getcontext/T.getcontext 2 FAIL >/tset/LSB.os/jump/makecontext/T.makecontext 1 UNRESOLVED >/tset/LSB.os/jump/makecontext/T.makecontext 2 UNRESOLVED >/tset/LSB.os/jump/makecontext/T.makecontext 3 UNRESOLVED >/tset/LSB.os/jump/setcontext/T.setcontext 1 UNRESOLVED When not define __ASSUME_NEW_RT_SIGRETURN_SYSCALL, getcontext, makecontext and setcontext will return ENOSYS. To define __ASSUME_NEW_RT_SIGRETURN_SYSCALL, the kernel should be later than 2.4.21. The current configure will define __LINUX_KERNEL_VERSION to 2.4.19. sysdeps/unix/sysv/linux/configure define arch_minimum_kernel (ppc64) to 2.4.19 Best Regards! Peng Hongbo --0__=C7BBE424DF874A8B8f9e8a93df938690918cC7BBE424DF874A8B Content-type: text/html; charset=US-ASCII Content-Disposition: inline <html><body> <p>Hello all<br> <br> These are the results of failures in lsbsi ppc64 arch.<br> <br> <b><font face="Arial"> >/tset/LI18NUX2K.L1/utils/locale/locale 6 FAIL</font></b><br> Definition for CHAR_MAX is different in ppc64 and ppc32. It will be 255 but not 127 in<br> ppc64. locale/programs/ld-monetary.c ld-numeric.c use \177 for mon_grouping and<br> grouping. But in file locale/programs/locale.c it will check for CHAR_MAX. So this<br> cause the problem. <br> <br> <b><font face="Arial"> >/tset/LI18NUX2K.L1/base/fwide/T.fwide 4 FAIL</font></b><br> This failure was fixed by Jakub Jeline. The problem is that if _IO_JUMPS_OFFSET<br> is not defined, then _IO_no_init does not initialize _vtable_offset field. But some<br> function in glibc/libio will check whether _vtable_offset is 0 or not. With Jakub's<br> patch, fp->_mode will set to -1 when we call fputs(...). This is the original msg:<br> <a href="http://sources.redhat.com/ml/libc-hacker/2003-08/msg00005.html">http://sources.redhat.com/ml/libc-hacker/2003-08/msg00005.html</a><br> <br> <b><font face="Arial"> >/tset/LSB.os/jump/getcontext/T.getcontext 1 FAIL</font></b><br> <b><font face="Arial"> >/tset/LSB.os/jump/getcontext/T.getcontext 2 FAIL</font></b><br> <b><font face="Arial"> >/tset/LSB.os/jump/makecontext/T.makecontext 1 UNRESOLVED</font></b><br> <b><font face="Arial"> >/tset/LSB.os/jump/makecontext/T.makecontext 2 UNRESOLVED</font></b><br> <b><font face="Arial"> >/tset/LSB.os/jump/makecontext/T.makecontext 3 UNRESOLVED</font></b><br> <b><font face="Arial"> >/tset/LSB.os/jump/setcontext/T.setcontext 1 UNRESOLVED</font></b><br> When not define __ASSUME_NEW_RT_SIGRETURN_SYSCALL, getcontext, makecontext and<br> setcontext will return ENOSYS. To define __ASSUME_NEW_RT_SIGRETURN_SYSCALL,<br> the kernel should be later than 2.4.21. The current configure will define<br> __LINUX_KERNEL_VERSION to 2.4.19.<font face="Arial"> sysdeps/unix/</font><font face="Arial">sysv/linux/configure define </font><font face="Arial">arch_minimum_kernel</font><br> <font face="Arial">(ppc64) to 2.4.19</font><br> <br> Best Regards!<br> Peng Hongbo<br> </body></html> --0__=C7BBE424DF874A8B8f9e8a93df938690918cC7BBE424DF874A8B-- --===============0441610725== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lsb-impl mailing list [email protected] http://mail.freestandards.org/mailman/listinfo/lsb-impl --===============0441610725==--