<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>40046</bug_id>
          
          <creation_ts>2021-05-13 12:21:33 +0300</creation_ts>
          <short_desc>mono --optimize=precomp выдаёт ошибку</short_desc>
          <delta_ts>2024-11-22 18:30:46 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>mono-core</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="serjigva@altlinux.org">serjigva</assigned_to>
          <cc>cas</cc>
    
    <cc>serjigva</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>198434</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2021-05-13 12:21:33 +0300</bug_when>
    <thetext>$ cat &gt; test.cs &lt;&lt;EOF
using System;
namespace MyFirstConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(&quot;Hello World!&quot;);
        }
    }
}
EOF
$ mcs test.cs
$ mono --optimize=precomp test.exe
cant resolve internal call to &quot;System.Threading.ThreadPool::PostQueuedCompletionStatus(System.Threading.NativeOverlapped*)&quot; (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&apos;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 &quot;System.Threading.ThreadPool::PostQueuedCompletionStatus(System.Threading.NativeOverlapped*)&quot; (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&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254907</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2024-11-22 18:30:46 +0300</bug_when>
    <thetext>Проверил на Fedora - там то же самое. Считаю, что это неправильный тест. Кроме того, это warning и он восроизводится на precomp (но не на unsafe, например). Не считаю это ошибкой.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>