libwinpthread-1.dll dependency issue

191 views
Skip to first unread message

Steve Hall

unread,
Mar 11, 2017, 8:32:02 PM3/11/17
to vim...@vim.org
I've gotten multiple reports that my recent g/Vim windows x64 builds
(via Cygwin) have a dependency error regarding a missing
libwinpthread-1.dll. But I don't see the errors, so I suspect there is
some static/dynamic issue recently introduced in the Vim source
between 8.0.407 and 8.0.430.

Any clues?


-- 
Steve Hall  [ digitect dancingpaper com ]

Ken Takata

unread,
Mar 11, 2017, 11:53:03 PM3/11/17
to vim_dev, vim...@vim.org
Hi,

2017/3/12 Sun 10:32:02 UTC+9 Steve Hall wrote:
> I've gotten multiple reports that my recent g/Vim windows x64 builds
> (via Cygwin) have a dependency error regarding a missing
> libwinpthread-1.dll. But I don't see the errors, so I suspect there is
> some static/dynamic issue recently introduced in the Vim source
> between 8.0.407 and 8.0.430.
>
>
> Any clues?

Some versions of libiconv-*.dll (or libintl-*.dll) require
libwinpthread-1.dll, only for x64 and not for x86.

Regards,
Ken Takata

Christian Brabandt

unread,
Mar 13, 2017, 5:26:37 AM3/13/17
to vim_dev
This depends on the version of libiconv used. Newer Versions of libiconv
do not need libwinpthread anymore, but there is a new dependency for
libgcc_s_sjlj-1.dll for the 32bit builds.

See https://github.com/vim/vim-win32-installer/pull/20

Not sure how much of this is relevant when building under Cygwin
environment however.

Best,
Christian
--
Fällt der Baum beim ersten Streich, war bestimmt der Baumstamm weich.

Steve Hall

unread,
Mar 13, 2017, 9:48:14 AM3/13/17
to vim...@googlegroups.com
On Mon, Mar 13, 2017 at 5:26 AM, Christian Brabandt <cbl...@256bit.org> wrote:
> On Sa, 11 Mär 2017, Ken Takata wrote:
> > 2017/3/12 Sun 10:32:02 UTC+9 Steve Hall wrote:
> > > 
> > > I've gotten multiple reports that my recent g/Vim windows x64
> > > builds (via Cygwin) have a dependency error regarding a missing
> > > libwinpthread-1.dll.
> >
> > Some versions of libiconv-*.dll (or libintl-*.dll) require
> > libwinpthread-1.dll, only for x64 and not for x86.
> This depends on the version of libiconv used.

We've discovered this dependency error is caused by the +mzscheme
feature.

Sorting through the fix is beyond me, so for now, my builds will omit
that feature.


-- 
Steve Hall  [ digitect dancingpaper com ]
SteveHallArchitecture http://SteveHallArchitecture.com

Reply all
Reply to author
Forward
0 new messages