From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29362 invoked by alias); 18 Feb 2015 16:55:01 -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 28966 invoked by uid 89); 18 Feb 2015 16:55:01 -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 16:55:00 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 1B676340717; Wed, 18 Feb 2015 16:54:57 +0000 (UTC) Date: Wed, 18 Feb 2015 16:55: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: <20150218165457.GU544@vapier> Mail-Followup-To: "H.J. Lu" , Joel Brobecker , GCC Patches , Binutils , GDB References: <20150107144548.GX5432@adacore.com> <20150218120841.GD23529@adacore.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="R7Dyui215VKdTDYA" Content-Disposition: inline In-Reply-To: X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00488.txt.bz2 --R7Dyui215VKdTDYA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1876 On 18 Feb 2015 04:56, H.J. Lu wrote: > On Wed, Feb 18, 2015 at 4:08 AM, Joel Brobecker w= rote: > > 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 linked = 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 expected= error) > >> --with-zlib --with-libz-prefix=3D/invalid/zlib/prefix > >> (no system zlib, configure fails with same error) > >> > >> OK to commit? >=20 > 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=20 assembler ? -mike --R7Dyui215VKdTDYA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU5MPhAAoJEEFjO5/oN/WBU4oQAJhdo3DX923ZHivjQjUGBJzG kcbriovQnE4zvlzI8D/2wqm3a5FcFdR8E3afm6f1eFkMfha4wDHKWrJVU0oVoAoD HUZwtua/+WOy6B7/TtZdRfxNmegA+A3DBg6vBgQYgrSrbUX0Esqf94F+GvHQS5jc otUQqFZCxMnbfqHaije9gDoU6vCvPj6wK3+/0L5chLjNs0fiDVY59K5QYwB8PKWF c7inAAL92+4phu9ppoq+vnSftjFQ0oTmZdwB3gPWnViWokpf+pkiYLNWb9oeXBlu n2weRrcovubC6vqKfIgoAqX2wHWKHqVNoqi9bw45GK1N6U/FU3LWbvY6l5NFwyN3 AN5UBdtJ/Qn0nho+F+MNV5H0sFcr5xNuRHbTxQ8IWpH7dkjqu9aVGhpie4+ocaLU fggw909eRpWffTkf7mZwTTSTIoKJ16x7pXZA8iLXkS4/UPhPUnXlpsi+dAb663jB XMYqPbV2q3tU7cujeWN4SMZphSF0IEsYgsxY7g48xXpafk+uHBt5UE8QysIznxgz jvlP0dDq9znWnJ37YPOoOvjV6mBmO1Bid2cKUzxnst526bi439BWdg7mqX2e0ZSi ouNPzs3rREujyVqLRWHwLNTRVrTN8MGLQLpm0uk4fKNa1gRuQuGthYQtkXqfOH8D Y4cS6n5OunvhlG+XIXTA =CGoH -----END PGP SIGNATURE----- --R7Dyui215VKdTDYA--