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

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

    <bug>
          <bug_id>35928</bug_id>
          
          <creation_ts>2019-01-18 14:16:47 +0300</creation_ts>
          <short_desc>incorrect &quot;asm volatile&quot; statements rejected by gcc8-8.2.1-alt3</short_desc>
          <delta_ts>2019-08-20 12:36:53 +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>libqt5-script</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="AEN">aen</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>mikaylalyle</cc>
    
    <cc>sin</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>177568</commentid>
    <comment_count>0</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-01-18 14:16:47 +0300</bug_when>
    <thetext>Прошу исправить.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177578</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2019-01-18 15:16:13 +0300</bug_when>
    <thetext>2 glebfm: А это точно не компилятор? Там просто пробел перед скобкой.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177580</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2019-01-18 15:16:43 +0300</bug_when>
    <thetext>http://git.altlinux.org/beehive/logs/Sisyphus-x86_64/latest/error/qt5-script-5.11.3-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177581</commentid>
    <comment_count>3</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-01-18 15:21:15 +0300</bug_when>
    <thetext>Появилось это после новой сборки rpm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177586</commentid>
    <comment_count>4</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2019-01-18 15:39:41 +0300</bug_when>
    <thetext>После нового компилятора. После rpm такое появиться не могло.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177587</commentid>
    <comment_count>5</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-01-18 15:45:24 +0300</bug_when>
    <thetext>(In reply to comment #4)
&gt; После нового компилятора. После rpm такое появиться не могло.

Если Вы в этом уверены, то вешайте конкретный баг на новый компилятор.
Но все же хорошо бы исправить сборку.
Спасибо.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177592</commentid>
    <comment_count>6</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-01-18 15:54:20 +0300</bug_when>
    <thetext>Так не пойдет.
Это Ваш пакет. Вешайте новый обоснованный баг.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177595</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-01-18 16:04:31 +0300</bug_when>
    <thetext>error$ grep -FB1 &apos;asm volatile&apos; *
qt5-script-5.11.3-alt1-../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:5: error: expected &apos;(&apos; before &apos;volatile&apos;
qt5-script-5.11.3-alt1: asm volatile (
--
qt5-script-5.11.3-alt1-../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:483:15: error: expected &apos;)&apos; before string constant
qt5-script-5.11.3-alt1: asm volatile (
--
qt5-script-5.11.3-alt1-../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:518:5: error: expected &apos;(&apos; before &apos;volatile&apos;
qt5-script-5.11.3-alt1: asm volatile (
--
qt5-script-5.11.3-alt1-../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:518:15: error: expected &apos;)&apos; before string constant
qt5-script-5.11.3-alt1: asm volatile (
--
qt5-script-5.11.3-alt1-../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:534:5: error: expected &apos;(&apos; before &apos;volatile&apos;
qt5-script-5.11.3-alt1: asm volatile (
--
qt5-script-5.11.3-alt1-../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:534:15: error: expected &apos;)&apos; before string constant
qt5-script-5.11.3-alt1: asm volatile (
--
virtualbox-5.2.22-alt4-/usr/src/RPM/BUILD/VirtualBox-5.2.22_OSE/src/VBox/Runtime/r3/linux/semevent-linux.cpp:40:5: error: expected &apos;(&apos; before &apos;volatile&apos;
virtualbox-5.2.22-alt4: asm volatile (&quot;.global epoll_pwait&quot;);
--
virtualbox-5.2.22-alt4-/usr/src/RPM/BUILD/VirtualBox-5.2.22_OSE/src/VBox/Runtime/r3/linux/semevent-linux.cpp:40:15: error: expected unqualified-id before string constant
virtualbox-5.2.22-alt4: asm volatile (&quot;.global epoll_pwait&quot;);
--
virtualbox-5.2.22-alt4-/usr/src/RPM/BUILD/VirtualBox-5.2.22_OSE/src/VBox/Runtime/r3/linux/semevent-linux.cpp:40:15: error: expected &apos;)&apos; before string constant
virtualbox-5.2.22-alt4: asm volatile (&quot;.global epoll_pwait&quot;);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177597</commentid>
    <comment_count>8</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-01-18 16:12:38 +0300</bug_when>
    <thetext>Но нужен test case поменьше, чем эти два пакета.
К сожалению, у меня нет времени этим полноценно заниматься до конца месяца.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177752</commentid>
    <comment_count>9</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2019-01-24 05:19:45 +0300</bug_when>
    <thetext>Я посмотрел код, который не компилируется,
там используется asm volatile вне контекста функции.

Поскольку asm volatile вне контекста функции означает просто asm,
gcc раньше молча игнорировал volatile, а теперь это синтаксическая ошибка.

Я думаю, вам лучше просто заменить asm volatile на asm в тех местах,
где gcc считает этот volatile ошибкой.

В случае с qt5-script заменить следует все упоминания asm volatile в файле src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177802</commentid>
    <comment_count>10</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-01-24 15:26:19 +0300</bug_when>
    <thetext>qt5-script-5.11.3-alt2 -&gt; sisyphus:

Thu Jan 24 2019 Sergey V Turchin &lt;zerg@altlinux&gt; 5.11.3-alt2
- add workaround against rejecting &apos;asm volatile&apos; statements by gcc-8 (ALT#35928)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177803</commentid>
    <comment_count>11</comment_count>
    <who name="AEN">aen</who>
    <bug_when>2019-01-24 15:34:58 +0300</bug_when>
    <thetext>Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>