Hi,<br><br>I am trying to compile/test compiler-rt for Windows (MinGW). I used Clang and GCC, and GCC had a lot more success here. I had to build with "mingw32-make -i" because the clear_cache_test is not written for Windows. I can't seem to find any alternative to __clear_cache on Windows, so it might be a nonsensical test to run.<br>
<br>GCC test results:<br>87% tests passed, 12 tests failed out of 89<br><br>Total Test time (real) = 7.52 sec<br><br>The following tests FAILED:<br> 2 - udivmodti4_test (Failed)<br> 24 - enable_execute_stack_test (Not Run)<br>
29 - floatuntisf_test (Failed)<br> 34 - floattisf_test (Failed)<br> 38 - fixunssfti_test (Failed)<br> 42 - clear_cache_test (Not Run)<br> 47 - clzti2_test (Failed)<br> 53 - ffsti2_test (Failed)<br>
64 - floatuntidf_test (Failed)<br> 66 - ctzti2_test (Failed)<br> 69 - floattidf_test (Failed)<br> 74 - fixunsdfti_test (Failed)<br><br>Clang test results:<br>58% tests passed, 37 tests failed out of 89<br>
<br>Total Test time (real) = 10.71 sec<br><br>The following tests FAILED:<br> 2 - udivmodti4_test (SEGFAULT)<br> 6 - fixdfti_test (Failed)<br> 8 - negti2_test (SEGFAULT)<br> 9 - cmpti2_test (SEGFAULT)<br>
10 - mulvti3_test (SEGFAULT)<br> 12 - fixunsxfti_test (Failed)<br> 14 - negvti2_test (SEGFAULT)<br> 16 - ucmpti2_test (SEGFAULT)<br> 19 - popcountti2_test (SEGFAULT)<br> 23 - shlti3_test (SEGFAULT)<br>
24 - enable_execute_stack_test (Not Run)<br> 29 - floatuntisf_test (SEGFAULT)<br> 31 - powixf2_test (SEGFAULT)<br> 34 - floattisf_test (SEGFAULT)<br> 38 - fixunssfti_test (Failed)<br>
39 - parityti2_test (SEGFAULT)<br> 42 - clear_cache_test (Not Run)<br> 45 - multi3_test (SEGFAULT)<br> 47 - clzti2_test (SEGFAULT)<br> 53 - ffsti2_test (SEGFAULT)<br> 55 - fixsfti_test (Failed)<br>
56 - absvti2_test (SEGFAULT)<br> 57 - ashrti3_test (SEGFAULT)<br> 62 - addvti3_test (SEGFAULT)<br> 64 - floatuntidf_test (SEGFAULT)<br> 65 - umodti3_test (SEGFAULT)<br> 66 - ctzti2_test (SEGFAULT)<br>
67 - floatuntixf_test (SEGFAULT)<br> 69 - floattidf_test (SEGFAULT)<br> 70 - modti3_test (SEGFAULT)<br> 73 - floattixf_test (SEGFAULT)<br> 74 - fixunsdfti_test (Failed)<br> 75 - subvti3_test (SEGFAULT)<br>
80 - lshrti3_test (SEGFAULT)<br> 83 - udivti3_test (SEGFAULT)<br> 86 - fixxfti_test (Failed)<br> 88 - divti3_test (SEGFAULT)<br><br>Put briefly, where do I start?<br><br>Thanks,<br><br>Ruben<br>
<br>PS: please reply-to-all, I'm only subscribed to cfe-dev<br>