<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - "Illegal instruction" after successful building of ungoogled-chromium"
   href="https://bugs.llvm.org/show_bug.cgi?id=39720">39720</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"Illegal instruction" after successful building of ungoogled-chromium
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: X86
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>studio@anchev.net
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>craig.topper@gmail.com, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, spatel+llvm@rotateright.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21133" name="attach_21133" title="cat /proc/cpuinfo">attachment 21133</a> <a href="attachment.cgi?id=21133&action=edit" title="cat /proc/cpuinfo">[details]</a></span>
cat /proc/cpuinfo

STR:

1. Build LLVM from SVN source code using the following script:

<a href="https://susepaste.org/c1b26468">https://susepaste.org/c1b26468</a>

2. Build ungoogled-chromium using this script:

<a href="https://susepaste.org/01f12c78">https://susepaste.org/01f12c78</a>

3. Execute the final binary /opt/ungoogled-chromium/chrome

EXPECTED:

The program should start normally.

ACTUAL:

An error message about "Illegal instruction" is displayed and the program
doesn't start.

[~]: /opt/ungoogled-chromium/chrome
Illegal instruction (core dumped)
[~]: [8940:8940:1120/151713.340872:ERROR:sandbox_linux.cc(379)]
InitializeSandbox() called with multiple threads in process gpu-process.

Using an older LLVM build (trunk 346299) which was also generated through step
1 does not give "Illegal instruction" and chrome works fine.



Additional note:

The second error about sandbox is unrelated to this bug and is displayed even
chrome is built with the good version of LLVM (trunk 346299). The first trunk
in which I noticed this problem was 346584. Reported also to
ungoogled-chromium:

<a href="https://github.com/Eloston/ungoogled-chromium/issues/586">https://github.com/Eloston/ungoogled-chromium/issues/586</a>

Attaching /proc/cpuinfo.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>