|
From: | ralf.habacker at freenet dot de |
Subject: | [Bug binutils/28363] New: ld (*-w64-mingw32) could not link a pe dll created with a def file |
Date: | Tue, 21 Sep 2021 15:11:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28363 Bug ID: 28363 Summary: ld (*-w64-mingw32) could not link a pe dll created with a def file Product: binutils Version: 2.37 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: ralf.habacker at freenet dot de Target Milestone: --- The mentioned ld is able to directly link a DLL created using a def file (see attachment 13671) but not using a created import library. The problem is currently encountered when building VulkanSceneGraph (https://github.com/vsg-dev/VulkanSceneGraph) with gcc for Windows. 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. To be able to reproduce the problem within binutils, a corresponding test case is attached. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |