From 6024daad7ce28578336aec03bed7a0ae61657b03 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Dec 08 2020 15:56:16 +0000 Subject: import dotnet5.0-5.0.100-0.8.0201202git337413b.el8_3 --- diff --git a/.dotnet5.0.metadata b/.dotnet5.0.metadata index b15c761..fb8f0ac 100644 --- a/.dotnet5.0.metadata +++ b/.dotnet5.0.metadata @@ -1 +1 @@ -bf5d159d88cb9740d856caf5cd4b283fef318133 SOURCES/dotnet-v5.0.100-preview.8.20417.9-SDK.tar.xz +99595a158d9deccaeb02f642eb8a7fb837b50a2e SOURCES/dotnet-v5.0.100-SDK-337413b.tar.gz diff --git a/.gitignore b/.gitignore index 8033f2b..8632dbf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/dotnet-v5.0.100-preview.8.20417.9-SDK.tar.xz +SOURCES/dotnet-v5.0.100-SDK-337413b.tar.gz diff --git a/SOURCES/runtime-dont-strip.patch b/SOURCES/runtime-dont-strip.patch deleted file mode 100644 index 694face..0000000 --- a/SOURCES/runtime-dont-strip.patch +++ /dev/null @@ -1,47 +0,0 @@ -Do not strip native/unmanaged symbols from binaries - -This is a hack. It rips out the calls to strip directly. - -The correct/upstreamable fix is to add a configure/build option to -keep symbols for some builds, such as those needed by upstream. - -diff --git a/eng/native/functions.cmake b/eng/native/functions.cmake -index 8b73581ed14..7697908425e 100644 ---- a/eng/native/functions.cmake -+++ b/eng/native/functions.cmake -@@ -282,7 +282,7 @@ function(target_precompile_header) - endif(MSVC) - endfunction() - --function(strip_symbols targetName outputFilename) -+function(strip_symbols_renamed targetName outputFilename) - if (CLR_CMAKE_HOST_UNIX) - set(strip_source_file $) - -@@ -336,8 +336,8 @@ function(strip_symbols targetName outputFilename) - endfunction() - - function(install_with_stripped_symbols targetName kind destination) -- strip_symbols(${targetName} symbol_file) -- install_symbols(${symbol_file} ${destination}) -+ # strip_symbols_renamed(${targetName} symbol_file) -+ # install_symbols(${symbol_file} ${destination}) - if ("${kind}" STREQUAL "TARGETS") - set(install_source ${targetName}) - elseif("${kind}" STREQUAL "PROGRAMS") -@@ -375,13 +375,13 @@ function(install_clr) - foreach(targetName ${INSTALL_CLR_TARGETS}) - list(FIND CLR_CROSS_COMPONENTS_LIST ${targetName} INDEX) - if (NOT DEFINED CLR_CROSS_COMPONENTS_LIST OR NOT ${INDEX} EQUAL -1) -- strip_symbols(${targetName} symbol_file) -+ # strip_symbols_renamed(${targetName} symbol_file) - - foreach(destination ${destinations}) - # We don't need to install the export libraries for our DLLs - # since they won't be directly linked against. - install(PROGRAMS $ DESTINATION ${destination}) -- install_symbols(${symbol_file} ${destination}) -+ # install_symbols(${symbol_file} ${destination}) - - if(CLR_CMAKE_PGO_INSTRUMENT) - if(WIN32) diff --git a/SOURCES/runtime-flags-support.patch b/SOURCES/runtime-flags-support.patch deleted file mode 100644 index 921e483..0000000 --- a/SOURCES/runtime-flags-support.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/eng/native/build-commons.sh b/eng/native/build-commons.sh -index b976f5fdc6c..853580b1c7a 100755 ---- a/eng/native/build-commons.sh -+++ b/eng/native/build-commons.sh -@@ -163,6 +163,14 @@ EOF - return - fi - -+ SAVED_CFLAGS="${CFLAGS}" -+ SAVED_CXXFLAGS="${CXXFLAGS}" -+ SAVED_LDFLAGS="${LDFLAGS}" -+ -+ export CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" -+ export CXXFLAGS="${CXXFLAGS} ${EXTRA_CXXFLAGS}" -+ export LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}" -+ - if [[ "$__StaticAnalyzer" == 1 ]]; then - pushd "$intermediatesDir" - -@@ -181,6 +189,10 @@ EOF - $cmake_command --build "$intermediatesDir" --target install -- -j "$__NumProc" - fi - -+ CFLAGS="${SAVED_CFLAGS}" -+ CXXFLAGS="${SAVED_CXXFLAGS}" -+ LDFLAGS="${SAVED_LDFLAGS}" -+ - local exit_code="$?" - if [[ "$exit_code" != 0 ]]; then - echo "${__ErrMsgPrefix}Failed to build \"$message\"." diff --git a/SOURCES/source-build-1750-runtime-pack.patch b/SOURCES/source-build-1750-runtime-pack.patch deleted file mode 100644 index 0500f81..0000000 --- a/SOURCES/source-build-1750-runtime-pack.patch +++ /dev/null @@ -1,71 +0,0 @@ -From d25bfc2a634230f1cbb73dcffc67439721f3b412 Mon Sep 17 00:00:00 2001 -From: Davis Goodin -Date: Mon, 14 Sep 2020 18:46:20 -0500 -Subject: [PATCH] Fix runtime pack RID list: omit source-built RID - ---- - ...get-rid-to-AppHostRuntimeIdentifiers.patch | 47 +++++++++++-------- - 1 file changed, 27 insertions(+), 20 deletions(-) - -diff --git a/patches/installer/0002-Add-target-rid-to-AppHostRuntimeIdentifiers.patch b/patches/installer/0002-Add-target-rid-to-AppHostRuntimeIdentifiers.patch -index 8eba95a4ce..43ed58ed95 100644 ---- a/patches/installer/0002-Add-target-rid-to-AppHostRuntimeIdentifiers.patch -+++ b/patches/installer/0002-Add-target-rid-to-AppHostRuntimeIdentifiers.patch -@@ -1,30 +1,37 @@ --From 66d0c4da113bb6456eb442a9fee458768e421e67 Mon Sep 17 00:00:00 2001 --From: dseefeld --Date: Mon, 29 Jun 2020 18:07:47 -0400 --Subject: [PATCH 2/3] Add target rid to AppHostRuntimeIdentifiers -+From e09da5670bfc8df488b65aee94de992a1c75a6a4 Mon Sep 17 00:00:00 2001 -+From: Davis Goodin -+Date: Mon, 14 Sep 2020 18:43:27 -0500 -+Subject: [PATCH] Add target rid to NetCoreAppHostRids - --Updated from 3.1 patch at --https://github.com/dotnet/source-build/blob/2d5b506b13a06adf36f0feb4982ceebb7fa27123/patches/core-sdk/0008-Add-target-rid-to-AppHostRuntimeIdentifiers.patch - --- -- src/redist/targets/GenerateBundledVersions.targets | 5 +++++ -- 1 file changed, 5 insertions(+) -+ src/redist/targets/GenerateBundledVersions.targets | 14 ++++++++++++++ -+ 1 file changed, 14 insertions(+) - - diff --git a/src/redist/targets/GenerateBundledVersions.targets b/src/redist/targets/GenerateBundledVersions.targets --index 7c6f72967..098960015 100644 -+index 7c6f72967..3ee0284e1 100644 - --- a/src/redist/targets/GenerateBundledVersions.targets - +++ b/src/redist/targets/GenerateBundledVersions.targets --@@ -71,6 +71,11 @@ -- win-x86; -- " /> -+@@ -93,6 +93,20 @@ -+ -+ - --+ -++ -++ -++ -+ |$(BuildArguments) cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|' repos/runtime.common.props - -%if %{use_bundled_libunwind} -sed -i 's|-DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE|-DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=FALSE|' repos/runtime.common.props -%endif - %ifnarch x86_64 mkdir -p artifacts/obj/%{runtime_arch}/Release cp artifacts/obj/x64/Release/PackageVersions.props artifacts/obj/%{runtime_arch}/Release/PackageVersions.props @@ -405,6 +380,11 @@ VERBOSE=1 ./build.sh \ /p:LogVerbosity=n \ /p:MinimalConsoleLogOutput=false \ /p:ContinueOnPrebuiltBaselineError=true \ +%if %{use_bundled_libunwind} + /p:UseSystemLibunwind=false \ +%else + /p:UseSystemLibunwind=true \ +%endif sed -e 's|[@]LIBDIR[@]|%{_libdir}|g' %{SOURCE2} > dotnet.sh @@ -420,12 +400,14 @@ tar xf artifacts/%{runtime_arch}/Release/runtime/dotnet-runtime-symbols-%{runtim -C %{buildroot}/%{_libdir}/dotnet/shared/Microsoft.NETCore.App/%{runtime_version}/ # Fix executable permissions on files +find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.a' -exec chmod -x {} \; find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.dll' -exec chmod -x {} \; +find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.h' -exec chmod -x {} \; find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pdb' -exec chmod -x {} \; find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.props' -exec chmod -x {} \; find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.pubxml' -exec chmod -x {} \; find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.targets' -exec chmod -x {} \; -find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.a' -exec chmod -x {} \; +find %{buildroot}%{_libdir}/dotnet/ -type f -name '*.xml' -exec chmod -x {} \; chmod 0755 %{buildroot}/%{_libdir}/dotnet/sdk/%{sdk_version}/AppHostTemplate/apphost chmod 0755 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/apphost chmod 0755 %{buildroot}/%{_libdir}/dotnet/packs/Microsoft.NETCore.App.Host.%{runtime_id}/%{runtime_version}/runtimes/%{runtime_id}/native/libnethost.so @@ -514,6 +496,14 @@ echo "Testing build results for debug symbols..." %changelog +* Thu Dec 03 2020 Omair Majid - 5.0.100-0.8.0201202git337413b +- Update to latest commit of .NET Core SDK 5.0.100 and Runtime 5.0.0 +- Resolves: RHBZ#1897396 + +* Fri Oct 23 2020 Omair Majid - 5.0.100-0.7.rc1 +- Update to .NET Core SDK 5.0.100 RC1 and Runtime 5.0.0 RC1 +- Resolves: RHBZ#1891507 + * Tue Sep 15 2020 Omair Majid - 5.0.100-0.6.preview8 - Switch to a smaller tarball - Fix restore-with-rid