From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1481 invoked by alias); 12 Aug 2012 12:59:40 -0000 Received: (qmail 1473 invoked by uid 22791); 12 Aug 2012 12:59:39 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL 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; Sun, 12 Aug 2012 12:59:25 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1T0XlL-00041T-RD from joseph_myers@mentor.com ; Sun, 12 Aug 2012 05:59:23 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 12 Aug 2012 05:59:23 -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.1.289.1; Sun, 12 Aug 2012 13:59:22 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1T0XlI-0000PJ-W0; Sun, 12 Aug 2012 12:59:21 +0000 Date: Sun, 12 Aug 2012 12:59:00 -0000 From: "Joseph S. Myers" To: Mike Frysinger CC: Roland McGrath , Subject: Re: [PATCH] hppa: add missing prlimit64 symbol In-Reply-To: <201208111527.37505.vapier@gentoo.org> Message-ID: References: <1334271665-31914-1-git-send-email-vapier@gentoo.org> <201204121926.51186.vapier@gentoo.org> <20120413035854.BF0642C079@topped-with-meat.com> <201208111527.37505.vapier@gentoo.org> 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-08/txt/msg00099.txt.bz2 On Sat, 11 Aug 2012, Mike Frysinger wrote: > while the 32bit arches have: > prlimit64 EXTRA prlimit64 i:iipp prlimit64 > so the next thing i tried was creating > sysdeps/unix/sysv/linux/wordsize-32/syscalls.list and adding the new prlimit > alias there. but a simple i686 build doesn't pick up the new location of the > prlimit64 symbol. Well, it wouldn't be an *alias*; it would be the prlimit64 entry above. But, if the point is to fix things for hppa then you need to arrange for hppa to get a GLIBC_2.17 version for prlimit64, not the default GLIBC_2.13 since in fact the function was missing in 2.13 for hppa - as noted in point (v) for hppa in my list at . (The lack of ABI baselines - which of course ought to be checked against binaries of old releases when set up - is point (g) on that list, and (x) is another point involving checks against old binaries.) (Adding the entry, but with @@GLIBC_2.17 like the SH fanotify_mark, to the hppa syscalls.list along with an appropriate Versions entry, is certainly the safer approach than doing something with the potential to affect other architectures, even though it may also be good to work out how to clean these things up. Note hppa also needs fanotify_mark at a new version, and note that cleanups here only help existing architectures; there are no issues for new architectures using linux-generic because linux-generic already has the right entries in syscalls.list.) -- Joseph S. Myers joseph@codesourcery.com