在 2024-06-06 04:59, itsthew...@tuta.io 写道:
A little update on the faulty cross compiler; the problem is most certainly not 
in the MinGW-w64 libraries, as I swapped the libraries between the reference 
and faulty toolchains and the results were the same. This leaves the linker...

I tried different Binutils versions and found something interesting; Binutils 2.35.1 and 
older "successfully" link non-working executables without displaying an error, 
however later Binutils versions fail to link executables at all and show this error:


Is this related? You may try 2.36 for example.

(https://www.msys2.org/news/#2021-01-31-aslr-enabled-by-default)
Known issues:

(Fixed now) In case you are seeing errors such as relocation truncated to fit: 
IMAGE_REL_AMD64_REL32 against undefined symbol try building with 
-Wl,--default-image-base-low. Here is the upstream bug report: 
https://sourceware.org/bugzilla/show_bug.cgi?id=26659




--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to