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

Linking problems on Windows (msys2+ucrt64) #532

Open
Febbe opened this issue Oct 6, 2024 · 2 comments
Open

Linking problems on Windows (msys2+ucrt64) #532

Febbe opened this issue Oct 6, 2024 · 2 comments

Comments

@Febbe
Copy link

Febbe commented Oct 6, 2024

I stumbled over linking issues while building the bscompiler:

First of all, the target name for Mingw64/UCRT64 in config.guess should be most likely ${UNAME_MACHINE}-w64-mingw32 instead of:

    *:MINGW64*:*)
	echo ${UNAME_MACHINE}-pc-mingw64

Second, when linking to lyices, I get the following linker warning:

[149 of 149] Linking bluetcl.exe [Objects changed]
ld.lld: warning: runtime pseudo relocation in C:/Users/Febbe/Desktop/ws/bsc-2024.07/bsc/src/comp/../../build/comp\Yices.o against symbol yices_build_arch is too narrow (only 32 bits wide); this can fail at runtime depending on memory layout
ld.lld: warning: runtime pseudo relocation in C:/Users/Febbe/Desktop/ws/bsc-2024.07/bsc/src/comp/../../build/comp\Yices.o against symbol yices_version is too narrow (only 32 bits wide); this can fail at runtime depending on memory layout
ld.lld: warning: runtime pseudo relocation in C:/Users/Febbe/Desktop/ws/bsc-2024.07/bsc/src/comp/../../build/comp\Yices.o against symbol yices_version is too narrow (only 32 bits wide); this can fail at runtime depending on memory layout

The application crashes with:

Mingw-w64 runtime failure:
32 bit pseudo relocation at 00007FF60C9531A4 out of range, targeting 00007FFF1DE00880, yielding the value 00000009114AD6D8.

It looks like, yices is build as 32 bit library.

@ahmed-irfan
Copy link
Member

Can you please share your compilation script?

@Febbe
Copy link
Author

Febbe commented Oct 15, 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
Development

No branches or pull requests

2 participants