[MacRuby] #1185: LLVM error running 1.9 distribution on Sandy Bridge

MacRuby ruby-noreply at macosforge.org
Wed Mar 9 10:40:34 PST 2011


#1185: LLVM error running 1.9 distribution on Sandy Bridge
---------------------------------+------------------------------------------
 Reporter:  scottg@…             |       Owner:  lsansonetti@…             
     Type:  defect               |      Status:  new                       
 Priority:  blocker              |   Milestone:  MacRuby 1.0               
Component:  MacRuby              |    Keywords:  llvm select i7 sandybridge
---------------------------------+------------------------------------------
 I'm seeing the following errors on a MacBook Pro 15" Core i7 after
 downloading the 1.9 binary. Just to be clear: I haven't compiled from
 source, just trying to use the latest binary distribution on a core i7
 laptop.

 $ sudo macgem install rack
 LLVM ERROR: Cannot yet select: 0x10509ba10: f64 = bit_convert 0x10508ef10
 [ORD=2615] [ID=7]
   0x10508ef10: i64 = and 0x105062a10, 0x10509b010 [ORD=2614] [ID=6]
     0x105062a10: i64,ch = CopyFromReg 0x1039108a8, 0x105099510 [ORD=2614]
 [ID=5]
       0x1039108a8: ch = EntryToken [ORD=2614] [ID=0]
       0x105099510: i64 = Register %reg16384 [ORD=2614] [ID=1]
     0x10509b010: i64 = Constant<-4> [ORD=2614] [ID=2]

 $ macirb
 LLVM ERROR: Cannot yet select: 0x104852410: f64 = bit_convert 0x104858c10
 [ORD=186] [ID=7]
   0x104858c10: i64 = and 0x104853c10, 0x104851910 [ORD=185] [ID=6]
     0x104853c10: i64,ch = CopyFromReg 0x103b0d028, 0x104856010 [ORD=185]
 [ID=5]
       0x103b0d028: ch = EntryToken [ORD=185] [ID=0]
       0x104856010: i64 = Register %reg16384 [ORD=185] [ID=1]
     0x104851910: i64 = Constant<-4> [ORD=185] [ID=2]

 $ macrake
 LLVM ERROR: Cannot yet select: 0x10506d810: f64 = bit_convert 0x105047310
 [ORD=800] [ID=7]
   0x105047310: i64 = and 0x105067d10, 0x105063010 [ORD=799] [ID=6]
     0x105067d10: i64,ch = CopyFromReg 0x103b0cf68, 0x105043110 [ORD=799]
 [ID=5]
       0x103b0cf68: ch = EntryToken [ORD=799] [ID=0]
       0x105043110: i64 = Register %reg16384 [ORD=799] [ID=1]
     0x105063010: i64 = Constant<-4> [ORD=799] [ID=2]


 Interestingly, the macruby interpreter runs without error.

 "macgem --help" and "macgem --version" also run fine (but these options
 produce errors with macirb or macrake).

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1185>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list