From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5446 invoked by alias); 25 May 2006 21:05:29 -0000 Received: (qmail 5435 invoked by uid 22791); 25 May 2006 21:05:28 -0000 X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 25 May 2006 21:05:25 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DAE5664453 for ; Thu, 25 May 2006 21:05:23 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26578-12 for ; Thu, 25 May 2006 21:05:18 +0000 (UTC) Received: from home.wh0rd.org (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 3FD4B6444B for ; Thu, 25 May 2006 21:05:17 +0000 (UTC) Received: (qmail 30418 invoked from network); 25 May 2006 17:03:19 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 25 May 2006 17:03:19 -0400 From: Mike Frysinger To: "Peter S. Mazinger" Subject: Re: weak and strong aliases for global data fail Date: Fri, 26 May 2006 02:44:00 -0000 User-Agent: KMail/1.9.1 Cc: binutils@sourceware.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1401266.O7Bbvd4jbP"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605251708.05278.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00469.txt.bz2 --nextPart1401266.O7Bbvd4jbP Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 853 On Wednesday 24 May 2006 09:18, Peter S. Mazinger wrote: > On Mon, 22 May 2006, Mike Frysinger wrote: > > On Wednesday 17 May 2006 07:19, Peter S. Mazinger wrote: > > > Attached tests show a case, when a final binary is OK if > > > compiled w/ -fPIC (or -fPIE, it does not have to be ET_DYN, but can > > > be), else it fails if using aliases (both weak and strong) for global > > > data. > > > > > > Sorry for the "big" test cases, I couldn't make them smaller. > > > > this is related to this thread on the glibc list: > > http://sourceware.org/ml/libc-alpha/2006-04/msg00044.html > > http://sourceware.org/ml/libc-alpha/2006-04/msg00048.html > > That seems to only be related to weak aliases, in my case it happens with > strong aliases as well. read it again ... the bug happens only with strong data aliases, weak data= =20 aliases work fine -mike --nextPart1401266.O7Bbvd4jbP Content-Type: application/pgp-signature Content-length: 827 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iQIVAwUARHYctEFjO5/oN/WBAQLJDQ/+KXlzkh/vTfK1yL2mLdNAHidSiAhrh6Tm tKwJvmuXasJfSwbehWao/GrK37kseMYlRb6ZMCW1iBWT7PxM9ovTcuYikofE+U1a LbMFLmZHUG8pqhOIQph5VM3t803mPTjO3iYxn8BOraQbAQyZ6fbR1CizNpqsYOdz KLwba2d+/phKABUtWR8k4dLm2EHsb8DRIl1OJX7gtNklpFPtYmEsgm4JYgcUpfUR AlpVzl4sud1S7CQnloaCJSNSIb8GuOYB+3WV1ScJfiBa104PwOlmrmJwu8hGRe8t Ul2DaE1ve8LyjQO0RRRYjybhBPi2twtHZTyDAwTQX0TLffRZWhgYtoCMjNVAPvoz GQ8zFkTF5H/gH/QEFCf10jZzrwFBPAHoFrpDPpZz7IF+nZ52VKzSvfZw7O+EadO8 ln/k3/LARtGdruUjF+x6QgoPledw/k55S+2zOH6+SDk3c9VfNfC0yu/1gZ3YG2Es IPxHcoUASFkEx9W/Cpj3WQaAPhJVezdECHXFbGJG8tM9TOwnakUDF8ZVvaYjaBhr iuaHhROPcM4CRXUO7cxMxv9Uw+6kDiUAYqYmCWeKJS3U1vEyU5unFc0QMa5Qa+X0 SpWLGg3K7YQiD/6bSUElKmlyO5LMwKIfnkpg5wi1y6RiPGfsJhplAALzRhU3IMgA oSmtQd4Rs9s= =8hza -----END PGP SIGNATURE----- --nextPart1401266.O7Bbvd4jbP--