Sam does not compile with ooc v0.9.8 x64 linux
xsleonard opened this issue · comments
Rock info:
$ rock -V rock 0.9.8 codename columbia, built on Tue Jan 7 18:31:59 2014 $ file bin/rock ./bin/rock: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xe210f9a883dd9af76d912a4fef24900c453c950f, not stripped
Installation steps:
git clone https://github.com/nddrylliog/rock.git cd rock git checkout tags/v0.9.8 make rescue sudo make install cd extensions make sudo cp ../bin/fancy_backtrace.so /usr/bin mkdir ~/.ooc export $OOC_LIBS=$HOME/.ooc git clone https://github.com/nddrylliog/sam.git $OOC_LIBS/sam cd $OOC_LIBS/sam rock -v
Output:
Parsing... Resolving... (SIGSEGV) segmentation fault [fancy backtrace] 0 BacktraceHandler backtrace_impl() in lang/Backtrace (at /home/steve/src/rock/sdk/lang/Backtrace.ooc:50) 1 Exception getCurrentBacktrace() in lang/Exception (at /home/steve/src/rock/sdk/lang/Exception.ooc:209) 2 _signalHandler() in lang/Exception (at /home/steve/src/rock/sdk/lang/Exception.ooc:269) 3 killpg() in (at (null):0) 4 Type isNumericType() in rock/middle/Type (at /home/steve/src/rock/source/rock/middle/Type.ooc:125) 5 ArrayAccess isValidIndex_impl() in rock/middle/ArrayAccess (at /home/steve/src/rock/source/rock/middle/ArrayAccess.ooc:125) 6 ArrayAccess handleArrayCreation_impl() in rock/middle/ArrayAccess (at /home/steve/src/rock/source/rock/middle/ArrayAccess.ooc:143) 7 ArrayAccess resolve_impl() in rock/middle/ArrayAccess (at /home/steve/src/rock/source/rock/middle/ArrayAccess.ooc:76) 8 VariableDecl resolve_impl() in rock/middle/VariableDecl (at /home/steve/src/rock/source/rock/middle/VariableDecl.ooc:162) 9 Scope resolve_impl() in rock/middle/Scope (at /home/steve/src/rock/source/rock/middle/Scope.ooc:107) 10 FunctionDecl resolve_impl() in rock/middle/FunctionDecl (at /home/steve/src/rock/source/rock/middle/FunctionDecl.ooc:635) 11 TypeDecl resolve_impl() in rock/middle/TypeDecl (at /home/steve/src/rock/source/rock/middle/TypeDecl.ooc:544) 12 ClassDecl resolve_impl() in rock/middle/ClassDecl (at /home/steve/src/rock/source/rock/middle/ClassDecl.ooc:106) 13 TypeDecl resolve_impl() in rock/middle/TypeDecl (at /home/steve/src/rock/source/rock/middle/TypeDecl.ooc:562) 14 ClassDecl resolve_impl() in rock/middle/ClassDecl (at /home/steve/src/rock/source/rock/middle/ClassDecl.ooc:106) 15 Module resolve_impl() in rock/middle/Module (at /home/steve/src/rock/source/rock/middle/Module.ooc:483) 16 Resolver process_impl() in rock/middle/tinker/Resolver (at /home/steve/src/rock/source/rock/middle/tinker/Resolver.ooc:59) 17 Tinkerer process_impl() in rock/middle/tinker/Tinkerer (at /home/steve/src/rock/source/rock/middle/tinker/Tinkerer.ooc:90) 18 __rock_frontend_CommandLine_closure4311() in rock/frontend/CommandLine (at /home/steve/src/rock/source/rock/frontend/CommandLine.ooc:609) 19 Time measure() in os/Time (at /home/steve/src/rock/sdk/os/Time.ooc:146) 20 CommandLine postParsing_impl() in rock/frontend/CommandLine (at /home/steve/src/rock/source/rock/frontend/CommandLine.ooc:608) 21 CommandLine parse_impl() in rock/frontend/CommandLine (at /home/steve/src/rock/source/rock/frontend/CommandLine.ooc:583) 22 CommandLine init() in rock/frontend/CommandLine (at /home/steve/src/rock/source/rock/frontend/CommandLine.ooc:516) 23 CommandLine new() in rock/frontend/CommandLine (at /home/steve/src/rock/source/rock/frontend/CommandLine.ooc:28) 24 main() in (at /home/steve/src/rock/source/rock/rock.ooc:2) 25 libc_start_main() in (at /build/buildd/eglibc-2.17/csu/libc-start.c:294) 26 _start() in (at (null):0)
Duplicate of #11 - sam needs rock 0.9.9, sorry about that.