Skip to content

Add proper stdcall name mangling to gas assembly on 32bit windows#1762

Merged
charles-lunarg merged 2 commits into
KhronosGroup:mainfrom
BtbN:fix_gas_win32
Aug 18, 2025
Merged

Add proper stdcall name mangling to gas assembly on 32bit windows#1762
charles-lunarg merged 2 commits into
KhronosGroup:mainfrom
BtbN:fix_gas_win32

Conversation

@BtbN

@BtbN BtbN commented Aug 17, 2025

Copy link
Copy Markdown
Contributor

This fixes #1761

Also fixes the flood of warnings during linking by explicitly enabling stdcall fixup.

@ci-tester-lunarg

Copy link
Copy Markdown

Author BtbN not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown

Author BtbN not on autobuild list. Waiting for curator authorization before starting CI build.

@CLAassistant

CLAassistant commented Aug 17, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@charles-lunarg charles-lunarg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, sometimes need these kind of things to work with calling conventions. Thanks for giving it a go and making a PR! Will let it run through CI to see if anything happens first before merging.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 511055.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3155 running.

@BtbN

BtbN commented Aug 17, 2025

Copy link
Copy Markdown
Contributor Author

Would it make sense to also add a test to CI for this? Cause right now nothing will actually test it, mingw-use-gas only runs for 64bit.

@charles-lunarg

Copy link
Copy Markdown
Collaborator

Would it make sense? Yes, more coverage is good. But it would add yet another configuration to the test matrix which is already somewhat crowded. Being that 32 bit is really only to allow compatibility with older titles, especially ones not built in the last decade, I am against adding it just as its a very low usage domain.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3155 passed.

@charles-lunarg charles-lunarg merged commit 484f3cd into KhronosGroup:main Aug 18, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using GAS on 32bit mingw builds fails to link

4 participants