[llvm-bugs] [Bug 31841] New: [IAS] .set nobopt parsing

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 1 08:34:40 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31841

            Bug ID: 31841
           Summary: [IAS] .set nobopt parsing
           Product: clang
           Version: trunk
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sbruno at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170201/9ce5428f/attachment.html>


More information about the llvm-bugs mailing list