Closed laggykiller closed 9 months ago
@laggykiller Thank you for reporting the issue. It looks like this is the problem "xmllint.o: 12 bit relocation not currently supported" The investigation has been started to reproduce and resolve the issue.
@laggykiller Thank you for your report. It seems that it's libxml2
configure
/Makefile
issue as the linker is trying to link static library instead of the DLL. This leads to the "undefined references" errors. The "12 bit relocation not currently supported" messages, though they seem scary, are just aftermath - they were added for debugging purposes and will be removed before upstreaming. The CMake build of the shared library https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/pull/94/files#diff-20383000acdec90d8b8e4421c4178e773f1eb27f5c6ca6df777a232687ed9dfe seems to compelete fine. We haven't tested the produced binaries for functional correctness yet, though.
Not sure if this is known issue (Feel free to close if known), but libxml2 fails to crosscompile.
I have tried on both Arch Linux x86_64 and Windows x86_64 msys2 (By adding woarm64 repo and install
mingw-w64-cross
, replace~/cross
with/opt
), both failing to compile with similar error.Below is script for test cross-compiling on Linux:
This is the error: