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

           Summary: ruby 1.9.1 does not compile anymore due to unimplemented
                    __asm__
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=2781)
 --> (http://llvm.org/bugs/attachment.cgi?id=2781)
vm_exec.c

At around r68030, ruby was compiling mostly fine (see other ticket on tests
failing), now it does not anymore (I'm now using r68372 on OSX).

-----
ruby -Ks ../tool/insns2vm.rb --srcdir=".." vmtc.inc
ruby -Ks ../tool/insns2vm.rb --srcdir=".." vm.inc
clang -O -pipe -m64 -g -Wall -Wno-unused-parameter -Wno-parentheses
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wpointer-arith
-Wwrite-strings -I. -I.ext/include/i386-darwin9.6.0 -I../include -I..
-DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -o vm.o -c ../vm.c
clang: warning: argument unused during compilation: '-Wno-parentheses'
...
<lots of "uninteresting" warnings skipped>
In file included from ../vm.c:23:
../vm_exec.c:58:5: error: cannot compile this __asm__ yet
    DECL_SC_REG(VALUE *, pc, "14");
    ^
<scratch space>:183:1: note: instantiated from:
reg_pc
^
../vm_exec.c:59:5: error: cannot compile this __asm__ yet
    DECL_SC_REG(rb_control_frame_t *, cfp, "15");
    ^
<scratch space>:184:1: note: instantiated from:
reg_cfp
^
-----


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to