- 23 3月, 2022 3 次提交
-
-
由 Radek Doulik 提交于
* Initial changes for emscripten 2.0.34 * Use emcc-link.rsp in build targets * Use updated docker images * Fix compiler warnings Co-authored-by: NZoltan Varga <vargaz@gmail.com> * Put `--profiling-funcs` to `_EmccLinkFlags` * Fix build src/mono/mono/mini/mini-runtime.c:3407:25: error: ‘invoke’ undeclared (first use in this function); did you mean ‘revoke’? 3407 | invoke = mono_marshal_get_runtime_invoke_dynamic (); * Add shell to the environment Environment setting https://github.com/emscripten-core/emscripten/blob/2.0.34/src/settings.js#L616-L641 From emscripten 2.0.25 release notes - Support for the 'shell' environment is now disabled by default. Running under `d8`, `js`, or `jsc` is not something that most emscripten users ever want to do, so including the support code is, more often than not, unnecessary. Users who want shell support can enable it by including 'shell' in `-s ENVIRONMENT` (#14535). Example of the the size increase for bench sample: -a--- 12/10/2021 3:35 PM 382113 dotnet.js -a--- 12/13/2021 10:37 AM 383589 dotnet.js * Add emcc-link.rsp to PlatformManifestFileEntry * Feedback https://github.com/emscripten-core/emscripten/blob/2fda25eea756c78c8cb024aa5b6c2b188bf7990f/src/settings.js#L1173-L1176 -s EXPORT_ES6 is link option * Bump emscripten version * Bump llvm package version and use its libclang * Use newer docker images with emscripten 3.1.1 * Remove unused variable * Add note about icu repo * Add comment to improve code readability * Bump the ICU and emsdk versions * disable non-wasm builds * disable wasm jobs in runtime, and runtime-staging, as we'll be running runtime-wasm manually * [wasm] Re-enable tests that were disabled due to the earlier emsdk bump System.Linq.Tests.csproj: https://github.com/dotnet/runtime/issues/64774 System.Text.Json.Tests.csproj: https://github.com/dotnet/runtime/issues/64775 System.Text.RegularExpressions.Tests.csproj: https://github.com/dotnet/runtime/issues/64769 System.Threading.Channels.Tests.csproj: https://github.com/dotnet/runtime/issues/65012 System.Collections.Immutable.Tests.csproj: https://github.com/dotnet/runtime/issues/65335 * [wasm] Disable nodejs tests They are still unstable, and fail with: ``` [01:27:29] fail: /datadisks/disk1/work/A3DA08F7/w/B1B30976/e/test-main.js:97 [01:27:29] fail: if (typeof globalThis.crypto === 'undefined') { [01:27:29] fail: ^ [01:27:29] fail: [01:27:29] fail: ReferenceError: globalThis is not defined [01:27:29] fail: at Object.<anonymous> (/datadisks/disk1/work/A3DA08F7/w/B1B30976/e/test-main.js:97:1) [01:27:29] fail: at Module._compile (internal/modules/cjs/loader.js:778:30) [01:27:29] fail: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) [01:27:29] fail: at Module.load (internal/modules/cjs/loader.js:653:32) [01:27:29] fail: at tryModuleLoad (internal/modules/cjs/loader.js:593:12) [01:27:29] fail: at Function.Module._load (internal/modules/cjs/loader.js:585:3) [01:27:29] fail: at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) [01:27:29] fail: at startup (internal/bootstrap/node.js:283:19) [01:27:29] fail: at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) ``` Issue: https://github.com/dotnet/runtime/issues/65485 * fix wbt build * Update path to node in helix commands. * disable non-wasm builds * [wasm] Make emscripten version mismatch an error on CI * Bump emscripten packages used to preview3, which has emsdk 3.1.1 * Update emscripten package version in Versions.props tooo * Re-enable wasm jobs * enable non-wasm jobs * Add more missing exports * __dl_seterr shouldn't be needed * Fix MicrosoftNETCoreRuntimeICUTransportVersion * Put back the 3.1.1 docker images after merge * Revert "fix wbt build" This reverts commit f7c77d995e36130118dd9d98c2c66809aaf42fe2. * Revert "[wasm] Disable nodejs tests" This reverts commit 7b90965638b7e90bf4d35c69696f2f361a04ef20. * Use newer ICU package, last that still had 3.1.1 * Try different helix queue parameter * Revert "Try different helix queue parameter" This reverts commit a34230f7fe04760df30c5e63e14826575f1a7545. * Fix helix queue with docker tag * Try to set PYTHONPATH for emscripten * [wasm] Do not set _WasmDevel=true for blazor projects * Increase timeout The AOT tests are canceled after timeout * Fix WBT tests Co-authored-by: NAnkit Jain <radical@gmail.com> * [wasm] Export more functions `htons,ntohs,_get_daylight,_get_timezone,_get_tzname` .. to fix: ``` EXEC : warning : undefined symbol: htons (referenced by $inetPton6__deps: ['htons','$jstoi_q'], referenced by $writeSockaddr__deps: ['$Sockets','$inetPton4','$inetPton6','$zeroMemory'], referenced by __syscall_accept4__deps: ['$getSocketFromFD','$writeSockaddr','$DNS','$SYSCALLS'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] EXEC : warning : undefined symbol: ntohs (referenced by $inetNtop6__deps: ['$inetNtop4','ntohs'], referenced by $readSockaddr__deps: ['$Sockets','$inetNtop4','$inetNtop6','ntohs'], referenced by $getSocketAddress__deps: ['$readSockaddr','$FS','$DNS'], referenced by __syscall_bind__deps: ['$getSocketFromFD','$getSocketAddress','$SYSCALLS'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] EXEC : warning : undefined symbol: _get_daylight (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] EXEC : warning : undefined symbol: _get_timezone (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] EXEC : warning : undefined symbol: _get_tzname (referenced by tzset_impl__deps: ['_get_daylight','_get_timezone','_get_tzname'], referenced by tzset__deps: ['tzset_impl'], referenced by localtime_r__deps: ['tzset'], referenced by top-level compiled C/C++ code) [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj] ``` ``` Starting: Microsoft.Extensions.Logging.Tests.dll Message1 : testKey3:testValue, testKey2:, testKey1: missing function: ntohs Error at Object.onAbort (test-main.js:176:60) at abort (./dotnet.js:1316:24) at _ntohs (./dotnet.js:4990:35) at readSockaddr (./dotnet.js:5091:18) ... ``` * fix exported function names Co-authored-by: NRadek Doulik <radekdoulik@google.com> Co-authored-by: NZoltan Varga <vargaz@gmail.com> Co-authored-by: NLarry Ewing <lewing@microsoft.com> Co-authored-by: NAnkit Jain <radical@gmail.com> Co-authored-by: NMarek Fišera <mara@neptuo.com>
-
由 Andrew Au 提交于
-
由 Luca Leonardo Scorcia 提交于
-
- 22 3月, 2022 28 次提交
-
-
由 Michal Strehovský 提交于
* Include method instantiation MethodTables in compilation We'll need to load the `MethodTable` so that we can search for it in GVM tables. * Regression test
-
由 Adam Sitnik 提交于
-
由 Stijn Herreman 提交于
-
由 Jan Vorlicek 提交于
* Cleanup obsolete 32 bit related macOS code * Cleanup obsolete mac OS 32 bit stuff I've noticed that we had some stuff in our PAL that was there from the era of the 32 bit mac OS, so I have removed it.
-
由 stefan-sf-ibm 提交于
-
由 Adeel Mujahid 提交于
Also upstreamed a fix for libunwind https://github.com/libunwind/libunwind/pull/342 (but we are not using ptrace so it can wait until the next libunwind update).
-
由 Ankit Jain 提交于
* [wasm] Do not set _WasmDevel=true for blazor projects to workaround wasm-ld getting oomkilled. Fixes https://github.com/dotnet/runtime/issues/66725, and https://github.com/dotnet/runtime/issues/66591 * Fix test
-
由 Michal Strehovský 提交于
LLVM already assumes the `char*` it receives is UTF-8. Fixes #66913.
-
由 Michal Strehovský 提交于
The trimming settings for .NET 5 are not compatible and lead to rooting everything. Who knows what else is not compatible. We don't test this.
-
由 Jeremy Koritzinsky 提交于
* Fix some alloc-dealloc mismatches found by ASAN * Define new static
-
由 Tomas Weinfurt 提交于
* remove unused code * fix osx build * android
-
由 Badre BSAILA 提交于
-
由 Jeremy Koritzinsky 提交于
Co-authored-by: NBruce Forstall <brucefo@microsoft.com>
-
由 Jan Kotas 提交于
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/linker build 20220311.3 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22160.1 -> To Version 7.0.100-1.22161.3 * Update dependencies from https://github.com/dotnet/linker build 20220314.1 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22160.1 -> To Version 7.0.100-1.22164.1 * Fix warnings introduced by new version of trim analyzer In the case of Type.Helpers.cs better data flow analysis in the analyzer uncovers a warning. The method is used to implement reflection functionality and the warnings are not a problem and should be suppressed. In the case of the System.Private.Xml Types.cs, the analyzer shows a real issue where the annotation is not enough for what the method does. This changed the annotation to All - which is already in place in all the callers anyway. * Update dependencies from https://github.com/dotnet/linker build 20220318.5 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22160.1 -> To Version 7.0.100-1.22168.5 * Update dependencies from https://github.com/dotnet/linker build 20220318.6 Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22160.1 -> To Version 7.0.100-1.22168.6 * Fix suppression for MakeGenericType of Nullable Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Nvitek-karas <10670590+vitek-karas@users.noreply.github.com> Co-authored-by: NSven Boemer <sbomer@gmail.com>
-
由 Carlos Sanchez 提交于
-
由 Jeremy Koritzinsky 提交于
Co-authored-by: NAaron Robinson <arobins@microsoft.com>
-
由 Alexander Köplinger 提交于
The remaining usages can be removed.
-
由 dotnet bot 提交于
-
由 Sychev Vadim 提交于
* Add optimization "X & 1 == 1" to "X & 1" (#61412) * Moved the optimization to the morph phase (#61412) * Done in post-order (#61412) * Moved the optimization into fgOptimizeEqualityComparisonWithConst (#61412) * Some corrections due the comments (#61412) * Fix of the picture (#61412) * Add optNarrowTree use (#61412) * Change narrowing to the type check (#61412) * Fix regressions (#61412) * Moved the optimization to the lowering phase (#61412) * Reverted Morph changes (#61412) * Moved the optimization into OptimizeConstCompare method (#61412) * Add GT_EQ check(#61412)
-
由 Adeel Mujahid 提交于
-
由 Anton Firszov 提交于
Avoid taking a lock, and address the use-after-free race condition by guarding GetAddrInfoExContext with a SafeHandle.
-
由 Aaron Robinson 提交于
* Update error string for non-glibc scenarios
-
由 Adeel Mujahid 提交于
* Move libunwind directories to src/native/external * Move extra additions to single directory * Extract coreclr configs in libunwind.cmake * Reapply upstream patches * Fixups
-
由 Jakob Botsch Nielsen 提交于
This reverts commit c6ca9dc0.
-
由 Jeremy Koritzinsky 提交于
-
由 Bruce Forstall 提交于
* Loop cloning improvements Fix various comments * Remove loop cloning var initialization condition Assume that any pre-existing initialization is ok. Check it against zero if necessary. Const inits remain as before. Lots of diffs due to more cloning for cases of `for (i = expression...` where `expression` is not just a constant or local var. * Feedback
-
由 Parker Bibus 提交于
* Update the repo and branch we get dotnet-podcasts from.
-
- 21 3月, 2022 9 次提交
-
-
由 Alexander Köplinger 提交于
We were checking `sts/auxv.h` instead of `sys/auxv.h` so we were never defining `HAVE_SYS_AUXV_H`. Instead of fixing the typo let's switch to checking for `HAVE_GETAUXVAL` which is what coreclr/libs.native are using.
-
由 Michal Strehovský 提交于
Name/Namespace of these already includes the details type name. Bring this over to DiagnosticName too. This is so that we can distinguish between `List<__Canon>` and List<T___Canon>`.
-
由 Vlad Brezae 提交于
* [mono][interp] Fix warning when storing function pointers * [mono][interp] Fix storing of R4 or R8 into local of different size The IL execution stack operates on generic floating type F, which can be stored in local of both float32 or float64. We however operate on the real types and need to add implicit conversions if necessary. * [mono][interp] Fix ckfinite It was previously handling only R8 correctly. * [mono][interp] Add implicit conversion between nint and int32 * [mono][interp] Change warning to error
-
由 Michal Strehovský 提交于
We were using a null logger.
-
由 Gleb Balykov 提交于
-
由 Hyungju Lee 提交于
-
由 Stephen Toub 提交于
-
由 Stephen Toub 提交于
-
由 Jan Kotas 提交于
Contributes to #32648
-