From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-049.btinternet.com (mailomta10-re.btinternet.com [213.120.69.103]) by sourceware.org (Postfix) with ESMTPS id 62EAA3858009 for ; Tue, 13 Feb 2024 16:09:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 62EAA3858009 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dronecode.org.uk ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 62EAA3858009 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=213.120.69.103 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 Received: from re-prd-rgout-005.btmx-prd.synchronoss.net ([10.2.54.8]) by re-prd-fep-049.btinternet.com with ESMTP id <20240213160909.OUQQ8012.re-prd-fep-049.btinternet.com@re-prd-rgout-005.btmx-prd.synchronoss.net> for ; Tue, 13 Feb 2024 16:09:09 +0000 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com; bimi=skipped X-SNCR-Rigid: 6577B9C507F90534 X-Originating-IP: [86.140.112.71] X-OWM-Source-IP: 86.140.112.71 X-OWM-Env-Sender: jon.turney@dronecode.org.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 Received: from [192.168.1.109] (86.140.112.71) by re-prd-rgout-005.btmx-prd.synchronoss.net (authenticated as jonturney@btinternet.com) id 6577B9C507F90534 for cygwin@cygwin.com; Tue, 13 Feb 2024 16:09:09 +0000 Message-ID: Date: Tue, 13 Feb 2024 16:09:08 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: cygport 0.36.8-1 Content-Language: en-GB To: Christian Franke via Cygwin References: <631b4e47-dc55-4385-85f0-a68cac5465c2@dronecode.org.uk> <52627581-8bcc-0f81-1706-cb5912e23641@t-online.de> <87cyt1ljam.fsf@Gerda.invalid> <98aafc4a-18f3-4988-9d9d-6da2e8fee8a7@dronecode.org.uk> <13715df9-3883-e263-452c-40b10fea43bc@t-online.de> From: Jon Turney Cc: cygwin@cygwin.com In-Reply-To: <13715df9-3883-e263-452c-40b10fea43bc@t-online.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 List-Id: 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.