- 
                Notifications
    
You must be signed in to change notification settings  - Fork 138
 
Description
I found this while packaging dotnet 10.0.0-preview.1 for nixpkgs: NixOS/nixpkgs#385259.
This is the link task used to build crossgen2 on 9.0.2:
 573:2>Target "LinkNative" in file "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/build/Microsoft.NETCore.Native.targets" from project "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj" (target "ComputeLinkedFilesToPublish" depends on it):
       Building target "LinkNative" completely.
       Output file "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2" does not exist.
       Added Item(s): CustomLinkerArg="/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.o"
       Added Item(s): CustomLinkerArg=-o "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2"
       Added Item(s): CustomLinkerArg=-Wl,--version-script=/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.exports
       Added Item(s): CustomLinkerArg=-Wl,--export-dynamic
       Added Item(s):
           CustomLinkerArg=
               -gz=zlib
               -fuse-ld=bfd
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libbootstrapper.o
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libRuntime.ServerGC.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libeventpipe-enabled.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libRuntime.VxsortEnabled.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libstandalonegc-disabled.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libstdc++compat.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Native.a
                       EscapedPath=/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Native.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.IO.Compression.Native.a
                       EscapedPath=/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.IO.Compression.Native.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Net.Security.Native.a
                       EscapedPath=/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Net.Security.Native.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Security.Cryptography.Native.OpenSsl.a
                       EscapedPath=/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Security.Cryptography.Native.OpenSsl.a
               /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libz.a
               -g
               -Wl,-rpath,'$ORIGIN'
               -Wl,--build-id=sha1
               -Wl,--as-needed
               -pthread
               -ldl
               -lrt
               -lm
               -pie -Wl,-pie
               -Wl,-z,relro
               -Wl,-z,now
               -Wl,--eh-frame-hdr
       Added Item(s): CustomLinkerArg=-Wl,--discard-all
       Added Item(s): CustomLinkerArg=-Wl,--gc-sections
       Added Item(s): CustomLibArg=-crs "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2"
       Added Item(s): CustomLibArg="/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.o"
       Task "MakeDir"
         Task Parameter:Directories=/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native
         Creating directory "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native".
       Done executing task "MakeDir".
       Set Property: _IgnoreLinkerWarnings=false
       Task "WriteLinesToFile" skipped, due to false condition; ('$(LinkerFlavor)' == 'lld' and '$(_LinkerVersion)' > '12') was evaluated as ('bfd' == 'lld' and '' > '12').
       Task "Exec"
         Task Parameter:Command="/nix/store/ls0g67nsklb2vn3vc9dnksa1adfgq32a-clang-wrapper-19.1.7/bin/clang" -Wl,-rpath,'/nix/store/jbnm36wq89c7iws6xx6xvv75h0drv48x-icu4c-76.1/lib:/nix/store/bb9h0qjkl5fh6yr48lw3930gdwvackh5-zlib-1.3.1/lib:/nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib' "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.o" -o "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2" -Wl,--version-script=/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.exports -Wl,--export-dynamic -gz=zlib -fuse-ld=bfd /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libbootstrapper.o /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libRuntime.ServerGC.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libeventpipe-enabled.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libRuntime.VxsortEnabled.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libstandalonegc-disabled.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libstdc++compat.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Native.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.IO.Compression.Native.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Net.Security.Native.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Security.Cryptography.Native.OpenSsl.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libz.a -g -Wl,-rpath,'$ORIGIN' -Wl,--build-id=sha1 -Wl,--as-needed -pthread -ldl -lrt -lm -pie -Wl,-pie -Wl,-z,relro -Wl,-z,now -Wl,--eh-frame-hdr -Wl,--discard-all -Wl,--gc-sections
         Task Parameter:IgnoreStandardErrorWarningFormat=False
         "/nix/store/ls0g67nsklb2vn3vc9dnksa1adfgq32a-clang-wrapper-19.1.7/bin/clang" -Wl,-rpath,'/nix/store/jbnm36wq89c7iws6xx6xvv75h0drv48x-icu4c-76.1/lib:/nix/store/bb9h0qjkl5fh6yr48lw3930gdwvackh5-zlib-1.3.1/lib:/nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib' "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.o" -o "/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2" -Wl,--version-script=/var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.exports -Wl,--export-dynamic -gz=zlib -fuse-ld=bfd /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libbootstrapper.o /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libRuntime.ServerGC.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libeventpipe-enabled.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libRuntime.VxsortEnabled.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libstandalonegc-disabled.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libstdc++compat.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Native.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.IO.Compression.Native.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Net.Security.Native.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/microsoft.netcore.app.runtime.linux-x64/Release/runtimes/linux-x64/native/libSystem.Security.Cryptography.Native.OpenSsl.a /var/tmp/nix-shell.s0QLph/dotnet-9.0.2/src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libz.a -g -Wl,-rpath,'$ORIGIN' -Wl,--build-id=sha1 -Wl,--as-needed -pthread -ldl -lrt -lm -pie -Wl,-pie -Wl,-z,relro -Wl,-z,now -Wl,--eh-frame-hdr -Wl,--discard-all -Wl,--gc-sections
       Done executing task "Exec".
This is on 10.0.0-preview.1:
    21>Target "LinkNative" in file "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/build/Microsoft.NETCore.Native.targets" from project "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj" (target "ComputeLinkedFilesToPublish" depends on it):
       Building target "LinkNative" completely.
       Output file "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2" does not exist.
       Added Item(s): CustomLinkerArg="/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.o"
       Added Item(s): CustomLinkerArg=-o "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2"
       Added Item(s): CustomLinkerArg=-Wl,--version-script=/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.exports
       Added Item(s): CustomLinkerArg=-Wl,--export-dynamic
       Added Item(s):
           CustomLinkerArg=
               -gz=zlib
               -fuse-ld=bfd
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Native.a
                       EscapedPath=/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Native.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.IO.Compression.Native.a
                       EscapedPath=/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.IO.Compression.Native.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Net.Security.Native.a
                       EscapedPath=/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Net.Security.Native.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Security.Cryptography.Native.OpenSsl.a
                       EscapedPath=/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Security.Cryptography.Native.OpenSsl.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libbootstrapper.o
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libRuntime.ServerGC.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libeventpipe-enabled.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libRuntime.VxsortEnabled.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libstandalonegc-disabled.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libaotminipal.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libstdc++compat.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libz.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlienc.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlidec.a
               /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlicommon.a
               -g
               -Wl,-rpath,'$ORIGIN'
               -Wl,--build-id=sha1
               -Wl,--as-needed
               -pthread
               -ldl
               -lrt
               -lm
               -pie -Wl,-pie
               -Wl,-z,relro
               -Wl,-z,now
               -Wl,--eh-frame-hdr
       Added Item(s): CustomLinkerArg=-Wl,--discard-all
       Added Item(s): CustomLinkerArg=-Wl,--gc-sections
       Added Item(s): CustomLibArg=-crs "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2"
       Added Item(s): CustomLibArg="/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.o"
       Task "MakeDir"
         Task Parameter:Directories=/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native
         Creating directory "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native".
       Done executing task "MakeDir".
       Set Property: _IgnoreLinkerWarnings=false
       Task "WriteLinesToFile" skipped, due to false condition; ('$(LinkerFlavor)' == 'lld' and '$(_LinkerVersion)' > '12') was evaluated as ('bfd' == 'lld' and '' > '12').
       Task "Exec"
         Task Parameter:Command="/nix/store/ls0g67nsklb2vn3vc9dnksa1adfgq32a-clang-wrapper-19.1.7/bin/clang" -Wl,-rpath,'/nix/store/jbnm36wq89c7iws6xx6xvv75h0drv48x-icu4c-76.1/lib:/nix/store/bb9h0qjkl5fh6yr48lw3930gdwvackh5-zlib-1.3.1/lib:/nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib' "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.o" -o "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2" -Wl,--version-script=/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.exports -Wl,--export-dynamic -gz=zlib -fuse-ld=bfd /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Native.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.IO.Compression.Native.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Net.Security.Native.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Security.Cryptography.Native.OpenSsl.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libbootstrapper.o /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libRuntime.ServerGC.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libeventpipe-enabled.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libRuntime.VxsortEnabled.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libstandalonegc-disabled.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libaotminipal.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libstdc++compat.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libz.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlienc.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlidec.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlicommon.a -g -Wl,-rpath,'$ORIGIN' -Wl,--build-id=sha1 -Wl,--as-needed -pthread -ldl -lrt -lm -pie -Wl,-pie -Wl,-z,relro -Wl,-z,now -Wl,--eh-frame-hdr -Wl,--discard-all -Wl,--gc-sections
         Task Parameter:IgnoreStandardErrorWarningFormat=False
         "/nix/store/ls0g67nsklb2vn3vc9dnksa1adfgq32a-clang-wrapper-19.1.7/bin/clang" -Wl,-rpath,'/nix/store/jbnm36wq89c7iws6xx6xvv75h0drv48x-icu4c-76.1/lib:/nix/store/bb9h0qjkl5fh6yr48lw3930gdwvackh5-zlib-1.3.1/lib:/nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib' "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.o" -o "/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/bin/crossgen2_publish/x64/Release/native/crossgen2" -Wl,--version-script=/var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/obj/coreclr/crossgen2_publish/linux.x64.Release/native/crossgen2.exports -Wl,--export-dynamic -gz=zlib -fuse-ld=bfd /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Native.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.IO.Compression.Native.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Net.Security.Native.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libSystem.Security.Cryptography.Native.OpenSsl.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libbootstrapper.o /var/tmp
/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libRuntime.ServerGC.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libeven
tpipe-enabled.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libRuntime.VxsortEnabled.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-
preview.1.25080.5/sdk/libstandalonegc-disabled.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libaotminipal.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dot
net.ilcompiler/10.0.0-preview.1.25080.5/sdk/libstdc++compat.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libz.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.mic
rosoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlienc.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlidec.a /var/tmp/nix-shell.5TqVDi/dotnet-10.0.0-preview.1.25080.5/src/runtime/artifacts/sb/package-cache/
runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/framework/libbrotlicommon.a -g -Wl,-rpath,'$ORIGIN' -Wl,--build-id=sha1 -Wl,--as-needed -pthread -ldl -lrt -lm -pie -Wl,-pie -Wl,-z,relro -Wl,-z,now -Wl,--eh-frame-hdr -Wl,--discard-all -Wl,--gc-sections
       Done executing task "Exec".
This is a problem for us because we patch the runtime in order to help it find system libraries. 9.0 linked against e.g. src/runtime/artifacts/bin/coreclr/linux.x64.Release/aotsdk/libbootstrapper.o, but 10 links against src/runtime/artifacts/sb/package-cache/runtime.linux-x64.microsoft.dotnet.ilcompiler/10.0.0-preview.1.25080.5/sdk/libbootstrapper.o.
One thing to note is that we're bootstrapping with 10.0.100-preview.1.25120.13 instead of 10.0.100-preview.1.25078.4, because the latter is not on https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/10.0/releases.json.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status