delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/02/13/13:48:10

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A10B3857C50
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1707850088;
bh=c1fdASW5wpKDTADEqZnZ7QAtH9JOw88HsLek+TuntUw=;
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=aGn5dZJW1LWnCFLkOaIENzii9xqqWDDWiykRJ7TeYuvyPSsJtQ/PxsYQGbYnsmNk7
3OqvVIHzvnUka+wA6V/pPWw0JIaLpk9nE+ZotEvdJHxFtvxT9XEp5iZ3Yf2nbqlF/O
1FfVm6ixo4HDSe4GcHHeshOk9D73YdWS+tv3C6f4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1379D3858C30
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1379D3858C30
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707850065; cv=none;
b=gILAC5QdevBgydftd88vVjyot2JQIFdn4WvGl8fS/ed0/uFFpjHm11J/yezqIUNbctn2yWMzp1UpSKh40wG5NWjpnYOfyO6yF+gzv+t++zf5GvnhcA8Dtl9JwI8rl+ei+nW85NixsNQDGgXoPiJjSkmYDag8aiD5RyjTNc5xMMY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1707850065; c=relaxed/simple;
bh=iB0du4kp1MjZYjYt6R4LO2OpWNMpW1QPU/IbzDdZhN0=;
h=Subject:To:From:Message-ID:Date:MIME-Version;
b=Hewq3IOIb7MxQYP78Nhlx+2CZumkTqtNWHC5kvPG15ynboIRoz2zFdUw2uvefiAx4rSEYWk2ZewlMonD2/87zLi12/k6jRaYG/2ceXaN6bsZDvYHQiFMxZCHqD6sMjmMqQsWyBXZFeEvs3SdJ0Ym5e0zC2dUTTenz47dF8+PuQ8=
ARC-Authentication-Results: i=1; server2.sourceware.org
Subject: Re: cygport 0.36.8-1
To: cygwin AT cygwin DOT com
References: <631b4e47-dc55-4385-85f0-a68cac5465c2 AT dronecode DOT org DOT uk>
<52627581-8bcc-0f81-1706-cb5912e23641 AT t-online DOT de>
<87cyt1ljam DOT fsf AT Gerda DOT invalid>
<98aafc4a-18f3-4988-9d9d-6da2e8fee8a7 AT dronecode DOT org DOT uk>
<13715df9-3883-e263-452c-40b10fea43bc AT t-online DOT de>
<a896a155-c590-494b-adcd-237c87c205c2 AT dronecode DOT org DOT uk>
Message-ID: <7dda1fad-6cbc-a4e1-ef74-0bb7dd1d8488@t-online.de>
Date: Tue, 13 Feb 2024 19:47:40 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
SeaMonkey/2.53.16
MIME-Version: 1.0
In-Reply-To: <a896a155-c590-494b-adcd-237c87c205c2@dronecode.org.uk>
X-TOI-EXPURGATEID: 150726::1707850061-CF7FD93F-C2F8AEAA/0/0 CLEAN NORMAL
X-TOI-MSGID: 835ee1ca-a94c-46bc-befa-c57a9972e917
X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, FREEMAIL_FROM,
KAM_DMARC_STATUS, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Christian Franke via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Christian Franke <Christian DOT Franke AT t-online DOT de>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 41DIm9Pe021530

Jon Turney via Cygwin wrote:
> On 13/02/2024 13:02, Christian Franke via Cygwin wrote:
>> Jon Turney via Cygwin wrote:
>>> On 12/02/2024 16:49, ASSI via Cygwin wrote:
>>>> Christian Franke via Cygwin writes:
>>>>> This requires that always the same build directory is used.
>>>>
>>>> Would that be solvable by using -ffile-prefix-map or is there more to
>>>> it?
>>>
>>> That should now be used in 0.36.8, so something else leaking the 
>>> local build directory into the package, perhaps
>>
>> A closer look shows that (only) the pathnames of the assembly (*.S) 
>> files in cygwin1.dll.dbg now contain the build path instead of the 
>> mapped path:
>>
>> $ strings cygwin1.dll.dbg | grep '^/.*bcopy\.S$' | uniq
>> /tmp/build/cygwin-3.5.0-1.x86_64/src/newlib-cygwin/winsup/cygwin/x86_64/bcopy.S 
>>
>>
>> The paths in the released package are correct:
>>
>> $ strings /usr/lib/debug/usr/bin/cygwin1.dll.dbg | grep 
>> '^/.*bcopy\.S$' | uniq
>> /usr/src/debug/cygwin-3.5.0-1/winsup/cygwin/x86_64/bcopy.S
>>
>> The regression was introduced by cygport commit 9e82685 in 
>> conjunction with the fact that --file-prefix-map has no effect on *.S 
>> files:
>
> Great.  I guess that means we need to use both options.
>
>>
>> Also gcc builtin specs show that --file-prefix-map is not handled for 
>> asm:
>>
>> $ gcc -dumpspecs | fgrep -A1 '*asm_debug:'
>> *asm_debug:
>> %{%:debug-level-gt(0):%{gstabs*:--gstabs;:%{g*:}}} 
>> %{fdebug-prefix-map=*:--debug-prefix-map %*}
>>
>
> This kind of seems like a bug.
>

It is fixed in current gcc test release:

$ cygcheck -f /bin/gcc
gcc-core-13.2.1+20240203-0.1

$ gcc -dumpspecs | fgrep -A1 '*asm_debug:'
*asm_debug:
%{g*:%{%:debug-level-gt(0):}} %{ffile-prefix-map=*:--debug-prefix-map 
%*} %{fdebug-prefix-map=*:--debug-prefix-map %*}


-- 
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