delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/22/19:06:20

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C33BC385E002
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1584918336;
bh=cMMO+LI5Pig3sPSxTlRgZ9eILRGUZxci6hJVJBjRdkE=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=Iov6+1GFJp7cONQkPnTY1S+pzKgWy2zpJYBXMLuU0dGGNNZbeMDP6xydVJ6+M1YEK
MQZNZtdRZxVKNPSe81DzS4VQp0uVCH2ARkFPqGw6Fu/F1uxkiK1acdDMmBgvoE7n5t
fezu4qh95cn3s0k0uotH921ahYGhNkoYvOtT7RwY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 462FC385E000
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-transfer-encoding;
bh=8/AqA9dcRikxlhRRBQPfvoC5PPmnFvpD1GRu/6+q8Hc=;
b=GLz03JHUENpWzM5gsAi6IFort0e+kd94x5Wj9Y42BCuq6tWPF/Bq/xCxij3so2LOmV
D+WN8FEKCau2nm0LZG7q2Eedwxipdz3RiW/iByUqQMV1f2qx6txQHY1/2mCkHosm8JZc
Qv7ifb2UEW6a/0lmX+ZgMZ0Jdsr2ds+4JAqlB2bc4ZSqGPBjQe4hw4Yohqv5fvLaisXP
8MbywLdHPRlkE1xjOmaP8GyO3iOFSpiNx0CyzKUaJdP9tpYkx/sRQU+cGZwerhGf9tbr
qU9r1boXL70ZD5APudJ7TCsAGBmWqE8RigH18RDcVpkazznj6F5IQq8OnuhP7OA42EEE
4ayA==
X-Gm-Message-State: ANhLgQ0oA2kM3oKnfpKirZktQfxvD5M8uB1LZS6ttuGD01eYYtNamuxJ
Ez7DO47qhTPL+pcSmaImLfUlCRKn
X-Google-Smtp-Source: ADFU+vtsgzAi/qAZlnvetYlND3fQhS/4Ru8R+Q3RJ8MMNhYZ35/PG1irR9wVY8Ea17hCRB4BAhOcKA==
X-Received: by 2002:a7b:cc06:: with SMTP id f6mr23576361wmh.65.1584918331966;
Sun, 22 Mar 2020 16:05:31 -0700 (PDT)
Subject: Re: [ANNOUNCEMENT] Updated: binutils-2.34+1git.de9c1b7cfe-1
(x86/x86_64)
To: cygwin AT cygwin DOT com
References: <CAAXzdLWXD09FkgTmo2FY0kH4NmyYeAu9gnQaarkwYxKjYjOx3Q AT mail DOT gmail DOT com>
<dba4e3cf-bbfc-8c49-3177-5c15c7936c4b AT gmail DOT com>
<f88b5a5d-279a-7765-574f-a9cbbef540c6 AT SystematicSw DOT ab DOT ca>
<8a6c6dcd-c235-a2bd-1437-c7efa8ba529b AT t-online DOT de>
<dae4b90b-e43e-86cd-0bc0-f0fe42e5ae52 AT gmail DOT com>
<900c1391-59bd-52b2-d5d7-f0097000dad6 AT gmail DOT com>
<4b93cb17c7c59a459eceae350125657ce6823da1 DOT camel AT cygwin DOT com>
Message-ID: <d8cc746d-a82f-04d4-44ad-26e0ece86454@gmail.com>
Date: Mon, 23 Mar 2020 00:05:27 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
MIME-Version: 1.0
In-Reply-To: <4b93cb17c7c59a459eceae350125657ce6823da1.camel@cygwin.com>
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 02MN61OU030353

Am 22.03.2020 um 21:19 schrieb Yaakov Selkowitz:
> 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öker:
>>>> 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
>>>>>
>>>>> See attached for summary details by arch, but main points for both
>>>>> are, on x86_64:
>>>> [...]
>>>>
>>>> Could this be due to the ginormous number of targets configured into
>>>> the build?
>>>
>>> may be, as it also take ages to full compile with the
>>> current configuration:
>>>
>>> #       --enable-shared
>>> CYGCONF_ARGS="
>>>           --enable-install-libiberty
>>>           --disable-gdb
>>>           --disable-libdecnumber
>>>           --disable-readline
>>>           --disable-sim
>>>           --enable-64-bit-bfd
>>>           --enable-targets=all
>>> "
>>>
>>> I am testing a build dropping the "enable-targets=all"
>>> and also forcing the "enable-shared"
>>>
>>>        --enable-shared \
>>>           lt_cv_deplibs_check_method=pass_all
> 
> If that doesn't work, feel free to borrow:

thanks. It does not work.

> 
> https://github.com/cygwinports/binutils/blob/master/2.24.51-shared-libs.patch
> 
> 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-L38

understood

> 
>>> Hoping it will note ages again....
>>
>> "NOT take"
>>
>> dropping the target seems to work very well
>>
>> current version
>> $ du -sb /usr/bin/gprof.exe
>> 5424147 /usr/bin/gprof.exe
>>
>> under build
>> $ du -sb gprof/gprof.exe
>> 19968   gprof/gprof.exe

in reality I was fooled by the stub,
the stripped version is ~ 1M insted of 5M

$ du -sb inst/usr/bin/gprof.exe
1146387 inst/usr/bin/gprof.exe

>> any clue why we are using a "enable-targets=all" options ?
> 
> Not sure, but if it's just so that 32-bit utils can read 64-bit
> binaries (which is useful), --enable-targets=x86_64-pep should be
> enough.

there is a trace of previous setting before "all" in the cygport

# 
--enable-targets=i686-efi-pe,x86_64-efi-pe,ia64-efi-elf,x86_64-pc-cygwin,i686-pc-cygwin

> 
>> Any cross compiler should use its own binutils not the cygwin one, correct ?
> 
> Yes, regardless.
> 
> --
> Yaakov
> 

Thanks as usual
Marco
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019