From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by sourceware.org (Postfix) with ESMTP id 0CBE8385E000 for ; Sun, 22 Mar 2020 20:19:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0CBE8385E000 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=yselkowitz@cygwin.com Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-186-qmlFoFxLNuufmaizcQZoow-1; Sun, 22 Mar 2020 16:19:31 -0400 X-MC-Unique: qmlFoFxLNuufmaizcQZoow-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CCF2C8017CC for ; Sun, 22 Mar 2020 20:19:30 +0000 (UTC) Received: from ovpn-112-56.rdu2.redhat.com (ovpn-112-56.rdu2.redhat.com [10.10.112.56]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6B3EC9A6A for ; Sun, 22 Mar 2020 20:19:30 +0000 (UTC) Message-ID: <4b93cb17c7c59a459eceae350125657ce6823da1.camel@cygwin.com> Subject: Re: [ANNOUNCEMENT] Updated: binutils-2.34+1git.de9c1b7cfe-1 (x86/x86_64) From: Yaakov Selkowitz To: cygwin@cygwin.com Date: Sun, 22 Mar 2020 16:19:28 -0400 In-Reply-To: <900c1391-59bd-52b2-d5d7-f0097000dad6@gmail.com> References: <8a6c6dcd-c235-a2bd-1437-c7efa8ba529b@t-online.de> <900c1391-59bd-52b2-d5d7-f0097000dad6@gmail.com> User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-14.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2020 20:19:35 -0000 On Sat, 2020-03-21 at 07:40 +0100, Marco Atzeri via Cygwin wrote: > Am 21.03.2020 um 05:55 schrieb Marco Atzeri: > > Am 20.03.2020 um 20:24 schrieb Hans-Bernhard Br=C3=B6ker: > > > Am 20.03.2020 um 00:18 schrieb Brian Inglis: > > > > On 2020-03-18 23:25, Marco Atzeri via Cygwin wrote: > > > > > It seems something is adding 5M or more to the normal > > > > > size of the programs > > > >=20 > > > > See attached for summary details by arch, but main points for both= =20 > > > > are, on x86_64: > > > [...] > > >=20 > > > Could this be due to the ginormous number of targets configured into= =20 > > > the build? > >=20 > > may be, as it also take ages to full compile with the > > current configuration: > >=20 > > # --enable-shared > > CYGCONF_ARGS=3D" > > --enable-install-libiberty > > --disable-gdb > > --disable-libdecnumber > > --disable-readline > > --disable-sim > > --enable-64-bit-bfd > > --enable-targets=3Dall > > " > >=20 > > I am testing a build dropping the "enable-targets=3Dall" > > and also forcing the "enable-shared" > >=20 > > --enable-shared \ > > lt_cv_deplibs_check_method=3Dpass_all If that doesn't work, feel free to borrow: https://github.com/cygwinports/binutils/blob/master/2.24.51-shared-libs.pat= ch However, these libraries are (by design) API-unstable, so is not recommended to allow other code to link against these shared libs, therefore I would also suggest: https://github.com/cygwinports/binutils/blob/master/binutils.cygport#L30-L3= 8 > > Hoping it will note ages again.... >=20 > "NOT take" >=20 > dropping the target seems to work very well >=20 > current version > $ du -sb /usr/bin/gprof.exe > 5424147 /usr/bin/gprof.exe >=20 > under build > $ du -sb gprof/gprof.exe > 19968 gprof/gprof.exe >=20 > any clue why we are using a "enable-targets=3Dall" options ? Not sure, but if it's just so that 32-bit utils can read 64-bit binaries (which is useful), --enable-targets=3Dx86_64-pep should be enough. > Any cross compiler should use its own binutils not the cygwin one, correc= t ? Yes, regardless. -- Yaakov