Skip to content

Build libxml2 variadic callbacks on armv7 - #466

Merged
colemancda merged 1 commit into
masterfrom
xml2-armv7-variadics
Nov 27, 2026
Merged

colemancda merged 1 commit into
masterfrom
xml2-armv7-variadics

Conversation

@colemancda

Copy link
Copy Markdown
Member

The armv7 companion failed to link PerryXML2 in swift-linux job 140078378053.

ld.lld: error: undefined hidden symbol: perry_xml_generic_error_darwin
ld.lld: error: undefined hidden symbol: perry_xml_call_darwin_variadic

The C definitions excluded armv7 and the assembly definitions only target arm64 ELF. Build the C definitions on armv7, where Darwin and Linux AAPCS pass these word-sized variadic arguments in r0–r3 and then on the stack. The other architecture guards in the provider handle PowerPC-specific calling conventions.

Validation is pending in the swift-linux armv7 companion build.

@colemancda
colemancda merged commit 3bb6697 into master Nov 27, 2026
1 of 6 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.

1 participant