I have the same configuration (Ubuntu 14.04 and LLVM 3.5), and I am not
seeing those errors. Maybe try downloading the binary release (
https://github.com/zdevito/terra/releases/tag/release-2015-03-12) for Linux
and seeing if that passes the tests on your computer to see if it is a
build issue.

-- Zach

On Sun, Apr 26, 2015 at 11:13 AM, Paul David <[email protected]> wrote:

> I successfully got LLVM + clang 3.5 to build Terra, however, when I run
> the test suite I get 317 test failures and 156 test passes.
> Most of it seems to come from segmentation faults due to errors like this
> one:
>
> llvm/lib/IR/Value.cpp:685: void llvm::ValueHandleBase::AddToUseList():
> Assertion `I->second && I->first == I->second->VP.getPointer() && "List
> invariant broken!"' failed.
>
> I may be messing up somehow in the build process.
>
> =================
> = FAILING tests
> =================
> testvector.t
> avxhadd.t
> let1.t
> sgemmkernel.t
> methodsugar.t
> interface2.t
> forlist.t
> malloc.t
> anon3.t
> structsyntax.t
> symbolvar6.t
> teststd.t
> interface.t
> overloadcall.t
> class3.t
> zeroreturn2.t
> antiquote5.t
> eager.t
> emptycalls.t
> luabridge.t
> symparam2.t
> class.t
> array.t
> antiquote3.t
> symbolvar3.t
> gctest.t
> unsafesym.t
> dgemm3.t
> multimacro.t
> strerror.t
> defergoto.t
> lazylog.t
> globals.t
> pointerlike.t
> setname.t
> quote3.t
> terracast.t
> incomplete5.t
> fib.t
> aggregatearr.t
> nestextract.t
> nonprototypec.t
> stattest.t
> coverage3.t
> includetwice.t
> lvaluetreelist.t
> luabridgeunion.t
> sintable.t
> typeexp.t
> fnptr.t
> vars2.t
> examplecompiler1.t
> overloadproduct.t
> selectoverload.t
> structrvalue.t
> bounce.t
> ifelse.t
> compilecallback.t
> arrayt.t
> special.t
> sgemm-old.t
> sgemm3.t
> incomplete2.t
> goto2.t
> dgemmpaper.t
> varargcstring.t
> incompletetypetest3.t
> terranew.t
> paren.t
> overload3.t
> testlog.t
> torturechain.t
> macro3.t
> simplerec.t
> printfarray.t
> shallowfreeze.t
> rvaluerecv.t
> painfulrecstruct.t
> fact.t
> luaterramethod.t
> class2.t
> stencil.t
> class6.t
> lvaluequote.t
> shift.t
> decltwice.t
> speed.t
> localenv.t
> vars.t
> unm.t
> luabridge2.t
> bug3.t
> customline.t
> ssimple.t
> luabridgefn.t
> quoteenv.t
> lazycstring.t
> goto.t
> fails/f30.t
> fails/defergoto.t
> fails/overload3.t
> fails/defergoto2.t
> fails/fnindex.t
> fails/overload.t
> fails/f33.t
> fails/symboltest.t
> fails/f15.t
> fails/fnpointer.t
> quote.t
> arith.t
> fastcall.t
> symbolmangling.t
> fib2.t
> output.t
> antiquote2.t
> for.t
> macrokey.t
> nojit.t
> explicitcast.t
> cunion.t
> symparam3.t
> symbolvar2.t
> incomplete.t
> atoi.t
> incomplete3.t
> macro2.t
> conflict.t
> nestedcalls.t
> nontemporal.t
> fncalltest.t
> overloadmethod.t
> arraylit.t
> overloadrecv.t
> forsym.t
> veclit.t
> huge.t
> localenv2.t
> macrolet.t
> clean.t
> symbolvar.t
> fakeasm.t
> incompletetypetest.t
> sharedlib.t
> cbool.t
> receivercasts.t
> zeroargs.t
> constant2.t
> quoteblock.t
> blocking2-fixed.t
> proxystruct.t
> antiquote1.t
> includec.t
> addlanguage1.t
> sgemm.t
> printfloat.t
> cstruct.t
> fnptrc.t
> call.t
> usercast.t
> gcbug.t
> unpacktuple.t
> cnamespaces.t
> class5.t
> luabridgerec.t
> hello2.t
> antiquote4.t
> symparam.t
> quote2.t
> canon.t
> pt.t
> gvarfault.t
> symbolvar4.t
> structconstructor.t
> simple.t
> overloadmethod2.t
> indexingbug.t
> structarg.t
> quote7.t
> pthreads.t
> recfn.t
> quote6.t
> forlist2.t
> or.t
> methodmissing.t
> simpleglobal.t
> hello.t
> lvaluepointer.t
> blankexp.t
> cnames.t
> simplevec.t
> exportdynamic.t
> terraluamethod.t
> mathlib.t
> overloadmethod3.t
> benchmark_fannkuchredux.t
> bug2.t
> quote9.t
> evenodd.t
> dynlib.t
> overload.t
> nestnoerror.t
> splitprimary.t
> intrinsic.t
> benchmark_nbody.t
> forp.t
> symbolvar7.t
> methodantiquote.t
> hexf.t
> expvec.t
> numliteral.t
> gettype.t
> pointerarith.t
> blocking2.t
> logical.t
> coverage2.t
> simplestruct.t
> vec.t
> simpleapply.t
> blocking.t
> methodrvalue.t
> toterraexpression.t
> rename.t
> forwardtodef.t
> niltype.t
> renaming.t
> clanginfo.t
> recoverfromerror.t
> defer.t
> string.t
> for2.t
> callbackcache.t
> macro.t
> vecptr.t
> setter.t
> ainline.t
> struct.t
> hasbeenfrozen.t
> scope.t
> vtablerec.t
> quote4.t
> leaktest.t
> offsetcalc.t
> anonstruct.t
> completec.t
> point.t
> f2.t
> recstruct2.t
> constant.t
> blockescape.t
> macrotest.t
> staticmethod.t
> anon.t
> zeroreturn.t
> pretty.t
> cnamespace.t
> signext.t
> blocking3.t
> let2.t
> cunion2.t
> method.t
> emptystruct.t
> gemm.t
> parsefail.t
> diffuse.t
> defercond.t
> terralua.t
> calc.t
> class4.t
> metatype.t
> quote5.t
> defaultoperator.t
> quote8.t
> testdebug.t
> recstruct.t
> pow.t
> deferbreak.t
> incomplete4.t
> cast.t
> getmethod.t
> indexing64.t
> incompletetypetest2.t
> alignment.t
> bf.t
> union.t
> ordercomplete.t
> quote10.t
> bug4.t
> symbolvar5.t
> abouttocompile.t
> parsefail2.t
> cstruct2.t
> ppnil.t
> exittest.t
> missingfields.t
> constructor.t
> dgemm2.t
> enumc.t
> ppltalk.t
> vecarith.t
> forbreak.t
> macroselect.t
> pattern.t
> simpleadd.t
> cconv.t
> falsespec.t
> objtest.t
> structcast.t
> multiterra.t
> anonstruct2.t
> dgemm.t
> and.t
> overload2.t
> fnpointer.t
> quoteselect.t
> multiconstructor.t
> isvolatile.t
> new.t
> =================
>
> _______________________________________________
> terralang mailing list
> [email protected]
> https://mailman.stanford.edu/mailman/listinfo/terralang
>
_______________________________________________
terralang mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/terralang

Reply via email to