public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christian Franke <Christian.Franke@t-online.de>
To: cygwin@cygwin.com
Subject: Re: cygport 0.36.8-1
Date: Wed, 14 Feb 2024 11:47:52 +0100	[thread overview]
Message-ID: <56fe77ea-75fd-4b3f-b3b9-4961de28f040@t-online.de> (raw)
In-Reply-To: <a896a155-c590-494b-adcd-237c87c205c2@dronecode.org.uk>

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.

If both --file-prefix-map and --debug-prefix-map are used in cygport, 
Cygwin 3.5.0-1 build is apparently reproducible.regardless of build path.


      parent reply	other threads:[~2024-02-14 10:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <631b4e47-dc55-4385-85f0-a68cac5465c2@dronecode.org.uk>
2024-02-12 13:58 ` Christian Franke
2024-02-12 16:49   ` ASSI
2024-02-12 19:50     ` Jon Turney
2024-02-13 13:02       ` Christian Franke
2024-02-13 16:09         ` Jon Turney
2024-02-13 18:47           ` Christian Franke
2024-03-03 17:23             ` ASSI
2024-02-14 10:47           ` Christian Franke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56fe77ea-75fd-4b3f-b3b9-4961de28f040@t-online.de \
    --to=christian.franke@t-online.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).