aros-development-team / AROS

Main AROS repository for active development. Contains the main Operating System components and Build System.
http://www.aros.org
Other
368 stars 60 forks source link

mingw32-i386-system nightly builds fail to launch #599

Closed ccawley2011 closed 1 year ago

ccawley2011 commented 1 year ago

Describe the bug Attempting to launch the mingw32-i386-system nightly build fails, and reports the following message in the command line:

[Kernel] Failed to load host-side module: The specified module could not be found.

To Reproduce Steps to reproduce the behavior:

  1. Launch AROS using ./boot/mingw32/AROSBootstrap.exe

Architecture

CPU

Version Nightly build from 2023/01/09

Additional context The problem seems to be caused by some of the host libraries linking with LIBGCC_S_DW2-1.DLL to provide __udivdi3 and __umoddi3, which isn't included in the archive.

Kalamatee commented 1 year ago

It looks like something has changed with regards to mingw32 - we may need to use -static-libgcc and -static-libstdc++ when building the host side dll's.

Kalamatee commented 1 year ago

There also appears to be a typo in the mmakefile.src for the kernel.dll, which appears to cause "-Winline" to be unused.

Kalamatee commented 1 year ago

Tested and working