From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13225 invoked by alias); 18 Feb 2015 19:44:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 13200 invoked by uid 89); 18 Feb 2015 19:44:51 -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,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 18 Feb 2015 19:44:47 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id EAD1C3407BD; Wed, 18 Feb 2015 19:44:43 +0000 (UTC) Date: Wed, 18 Feb 2015 19:44:00 -0000 From: Mike Frysinger To: "H.J. Lu" Cc: Joel Brobecker , GCC Patches , Binutils , GDB Subject: Re: ping #3: [RFA] Add --with-libz-prefix option in config/zlib.m4 Message-ID: <20150218194443.GW544@vapier> Mail-Followup-To: "H.J. Lu" , Joel Brobecker , GCC Patches , Binutils , GDB References: <20150107144548.GX5432@adacore.com> <20150218120841.GD23529@adacore.com> <20150218165457.GU544@vapier> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O7hm+SMpb/lu0d4d" Content-Disposition: inline In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00493.txt.bz2 --O7hm+SMpb/lu0d4d Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2430 On 18 Feb 2015 08:58, H.J. Lu wrote: > On Wed, Feb 18, 2015 at 8:54 AM, Mike Frysinger wrote: > > On 18 Feb 2015 04:56, H.J. Lu wrote: > >> On Wed, Feb 18, 2015 at 4:08 AM, Joel Brobecker wrote: > >> > On Wed, Jan 07, 2015 at 06:45:48PM +0400, Joel Brobecker wrote: > >> >> This patch enhances config/zlib.m4 to introduce an extra option > >> >> --with-libz-prefix which allows us to provide the location of > >> >> the zlib library we want to use during the build. > >> >> > >> >> config/ChangeLog: > >> >> > >> >> * zlib.m4 (AM_ZLIB): Add --with-libz-prefix option support. > >> >> > >> >> I didn't see any file in the GCC project that uses this macro, > >> >> so for the GCC repository, the change to zlib.m4 is it. But > >> >> I am also attaching to this email a copy of the patch that > >> >> will be applied to the binutils-gdb.git repository, with all > >> >> configury using this macro being re-generated - mostly for info, > >> >> also as a heads-up to both binutils and GDB. > >> >> > >> >> This was tested by regenerating all autoconf/automake files in > >> >> the binutils-gdb project, and rebuilding GDB, using the following > >> >> combinations: > >> >> > >> >> --with-zlib (system zlib used) > >> >> --with-libz-prefix=3D/zlib/prefix (specific zlib linked in) > >> >> --with-zlib --with-libz-prefix=3D/zlib/prefix (specific zlib link= ed in) > >> >> > >> >> --without-zlib (zlib support turned off) > >> >> --without-zlib --with-zlib-prefix (zlib support turned off) > >> >> > >> >> --with-zlib (no system zlib available, configure fails with expec= ted error) > >> >> --with-zlib --with-libz-prefix=3D/invalid/zlib/prefix > >> >> (no system zlib, configure fails with same error) > >> >> > >> >> OK to commit? > >> > >> Why do you want to turn off zlib? On Linux/x86, zlib is required > >> for assembler. At least, you should issue an error when --without-libz > >> is used in binutils for Linux/x86 target. > > > > err, when did that happen ? why would zlib be possibly required for an > > assembler ? >=20 > commit 89e7505fcde4bd83948f559f429a0e1eb4262f05 > Author: H.J. Lu > Date: Sun Dec 14 06:41:03 2014 -0800 >=20 > Compress debug sections for Linux/x86 by default >=20 > * config/tc-i386.c (flag_compress_debug): Default to compress > debug sections for Linux. i don't see how that justifies making it a hard requirement -mike --O7hm+SMpb/lu0d4d Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU5OurAAoJEEFjO5/oN/WBHSYP/R9yAnAQ+uQJDoFTSEFqzwPV K71t5yhXRhR4UpQisFlQ+9sGSZQvoN57Kl+CP3ZfjRHQDnd8xxvb2GbOZz2w6vTe knnXv6aajLPN7/s1YkWBY4LzTsmuQCeaTPv5bkpnnaKKlMbtDA0YABRMYlgFQX2f +cJY7pgpHzG1B1rpG/FC5C62eP1bE+IMHJ1c0LvOkM7bUSWYhLUQqmgM4RosPdQg Qqq9qiGkcRLnKgNoia++FtBwjcVCGoHoRQyA+xaVaNbWXzj/PBikrCthypoS4jz8 el6wlyOfQ6Y4XtlsGLqx4t7KQj0emD9XVZfCHdP2akbMvQ5knYp7b/NkquSOc4YQ AsNxATC3x9e4rxa/rb5oZJ71JTvNM2J/VnHnWE6inWXUJ1dMiRu5TfeHOEDirhp6 EefVQmZpGnYmNCitgcSfZ7+utx+tNhF5PBcJIJGAPY934Kzpo2oylry47bS3TOsf rvHHjj7ieihwwmlKjCukyQYK51KGmLJWQyW1wTaYwF9FtogX8vBeLUQeT0gr+jQK 2QWfByCKsQvxlcKSjYGmHJ27twH+8SIFC4T220RSvHe6+jZYdS5WHyvD8K11+SWl PKAoIXyLc652vdHXes2Lzn7e+/RVnKFdo0fJVuY6xNIs+9SVyQrzCm5hpaj1YFEA fhK64ecl8Kj6SMaGrZdU =wEzV -----END PGP SIGNATURE----- --O7hm+SMpb/lu0d4d--