Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Windows using cross compile, remove msys2 sources #6

Merged
merged 4 commits into from Jan 7, 2024

Conversation

mkitti
Copy link

@mkitti mkitti commented Jan 6, 2024

  1. Remove msys2 sources
  2. Add lib64 to FCFLAGS (for openssl)
  3. Add lib64 to CFLAGS (for openssl)

@mkitti mkitti reopened this Jan 7, 2024
@mkitti
Copy link
Author

mkitti commented Jan 7, 2024

When I enable MPI I was getting an error when loading the JLL at runtime.

Mingw-w64 runtime failure:
32 bit pseudo relocation at 0000000007828E2C out of range, targeting 00007FFDE78BAD90, yielding the value 00007FFDE0091F60.

[10684] signal (22): SIGABRT
in expression starting at REPL[8]:1
crt_sig_handler at C:/workdir/src\signals-win.c:95
raise at C:\windows\System32\msvcrt.dll (unknown line)
abort at C:\windows\System32\msvcrt.dll (unknown line)
__report_error at /workspace/srcdir/mingw-w64-v11.0.1/mingw-w64-crt/crt\pseudo-reloc.c:157
do_pseudo_reloc at /workspace/srcdir/mingw-w64-v11.0.1/mingw-w64-crt/crt\pseudo-reloc.c:457 [inlined]
_pei386_runtime_relocator at /workspace/srcdir/mingw-w64-v11.0.1/mingw-w64-crt/crt\pseudo-reloc.c:501
__DllMainCRTStartup at /workspace/srcdir/mingw-w64-v11.0.1/mingw-w64-crt/crt\crtdll.c:170
RtlActivateActivationContextUnsafeFast at C:\windows\SYSTEM32\ntdll.dll (unknown line)
LdrGetProcedureAddressEx at C:\windows\SYSTEM32\ntdll.dll (unknown line)
LdrGetProcedureAddressEx at C:\windows\SYSTEM32\ntdll.dll (unknown line)
RtlSwitchedVVI at C:\windows\SYSTEM32\ntdll.dll (unknown line)
RtlGetFullPathName_UstrEx at C:\windows\SYSTEM32\ntdll.dll (unknown line)
RtlDosPathNameToNtPathName_U at C:\windows\SYSTEM32\ntdll.dll (unknown line)
LdrLoadDll at C:\windows\SYSTEM32\ntdll.dll (unknown line)
LoadLibraryExW at C:\windows\System32\KERNELBASE.dll (unknown line)
ijl_dlopen at C:/workdir/src\dlload.c:163
ijl_load_dynamic_library at C:/workdir/src\dlload.c:348
#dlopen#3 at .\libdl.jl:117
dlopen at .\libdl.jl:116

I believe we may have to follow a distinct procedure such as detailed here.
https://www.symscape.com/configure-msmpi-for-mingw-w64

For now, let's just disable Microsoft MPI

@eschnett eschnett merged commit 6377169 into eschnett:eschnett/hdf5_1_14_3 Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants