[MacRuby] #1185: LLVM error running 1.9 distribution on Sandy Bridge
#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/>
#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 ---------------------------------+------------------------------------------ Comment(by scottg@…): Rebuilt with LLVM 2.9 as Laurent suggested on the mailing list. * macirb now launches w/o error * 'sudo macgem install rack' produces bus error, however. Crash report is attached. -- Ticket URL: <http://www.macruby.org/trac/ticket/1185#comment:1> MacRuby <http://macruby.org/>
#1185: LLVM error running 1.9 distribution on Sandy Bridge ---------------------------------+------------------------------------------ Reporter: scottg@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: llvm select i7 sandybridge ---------------------------------+------------------------------------------ Changes (by lsansonetti@…): * milestone: MacRuby 1.0 => Comment: Scott, have you tried building trunk r5269? That specific revision contains support for LLVM 2.9. -- Ticket URL: <http://www.macruby.org/trac/ticket/1185#comment:2> MacRuby <http://macruby.org/>
#1185: LLVM error running 1.9 distribution on Sandy Bridge ---------------------------------+------------------------------------------ Reporter: scottg@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: llvm select i7 sandybridge ---------------------------------+------------------------------------------ Comment(by scottg@…): Yes, I did a git update to pull in your new DIBuilder changes and built with that. It builds fine, tests also run w/o issue. Just get the bus error as noted. -- Ticket URL: <http://www.macruby.org/trac/ticket/1185#comment:3> MacRuby <http://macruby.org/>
#1185: LLVM error running 1.9 distribution on Sandy Bridge ---------------------------------+------------------------------------------ Reporter: scottg@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: llvm select i7 sandybridge ---------------------------------+------------------------------------------ Comment(by lsansonetti@…): Thanks for the quick reply, I also reproduce the crash on my Mac Pro. It seems to be related to the AOT compiler. I will investigate. -- Ticket URL: <http://www.macruby.org/trac/ticket/1185#comment:4> MacRuby <http://macruby.org/>
#1185: LLVM error running 1.9 distribution on Sandy Bridge ---------------------------------+------------------------------------------ Reporter: scottg@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: llvm select i7 sandybridge ---------------------------------+------------------------------------------ Comment(by lsansonetti@…): I identified the problem as related to the dead code elimination pass and the way we compile recursive calls under AOT mode. It should be fixed in r5271, can you try again? -- Ticket URL: <http://www.macruby.org/trac/ticket/1185#comment:5> MacRuby <http://macruby.org/>
#1185: LLVM error running 1.9 distribution on Sandy Bridge ---------------------------------+------------------------------------------ Reporter: scottg@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: llvm select i7 sandybridge ---------------------------------+------------------------------------------ Comment(by scottg@…): Looks like it's working again. I was able to install all my standard gems and my code appears to be working again. If I run into any other issues, I'll email the list. Thanks for responding to this so quickly, Laurent!!! -- Ticket URL: <http://www.macruby.org/trac/ticket/1185#comment:6> MacRuby <http://macruby.org/>
#1185: LLVM error running 1.9 distribution on Sandy Bridge ----------------------------------------+----------------------------------- Reporter: scottg@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.10 Component: MacRuby | Resolution: fixed Keywords: llvm select i7 sandybridge | ----------------------------------------+----------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.10 Comment: Excellent, thanks for checking this out so quickly! I am closing this radar, and we will consider making a new release of MacRuby very soon. -- Ticket URL: <http://www.macruby.org/trac/ticket/1185#comment:7> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby