From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26745 invoked by alias); 18 Dec 2012 20:34:40 -0000 Received: (qmail 26712 invoked by uid 22791); 18 Dec 2012 20:34:39 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_FC X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Dec 2012 20:34:31 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Tl3ry-0005pn-UG from joseph_myers@mentor.com ; Tue, 18 Dec 2012 12:34:30 -0800 Received: from SVR-IES-FEM-02.mgc.mentorg.com ([137.202.0.106]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 18 Dec 2012 12:34:30 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.1.289.1; Tue, 18 Dec 2012 20:34:28 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1Tl3rv-0003h3-NZ; Tue, 18 Dec 2012 20:34:27 +0000 Date: Tue, 18 Dec 2012 20:34:00 -0000 From: "Joseph S. Myers" To: CC: Subject: Architectures status 2012-12-18 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-12/txt/msg00051.txt.bz2 Here is my understanding of the current status of ports with regard to being updated for global changes in libc. There are also some notes for some libc architectures where such updates seem to be needed. I have not included any cases where libm-test-ulps needs updating in this list. libc: * Hurd: (a) Hurd needs ABI test baselines. (b) Hurd needs a c++-types.data file. * PowerPC: (a) PowerPC needs sotruss-lib.c support. * S/390: (a) S/390 needs sotruss-lib.c support. * SH: (a) SH needs a c++-types.data file. (b) SH needs sotruss-lib.c support. * SPARC: (a) SPARC should have lll_futex_timed_wait_bitset added. ports: * Alpha: (a) Alpha should have lll_futex_timed_wait_bitset added. * IA64: (a) IA64 needs a sotruss-lib.c file. (b) IA64 should have lll_futex_timed_wait_bitset added. * Tile: (a) Tile should have lll_futex_timed_wait_bitset added. * m68k: (a) May need updates to its ccos / csin / ccosh / csinh implementations along the lines of my 2012-05-19 libc changes to avoid spurious overflows (bug 14123). * hppa: (a) sysdeps/unix/sysv/linux/hppa/syscalls.list has a __connect_internal alias that has been removed for other architectures. (b) There are no ABI test baselines for hppa. (c) hppa still has conditionals on or definitions of obsolete macros USE_TLS and USE___THREAD. (d) sysdeps/unix/sysv/linux/hppa/bits/mman.h is missing MAP_STACK and MAP_HUGETLB. (e) sysdeps/unix/sysv/linux/hppa/bits/mman.h is missing MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP and MADV_HWPOISON. (f) sysdeps/unix/sysv/linux/hppa/bits/shm.h is missing SHM_EXEC. (g) sysdeps/unix/sysv/linux/hppa/bits/sigaction.h is missing the change to define SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8. (h) sysdeps/unix/sysv/linux/hppa/sys/epoll.h still exists but bits/epoll.h should now be provided instead. (i) sysdeps/unix/sysv/linux/hppa/sys/eventfd.h still exists but bits/eventfd.h should now be provided instead. (j) sysdeps/unix/sysv/linux/hppa/sys/inotify.h still exists but bits/inotify.h should now be provided instead. (k) sysdeps/unix/sysv/linux/hppa/sys/signalfd.h still exists but bits/signalfd.h should now be provided instead. (l) sysdeps/unix/sysv/linux/hppa/sys/timerfd.h still exists but bits/timerfd.h should now be provided instead. (m) sysdeps/unix/sysv/linux/hppa/syscalls.list is missing fanotify_mark which means it is likely that functions is missing on hppa (and when added, will need appropriate Versions addition to avoid adding it to an old version). (n) An entry in libc's sysdeps/unix/sysv/linux/configure.in for hppa was removed on 2012-01-07 and a ports update may be needed. That entry may actually have been dead because of the arch_minimum_kernel setting in sysdeps/unix/sysv/linux/hppa/nptl/configure.in - but in that case, there's the question of whether the libc_cv_gcc_unwind_find_fde=yes that was in libc's file for hppa should go in the ports version (if that was a correct description of old libc binaries on hppa). (o) sysdeps/unix/sysv/linux/hppa/kernel-features.h still defines __ASSUME_32BITUIDS and __ASSUME_TRUNCATE64_SYSCALL (no longer used). (p) There is no c++-types.data for hppa. (q) The TLS configure checks should be removed from sysdeps/hppa/configure.in, now the rule is that we assume a recent-enough binutils and such checks are no longer needed for each architecture and have been removed for other architectures. (r) __ASSUME_LWS_CAS (definition and uses) should be removed now 2.6.16 is the global minimum kernel version. (s) lll_futex_timed_wait_bitset should be defined for hppa. (t) hppa needs a sotruss-lib.c file. * am33: generally massively out of date and I have not tried to identify specific changes needed. Some updates were posted in and issues pointed out in comments on those updates. At least the following postdate those comments or were not included in them: sotruss-lib.c is needed; bits/fcntl.h needs updating for the fcntl-linux.h refactoring; ASM_TYPE_DIRECTIVE and ASM_GLOBAL_DIRECTIVE need removing from the port. -- Joseph S. Myers joseph@codesourcery.com