Closed carlo-bramini closed 1 month ago
Hello. Thank you for reporting the issue. It's a known issue Windows-on-ARM-Experiments/mingw-woarm64-build#148 that [[gnu::weak]]
is not implemented for the target (probably in binutils). You can build the toolchain with --enable-shared
using the workaround patch mentioned in the issue.
Note that we are using https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/issues repo as the main one where is the complete list of the known issues.
Hello, I updated the sources to the latest available. Next, I configured with these options under CYGWIN:
Here, I used
--with-native-system-header-dir=/mingw/include
according to the suggestion received into #17 and I can confirm that it allowed to bypass that issue. As you can see, there is not a--disable-shared
option, so I expected a DLL to be built also for libstdc++. I had already done this experiment in the past and I got several errors about some unresolved external functions. However, I have seen that some commits have been made for solving them. In my last test, I can also confirm that errors on unresolved__gthr_win32_
and_Unwind_
functions are fixed. Unfortunately, it seems that there is still one unresolved reference in my build:Perhaps, it was an already known problem, but since I have not found it into the list of the issues, I'm posting it here. If
--disable-shared
option is used, the whole build process completes successfully.