[LLVMbugs] [Bug 7557] New: Integrated assembler bug while building mozilla/js/src/jsnum.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 2 11:01:02 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7557

           Summary: Integrated assembler bug while building
                    mozilla/js/src/jsnum.cpp
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: Nomis101 at web.de
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
            Blocks: 5511


If I build Mozilla Firefox with clang on Mac OS X, than it stops at:

/Volumes/Developer/temp/src/mozilla/js/src/jsobj.cpp:6207:1: warning: unused
      function 'ReservedSlotIndexOK' [-Wunused-function]
ReservedSlotIndexOK(JSContext *cx, JSObject *obj, JSClass *clasp,
^
/Volumes/Developer/temp/src/mozilla/js/src/jsnum.cpp:675:9: error: unrecognized
      instruction
    asm("fstcw %0" : "=m" (control) : );
        ^
<inline asm>:1:2: note: instantated into assembly here
        fstcw -14(%ebp)
        ^
/Volumes/Developer/temp/src/mozilla/js/src/jsnum.cpp:675:9: error: unrecognized
      instruction
    asm("fstcw %0" : "=m" (control) : );
        ^
<inline asm>:1:2: note: instantated into assembly here
        fstcw -14(%ebp)
        ^
5 warnings and 2 errors generated.
make[5]: *** [jsnum.o] Error 1
make[5]: *** Waiting for unfinished jobs....


Eli told me this is a integrated assembler bug, which doesn't show up on Linux.
Affected file:
http://hg.mozilla.org/mozilla-central/file/d261faaa483a/js/src/jsnum.cpp

clang version 2.8 (trunk 107428), Target: x86_64-apple-darwin10, Mac OS X
10.6.4

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list