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

Fix Windows cross-compilation from Unix #39124

Closed
musm opened this issue Jan 6, 2021 · 1 comment · Fixed by #40425
Closed

Fix Windows cross-compilation from Unix #39124

musm opened this issue Jan 6, 2021 · 1 comment · Fixed by #40425
Labels
building Build system, or building Julia or its dependencies

Comments

@musm
Copy link
Contributor

musm commented Jan 6, 2021

There are several issues that cause the build to fail.

#39022 fixes a bug in the makefile and allows it to run (but this fix fails on Cygwin! so we can't use it)

$ make -j8
chmod a+x /home/mus/julia/julia.bat
0031:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0033:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0037:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0035:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0031:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0031:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
0037:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0037:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
0033:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0033:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
0035:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0035:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
0041:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0047:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0043:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0041:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0041:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
0045:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0043:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0043:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
0047:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0047:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
0045:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0045:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
004f:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0051:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0051:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
004f:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0051:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
004f:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
0053:err:module:import_dll Library libstdc++-6.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0053:err:module:import_dll Library LLVM.dll (which is needed by L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe") not found
0053:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\mus\\julia\\usr\\tools\\llvm-config.exe" failed, status c0000135
    FLISP src/julia_flisp.boot
002e:err:module:__wine_process_init failed to load L"Z:\\home\\mus\\julia\\src\\flisp\\flisp", error c000012f
make[1]: *** [Makefile:222: julia_flisp.boot] Error 47
make: *** [Makefile:43: julia_flisp.boot.inc.phony] Error 2
@musm musm added the building Build system, or building Julia or its dependencies label Jan 6, 2021
Keno added a commit that referenced this issue Apr 10, 2021
Keno added a commit that referenced this issue Apr 10, 2021
Keno added a commit that referenced this issue Apr 12, 2021
* Fix wine bootstrap

Fixes #39124
Closes #39022

* fix cross-build, and other build issues

* this should probably be part of spawn, if it is needed

* Revert "this should probably be part of spawn, if it is needed"

This reverts commit eb88a9c.

Seems to be needed

* fixup! fix cross-build, and other build issues

Co-authored-by: Jameson Nash <[email protected]>
@musm musm reopened this Apr 13, 2021
@vtjnash vtjnash closed this as completed Apr 13, 2021
@vtjnash
Copy link
Member

vtjnash commented Apr 13, 2021

Please file a new issue with specific problems

ElOceanografo pushed a commit to ElOceanografo/julia that referenced this issue May 4, 2021
* Fix wine bootstrap

Fixes JuliaLang#39124
Closes JuliaLang#39022

* fix cross-build, and other build issues

* this should probably be part of spawn, if it is needed

* Revert "this should probably be part of spawn, if it is needed"

This reverts commit eb88a9c.

Seems to be needed

* fixup! fix cross-build, and other build issues

Co-authored-by: Jameson Nash <[email protected]>
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this issue May 9, 2021
* Fix wine bootstrap

Fixes JuliaLang#39124
Closes JuliaLang#39022

* fix cross-build, and other build issues

* this should probably be part of spawn, if it is needed

* Revert "this should probably be part of spawn, if it is needed"

This reverts commit eb88a9c.

Seems to be needed

* fixup! fix cross-build, and other build issues

Co-authored-by: Jameson Nash <[email protected]>
johanmon pushed a commit to johanmon/julia that referenced this issue Jul 5, 2021
* Fix wine bootstrap

Fixes JuliaLang#39124
Closes JuliaLang#39022

* fix cross-build, and other build issues

* this should probably be part of spawn, if it is needed

* Revert "this should probably be part of spawn, if it is needed"

This reverts commit eb88a9c.

Seems to be needed

* fixup! fix cross-build, and other build issues

Co-authored-by: Jameson Nash <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants