Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build 9.0.0 release #3

Merged
merged 71 commits into from
Jan 2, 2025
Merged

Build 9.0.0 release #3

merged 71 commits into from
Jan 2, 2025

Conversation

dkurt
Copy link
Owner

@dkurt dkurt commented Jan 11, 2024

@dkurt dkurt linked an issue Jan 12, 2024 that may be closed by this pull request
@dkurt
Copy link
Owner Author

dkurt commented Jan 15, 2024

SDK was built somehow but there is an exception. Probably my hacks for the upstream were not correct enough:

$ ./dotnet 

Usage: dotnet [options]
Usage: dotnet [path-to-application]

Options:
  -h|--help         Display help.
  --info            Display .NET information.
  --list-sdks       Display the installed SDKs.
  --list-runtimes   Display the installed runtimes.

path-to-application:
  The path to an application .dll file to execute.
$ ./dotnet --help

=================================================================
        Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
        Native stacktrace:
=================================================================
        0x3fbe73bf26 - /home/ubuntu/runner/_dotnetsdk/9.0.100/shared/Microsoft.NETCore.App/9.0.0-alpha.1.24061.26/libcoreclr.so :

=================================================================
        External Debugger Dump:
=================================================================
[New LWP 2660]
[New LWP 2661]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.ubuntu.com>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/riscv64-linux-gnu/libthread_db.so.1".
0x0000003fbeb4c814 in __GI___wait4 (pid=<optimized out>, stat_loc=0x3fe4640ea0, options=<optimized out>, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
30      ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
  Id   Target Id                                       Frame
* 1    Thread 0x3fbee72840 (LWP 2659) "dotnet"         0x0000003fbeb4c814 in __GI___wait4 (pid=<optimized out>, stat_loc=0x3fe4640ea0, options=<optimized out>, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
  2    Thread 0x3fbdbff160 (LWP 2660) "SGen worker"    0x0000003fbeb06286 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x3fbe8cc230) at ./nptl/futex-internal.c:57
  3    Thread 0x3fbbdff160 (LWP 2661) ".NET EventPipe" 0x0000003fbeb52a6e in __GI___poll (fds=0x3fb4002fb0, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41

Thread 3 (Thread 0x3fbbdff160 (LWP 2661) ".NET EventPipe"):
#0  0x0000003fbeb52a6e in __GI___poll (fds=0x3fb4002fb0, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1  0x0000003fbe7aa402 in ?? () from /home/ubuntu/runner/_dotnetsdk/9.0.100/shared/Microsoft.NETCore.App/9.0.0-alpha.1.24061.26/libcoreclr.so

Thread 2 (Thread 0x3fbdbff160 (LWP 2660) "SGen worker"):
#0  0x0000003fbeb06286 in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x3fbe8cc230) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x3fbe8cc230, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87#2  0x0000003fbeb062a8 in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x3fbe8cc230, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x0000003fbeb08072 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x3fbe8cc1e0, cond=0x3fbe8cc208) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x3fbe8cc208, mutex=0x3fbe8cc1e0) at ./nptl/pthread_cond_wait.c:627
#5  0x0000003fbe8a2048 in ?? () from /home/ubuntu/runner/_dotnetsdk/9.0.100/shared/Microsoft.NETCore.App/9.0.0-alpha.1.24061.26/libcoreclr.so

Thread 1 (Thread 0x3fbee72840 (LWP 2659) "dotnet"):
#0  0x0000003fbeb4c814 in __GI___wait4 (pid=<optimized out>, stat_loc=0x3fe4640ea0, options=<optimized out>, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
#1  0x0000003fbe73c00e in ?? () from /home/ubuntu/runner/_dotnetsdk/9.0.100/shared/Microsoft.NETCore.App/9.0.0-alpha.1.24061.26/libcoreclr.so
[Inferior 1 (process 2659) detached]

=================================================================
        Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x3fbe96ebd8):0x3fbe96ebc8  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0x3fbe96ebd8  13 01 01 fa 23 3c 11 04 23 38 81 04 13 04 01 06  ....#<..#8......
0x3fbe96ebe8  23 38 84 fd 23 3c 94 fd 23 30 a4 ff 23 34 b4 ff  #8..#<..#0..#4..
0x3fbe96ebf8  93 0c 05 00 13 8d 05 00 23 34 c4 fc 93 8d 06 00  ........#4......

=================================================================
        Managed Stacktrace:
=================================================================
Unset cfa_reg in method  (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___object (object,intptr,intptr,intptr) [{0x2acca84b70} + 0x0]  (0x3fbe96ebd8 0x3fbe96ed7c) [0x2acca25f70 - dotnet.dll]. Memory around ip (0x3fbe96ebd8):
0x3fbe96ebc8  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0x3fbe96ebd8  13 01 01 fa 23 3c 11 04 23 38 81 04 13 04 01 06  ....#<..#8......
0x3fbe96ebe8  23 38 84 fd 23 3c 94 fd 23 30 a4 ff 23 34 b4 ff  #8..#<..#0..#4..
0x3fbe96ebf8  93 0c 05 00 13 8d 05 00 23 34 c4 fc 93 8d 06 00  ........#4......
=================================================================
Aborted (core dumped)

@dkurt
Copy link
Owner Author

dkurt commented Jan 17, 2024

Stable 9.0.0 revisions which I were able to build at least:

RUNTIME_VERSION: 9.0.0-alpha.1.24061.26
SDK_VERSION: 9.0.100-alpha.1.24062.7
ASPNETCORE_VERSION: 9.0.0-alpha.1.24061.8
RUNTIME_REVISION: 571df3ef8e741c68d4a682ed54a086876d1b6514
SDK_REVISION: 231e921dd53cb4f57acfae42b5984e4103d6b557
ASPNETCORE_REVISION: a19c70eba3f89c7cbe9447f029b4c63322f47846
INSTALLER_REVISION: f708a59e1a4e1acfb163505297fa904e6543ea3f

Note: 571df3ef8e741c68d4a682ed54a086876d1b6514 is old and picked because of dotnet/runtime#96978

@dkurt dkurt force-pushed the try_upstream branch 5 times, most recently from fd7447c to 152b056 Compare January 2, 2025 10:22
@dkurt dkurt force-pushed the try_upstream branch 5 times, most recently from 18df51b to c44e08e Compare January 2, 2025 13:19
@dkurt dkurt linked an issue Jan 2, 2025 that may be closed by this pull request
@dkurt dkurt linked an issue Jan 2, 2025 that may be closed by this pull request
@dkurt dkurt merged commit b0e2b68 into main Jan 2, 2025
dkurt added a commit that referenced this pull request Jan 2, 2025
* Try upstream version

* No trim

* Disable crossgen2

* Fix paths

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Revert "Update main.yaml"

This reverts commit ad68478.

* Revert "Update main.yaml"

This reverts commit 39950e5.

* Revert "Update main.yaml"

This reverts commit 28303a8.

* Revert "Update main.yaml"

This reverts commit 3af3367.

* Revert "Update main.yaml"

This reverts commit 6702af7.

* Try older main branch

* Installer c947c12

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Try release/9.0-preview1/ branch

* Build mono

* Update main.yaml

* Update main.yaml

* Clone only HEAD

* Build runtime only (check memory)

* runtime patch

* Update main.yaml

* Specify runtime subset

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* runtime 9.0.0-preview.6.24327.7

* Try v9.0.0 on self-hosted runner

* fix ASPNETCORE_VERSION

* Fix SDK_VERSION

* Update main.yaml

* Update main.yaml

* add PublicBaseURL to SDK build command

* Runtime version 9.0.0-rtm.24528.9

* build aspnetcore before sdk

* /p:IncludeAspNetCoreRuntime=false

* build aspnetcore and install node.js 18

* Update main.yaml

* Update main.yaml

* build SDK

* add --warnAsError false

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Build GCC

* ubuntu 24.04

* Remove dpkg

* Install cross-build libs separately

* install git at the end

* restore runtime patch

* build matrix

* different artifacts names

---------

Co-authored-by: Dmitry <[email protected]>
dkurt added a commit that referenced this pull request Jan 2, 2025
* Try upstream version

* No trim

* Disable crossgen2

* Fix paths

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Revert "Update main.yaml"

This reverts commit ad68478.

* Revert "Update main.yaml"

This reverts commit 39950e5.

* Revert "Update main.yaml"

This reverts commit 28303a8.

* Revert "Update main.yaml"

This reverts commit 3af3367.

* Revert "Update main.yaml"

This reverts commit 6702af7.

* Try older main branch

* Installer c947c12

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Try release/9.0-preview1/ branch

* Build mono

* Update main.yaml

* Update main.yaml

* Clone only HEAD

* Build runtime only (check memory)

* runtime patch

* Update main.yaml

* Specify runtime subset

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Update main.yaml

* runtime 9.0.0-preview.6.24327.7

* Try v9.0.0 on self-hosted runner

* fix ASPNETCORE_VERSION

* Fix SDK_VERSION

* Update main.yaml

* Update main.yaml

* add PublicBaseURL to SDK build command

* Runtime version 9.0.0-rtm.24528.9

* build aspnetcore before sdk

* /p:IncludeAspNetCoreRuntime=false

* build aspnetcore and install node.js 18

* Update main.yaml

* Update main.yaml

* build SDK

* add --warnAsError false

* Update main.yaml

* Update main.yaml

* Update main.yaml

* Build GCC

* ubuntu 24.04

* Remove dpkg

* Install cross-build libs separately

* install git at the end

* restore runtime patch

* build matrix

* different artifacts names

---------
@dkurt dkurt deleted the try_upstream branch January 3, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upstream dotnet/runtime: Optimizing assemblies for size failed
1 participant