Bug 40046 - mono --optimize=precomp выдаёт ошибку
Summary: mono --optimize=precomp выдаёт ошибку
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: mono-core (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 12:21 MSK by Alexander Makeenkov
Modified: 2021-05-13 12:21 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2021-05-13 12:21:33 MSK
$ cat > test.cs <<EOF
using System;
namespace MyFirstConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
        }
    }
}
EOF
$ mcs test.cs
$ mono --optimize=precomp test.exe
cant resolve internal call to "System.Threading.ThreadPool::PostQueuedCompletionStatus(System.Threading.NativeOverlapped*)" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /usr/lib/mono/4.5/mscorlib.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
cant resolve internal call to "System.Threading.ThreadPool::PostQueuedCompletionStatus(System.Threading.NativeOverlapped*)" (tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /usr/lib/mono/4.5/mscorlib.dll

When you update one from git you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.
Hello World!

Система: ALT Workstation 9.1 x86_64, текущий сизиф
Версия пакета: mono-core-6.12.0.122-alt1