<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - [IAS] .set nobopt parsing"
   href="https://llvm.org/bugs/show_bug.cgi?id=31841">31841</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[IAS] .set nobopt parsing
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sbruno@freebsd.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Either the code in FreeBSD's sys/boot/mips/beri/boot2/relocate.S needs to be
adjusted or clang-IAS needs to understand what to do with ".set nobopt"

--- relocate.o ---
/home/sbruno/clang/build/bin/clang -Wno-typedef-redefinition -Wno-pointer-sign
-Wno-expansion-to-defined -Wno-address-of-packed-member -target
mips64-unknown-freebsd12.0
--sysroot=/var/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp -B/v
ar/tmp/sbruno/mips.mips64/home/sbruno/fbsd_head/tmp/usr/bin -ffreestanding     
                   -I/home/sbruno/fbsd_head/sys/boot/mips/beri/boot2           
           -I/home/sbruno/fbsd_head/sys/boot/mips/beri/boot2/../../../common
       -I/home/sbruno/fbsd_head/sys/boot/mips/beri/boot2/../../../..  
-D_KERNEL                       -Wall                           -G0            
                -fno-pic -mno-abicalls          -msoft-float                   
-g -I/h
ome/sbruno/fbsd_head/sys/boot/mips/beri/boot2/../../../../../lib/libstand/
-I/home/sbruno/fbsd_head/sys/boot/mips/beri/boot2/../common -G0 -EB
-msoft-float   -ffreestanding -MD  -MF.depend.relocate.o -MTrelocate.o
-std=gnu99    -Qunused-a
rguments   -EB  -c /home/sbruno/fbsd_head/sys/boot/mips/beri/boot2/relocate.S
-o relocate.o
/home/sbruno/fbsd_head/sys/boot/mips/beri/boot2/relocate.S:35:12: error:
unexpected token, expected comma
.set nobopt</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>