From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26316 invoked by alias); 3 Sep 2013 15:51:34 -0000 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 Received: (qmail 26293 invoked by uid 89); 3 Sep 2013 15:51:34 -0000 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Sep 2013 15:51:34 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_HELO_FAIL autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1VGst7-0003Ol-18 from joseph_myers@mentor.com ; Tue, 03 Sep 2013 08:51:29 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Sep 2013 08:51:28 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Tue, 3 Sep 2013 16:51:27 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1VGst4-0006iN-Hp; Tue, 03 Sep 2013 15:51:26 +0000 Date: Tue, 03 Sep 2013 15:51:00 -0000 From: "Joseph S. Myers" To: , Mike Frysinger , Subject: Known hppa port issues Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2013-09/txt/msg00016.txt.bz2 Since there seems to be some activity fixing old issues of the hppa port being out-of-date with respect to other architectures, here's the current version of my list of such issues (this is in addition to anything in Bugzilla, and may be incomplete in other ways). * 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. If applicable, use bits/mman-linux.h as part of the fix. (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) 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). (n) sysdeps/unix/sysv/linux/hppa/kernel-features.h still defines __ASSUME_32BITUIDS and __ASSUME_TRUNCATE64_SYSCALL (no longer used). (o) There is no c++-types.data for hppa. (p) 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. (q) __ASSUME_LWS_CAS (definition and uses) should be removed now 2.6.16 is the global minimum kernel version. (r) lll_futex_timed_wait_bitset should be defined for hppa. (s) hppa needs a sotruss-lib.c file. (t) hppa should use FUTEX_*_REQUEUE_PI as per commit 8313cb997d2da2465c8560d3164358a68ea1e9ad. (u) hppa pthread.h is out of date relative to the architecture-independent version (at least, missing the declarations of pthread_getattr_default_np and pthread_setattr_default_np). -- Joseph S. Myers joseph@codesourcery.com