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

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 369373858016
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1707840610;
bh=Ld6U/8QhCcr3TskzLjzMp4cOnoKYhvlapQ5Jaxcdxrw=;
h=Date:Subject:To:References:Cc:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=DrfEQu8OJ5rBP3gAGN9YGas9KGjeSMt6dqPoPHnIpDgiYr/cD9w63ZX7RQFNIBrY0
XgKEua4LBC7IoFkJZ22Lf69aL6kFpWlskoYhTdPioAv8ePUB0+8xayCYzWbeK/0byM
4MFRljKnUUH5J0ZXE/Xe86yXwqKaPqU057mU+sv0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 62EAA3858009
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 62EAA3858009
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707840551; cv=none;
b=WUPfpY3ELsvFM3LpydICljknZvKp6iUjVYsomjwlGb0GB7VXzhJ1F78HTu+3tG2hHSiKELuPUbojNpsg8cCk7tKGjc8bvMgtAi1k7pTl7uNI1Uo2L95Z4WJyHmRZ4nvsFRcJr/yfk0ZlZ9evz+uQwVYuInL9wmw84LjRviBLjHk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1707840551; c=relaxed/simple;
bh=kBKaFtRqA6jSddGGNhjxMqLosIcMh7+VfWJNako+JAs=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=lQw7Xjv3/qoEziF8ebrQxWbJIcrvp45B7j67HsUmdH7iuWuoG9D1/0pZvY2fkv9mfJBrKL6cDCvq8zkdX2o86GpP5FSbbdhMUEsnd1opMi00+BH8sKiG6GS4L7Vu0Y3om2/YWfzCPUJVcWJHaFI5rxzHYc1Wwfo31aDQjDSfkzg=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-SNCR-Rigid: 6577B9C507F90534
X-Originating-IP: [86.140.112.71]
X-OWM-Source-IP: 86.140.112.71
X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvledrudehgdekgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhvegjtgfgsehtjeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeevvdekgfffteetueehgfdugefgkeevleejudduheevuedtveejfeevvdevvdfgvdenucfkphepkeeirddugedtrdduuddvrdejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtlegnpdhinhgvthepkeeirddugedtrdduuddvrdejuddpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedupdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhdprhgvvhfkrfephhhoshhtkeeiqddugedtqdduuddvqdejuddrrhgrnhhgvgekiedqudegtddrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhstheprhgvqdhprhguqdhrghhouhhtqddt
tdeh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Message-ID: <a896a155-c590-494b-adcd-237c87c205c2@dronecode.org.uk>
Date: Tue, 13 Feb 2024 16:09:08 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: cygport 0.36.8-1
To: Christian Franke via Cygwin <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>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <13715df9-3883-e263-452c-40b10fea43bc@t-online.de>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS,
TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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: Jon Turney via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
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>

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.


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