bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/28363] ld (*-w64-mingw32) could not link a pe dll created with a


From: ralf.habacker at freenet dot de
Subject: [Bug ld/28363] ld (*-w64-mingw32) could not link a pe dll created with a def file
Date: Wed, 23 Nov 2022 08:22:40 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28363

--- Comment #2 from Ralf Habacker <ralf.habacker at freenet dot de> ---
(In reply to Ralf Habacker from comment #0)

> It link to an import library created from the Vulkan-Loader source (
> https://github.com/KhronosGroup/Vulkan-Loader) for the shared library
> vulkan-1.dll. The DLL in question needs to be created with '__stdcall'
> decoration and uses a def file to remove the '_' prefix and the '@nn' suffix
> from the exported symbols. This format has been specified by the
> KhronosGroup for Windows.

The same issue happens with https://github.com/KhronosGroup/OpenXR-SDK.

The current workaround is to link with the DLL instead of the import library
and add -Wl,--enable-stdcall-fixup to the link line.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]