Re: Cygwin 3.7.0 HEAD, posix_spawn() failures on Win10?

Brian Inglis via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Organization Systematic Software
Message-ID <[email protected]>
On 2026-02-09 08:07, Lionel Cons via Cygwin wrote:
> On Mon, 9 Feb 2026 at 13:23, Dan Shelton via Cygwin <[email protected]> wrote:
>>
>> On Sat, 31 Jan 2026 at 17:11, Dan Shelton <[email protected]> wrote:
>>>
>>> Hello, on Cygwin 3.7.0-0.382.gab4d1afb5e1e.x86_64 on
>>> CYGWIN_NT-10.0-19045, is anyone else getting posix_spawn() errors when
>>> using clang?
>>>
>>> I get these errors:
>>> 0 [main] clang-21 1687 child_info_fork::abort:
>>> \??\C:\cygwin64\bin\cygintl-8.dll: Loaded to different address:
>>> parent(0x44D0000) != child(0x1A0000)
>>>
>>> clang: error: unable to execute command: posix_spawn failed: Resource
>>> temporarily unavailable
>>
>> 7.22AM:
>> We updated to cygwin 3.7.0-0.390.gede7cbc9946b.x86_64, the
>> posix_spawn() in clang.exe does not work.
>>
>> Maybe clang is broken?
> 
> Try this procedure to rebase all DLLs of all packages:
> 1. reboot machine
> 2. open admin terminal, run /usr/bin/rebase-trigger full, close terminal
> 3. run Cygwin setup.exe, just run it without installing anything. Do not abort!
> 4. reboot machine
> 
> IMO it would be cool if there is a tool which could be called from
> powershell or cmd.exe

DIY - Exit or shutdown all other Cygwin services and processes then:

$ cygstart dash
$ exit

In dash shell window:

$ rebase-trigger full
$ rebaseall

or equivalent - YMMV! ;^>

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.