From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23888 invoked by alias); 11 Aug 2012 19:27:52 -0000 Received: (qmail 23878 invoked by uid 22791); 11 Aug 2012 19:27:51 -0000 X-SWARE-Spam-Status: No, hits=-8.6 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 11 Aug 2012 19:27:38 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EC8601B400C; Sat, 11 Aug 2012 19:27:36 +0000 (UTC) From: Mike Frysinger To: Roland McGrath Subject: Re: [PATCH] hppa: add missing prlimit64 symbol Date: Sat, 11 Aug 2012 19:27:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.5.0; KDE/4.6.5; x86_64; ; ) Cc: libc-ports@sourceware.org References: <1334271665-31914-1-git-send-email-vapier@gentoo.org> <201204121926.51186.vapier@gentoo.org> <20120413035854.BF0642C079@topped-with-meat.com> In-Reply-To: <20120413035854.BF0642C079@topped-with-meat.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12953316.8rgAbNG5aJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201208111527.37505.vapier@gentoo.org> X-IsSubscribed: yes 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/msg00097.txt.bz2 --nextPart12953316.8rgAbNG5aJ Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1612 On Thursday 12 April 2012 23:58:54 Roland McGrath wrote: > > sysdeps/unix/sysv/linux/wordsize-64/syscalls.list lists it > > unconditionally (for the alias), and from there, it seems that all the > > 32bit arches add it to their arch-specific list. >=20 > That should mean that adding it to sysdeps/unix/sysv/linux/syscalls.list > should do the right thing for hppa, and that removing it from other > machine-specific syscalls.list files will then have no effect on the stat= us > quo. Can you try that and verify? ok, i confused myself. wordsize-64/syscalls.list has the line: prlimit EXTRA prlimit64 i:iipp prlimit prlimit64 while the 32bit arches have: prlimit64 EXTRA prlimit64 i:iipp prlimit64 and additionally, we have: sysdeps/unix/sysv/linux/prlimit.c so if we try to build a 64bit system with both these syscalls.list entries,= we=20 hit a build error: /usr/local/src/gnu/glibc/build/x86_64/libc_pic.a(prlimit64.os): In function= =20 `prlimit64': /usr/local/src/gnu/glibc/misc/../sysdeps/unix/syscall-template.S:81: multip= le=20 definition of `__GI_prlimit64' /usr/local/src/gnu/glibc/build/x86_64/libc_pic.a(prlimit.os):/usr/local/src= /gnu/glibc/misc/../sysdeps/unix/syscall- template.S:81: first defined here which makes sense as normally we don't generate a prlimit64 file at all, ju= st a=20 prlimit wrapper with a prlimit64 alias in it. so the next thing i tried was creating=20 sysdeps/unix/sysv/linux/wordsize-32/syscalls.list and adding the new prlimi= t=20 alias there. but a simple i686 build doesn't pick up the new location of t= he=20 prlimit64 symbol. -mike --nextPart12953316.8rgAbNG5aJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJQJrIpAAoJEEFjO5/oN/WBpwAQAJepEUOOlIsS1EzPO3IPkiVM KzgHJjBdwTA4Vgq7JkVtBl0nfqX+L0fadk1aisvKSfdH4Dve3v/jj8OYuIm5Isu4 wx4ErGXSdXfiAjilKCjLl+R/RnK+CkhJrEe7cq42VYrOJik/Cvz/zMjVP8zNV0Qg sJuR9CZfZ0n9A7cNCXtYOcUtEnTNSPBRbsqqmbHsdy5qGyUkT+7Ml070sqlnuYjQ OmmbeIbUKge80C2SWFns39Gu/q3lIVb06CQGoyTgePfrNzUoQsYzsy5wfaFUgpKB 9mBbISmKHjf0eOx4ojY/xa3UlD6UhDgpZRRWyxiJhge0obItPprfsyYRGgx+VTk/ KLujoMjUN1at2OxxFlHcM3K+35Zv6L5LtqsiWdBbddCrMyDCL/153zScHdubLt4R RD9/Ayx0EO1vakYP2nl38QdZ7pihpFitvafrz0kcFzgKJVs+lcS/557GNpmIGD77 frJPikVtExRJKf8sR/aW4nO9pz8caHLXAxgrchYegxGxdb6FlLF5X8hQV+s53Yp8 he1X/mz6MOJjkKg11milL7uxEjzAK6zxBo9yP5VZZHD9KWq4iP/cOMmM0HXtMjD0 q1wb6J8GUxfSB5mvt8Xbv3fyykXTVHptV5bEcDu8cc6289lUfiumCGF5RaCmAnSt sTGyINbEpw8hpYyFKZIN =i3VF -----END PGP SIGNATURE----- --nextPart12953316.8rgAbNG5aJ--