yep, fresh git on the source at least yesterday maybe today as well. been
trying a lot lately and not sure what happened when..



On 07/08/2016 10:38 AM, Dmitry Babokin wrote:
> Everything looks perfectly correct. And your ispc sources are based on fresh 
> https://github.com/ispc/ispc.git, right?
> 
> On Fri, Jul 8, 2016 at 8:16 PM, Steve Heistand <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     cd /usr/local/src/ispc
>     export ISPC_HOME=`pwd`
>     export LLVM_HOME=`pwd`
>     ./alloy.py -b --version=3.8
>     export PATH=$LLVM_HOME/bin-3.8/bin:$PATH
>     which clang
>     /usr/local/src/ispc/bin-3.8/bin/clang
>     ./check_env.py
>     === in PATH: ===
>     Tools:
>     m4 (GNU M4) 1.4.17
>     bison (GNU Bison) 3.0.4
>     flex 2.6.0
>     Tools' versions are ok
> 
>     SDE:
>     Warning: you don't have sde
> 
>     ISPC:
>     Warning: you don't have ispc
> 
>     C/C++ compilers:
>     clang version 3.8.0 (tags/RELEASE_380/final 274880)
>     gcc (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
>     Warning: you don't have icc
> 
>     === in ISPC specific environment variables: ===
>     Your LLVM_HOME:/usr/local/src/ispc
>     Your ISPC_HOME:/usr/local/src/ispc
>     Warning: you don't have ISPC in your ISPC_HOME
>     Warning: You have no SDE_HOME
> 
> 
>     On 07/08/2016 10:00 AM, Dmitry Babokin wrote:
>     > That's weird. Can you run check_env.py and copy its output here?
>     >
>     > I was going to build a docker image with ispc build environment 
> (including clang), this may probably help debugging your issue. I think I'll
>     > build it over the weekend.
>     >
>     > On Fri, Jul 8, 2016 at 7:52 PM, Steve Heistand <[email protected] 
> <mailto:[email protected]> <mailto:[email protected] 
> <mailto:[email protected]>>> wrote:
>     >
>     >     I do get the clang (and llvm) that is built with the alloy.py 
> script.
>     >     even trying older versions of llvm/clang/ispc result in the end 
> with the same error.
>     >     At the moment I using a build script that has worked for other, its 
> using a really
>     >     old 3.6.2 version of llvm and the latest ispc. will see how that 
> goes.
>     >
>     >     s
>     >
>     >
>     >     On 07/08/2016 09:49 AM, Dmitry Babokin wrote:
>     >     > Hi,
>     >     >
>     >     > Alloy.py build should work, but not sure about other options. 
> Just to make sure - have you checked that you correctly added clang built by
>     >     > alloy.py to your path? I.e, "which clang" points to newly built 
> clang.
>     >     >
>     >     > Dmitry.
>     >     >
>     >     > On Fri, Jul 8, 2016 at 7:29 AM, Steve Heistand 
> <[email protected] <mailto:[email protected]> 
> <mailto:[email protected] <mailto:[email protected]>>
>     <mailto:[email protected] <mailto:[email protected]> 
> <mailto:[email protected] <mailto:[email protected]>>>> wrote:
>     >     >
>     >     >     Hi folks,
>     >     >     Im running into some issues trying to compile ispc on a linux 
> machine.
>     >     >     the ispc build process goes nicely up until:
>     >     >     ...
>     >     >     Compiling objs/lex.cpp
>     >     >     Creating ispc executable
>     >     >     objs/module.o: In function `Module::execPreprocessor(char 
> const*, llvm::raw_string_ostream*) const':
>     >     >     module.cpp:(.text+0xc36): undefined reference to 
> `llvm::sys::getDefaultTargetTriple()'
>     >     >     objs/ctx.o: In function 
> `FunctionEmitContext::BroadcastValue(llvm::Value*, llvm::Type*, char const*)':
>     >     >     ctx.cpp:(.text+0x71b6): undefined reference to 
> `llvm::Twine::str() const'
>     >     >     objs/ispc.o: In function `Target::GetTripleString() const':
>     >     >     ispc.cpp:(.text+0x2211): undefined reference to 
> `llvm::sys::getDefaultTargetTriple()'
>     >     >     objs/opt.o: In function 
> `IntrinsicsOpt::runOnBasicBlock(llvm::BasicBlock&)':
>     >     >     opt.cpp:(.text+0x1a6a): undefined reference to 
> `llvm::Intrinsic::getName(llvm::Intrinsic::ID, llvm::ArrayRef<llvm::Type*>)'
>     >     >     opt.cpp:(.text+0x1af6): undefined reference to 
> `llvm::Intrinsic::getName(llvm::Intrinsic::ID, llvm::ArrayRef<llvm::Type*>)'
>     >     >     opt.cpp:(.text+0x1bd2): undefined reference to 
> `llvm::Intrinsic::getName(llvm::Intrinsic::ID, llvm::ArrayRef<llvm::Type*>)'
>     >     >     opt.cpp:(.text+0x1c5e): undefined reference to 
> `llvm::Intrinsic::getName(llvm::Intrinsic::ID, llvm::ArrayRef<llvm::Type*>)'
>     >     >     opt.cpp:(.text+0x1d22): undefined reference to 
> `llvm::Intrinsic::getName(llvm::Intrinsic::ID, llvm::ArrayRef<llvm::Type*>)'
>     >     >     objs/opt.o:opt.cpp:(.text+0x1dd7): more undefined references 
> to `llvm::Intrinsic::getName(llvm::Intrinsic::ID,
>     >     >     llvm::ArrayRef<llvm::Type*>)' follow
>     >     >     clang-3.8: error: linker command failed with exit code 1 (use 
> -v to see invocation)
>     >     >     Makefile:264: recipe for target 'ispc' failed
>     >     >
>     >     >     Ive tried this using the llvm/clang build with the alloy.py 
> script, Ive tried with the binary versions apt-get installs. Ive build
>     >     >     llvm/clang from the tarballs
>     >     >     all give the same result. All are 3.8 versions if it matters. 
>  and version 5 of gcc which might matter more then anything. I have Intel
>     >     >     compilers on the machine
>     >     >     but they fail in the build process way earlier.
>     >     >
>     >     >     thoughts/suggestions?
>     >     >
>     >     >     thanks
>     >     >
>     >     >     steve
>     >     >
>     >     >
>     >     >     --
>     >     >     You received this message because you are subscribed to the 
> Google Groups "Intel SPMD Program Compiler Users" group.
>     >     >     To unsubscribe from this group and stop receiving emails from 
> it, send an email to [email protected] 
> <mailto:ispc-users%[email protected]>
>     <mailto:ispc-users%[email protected] 
> <mailto:ispc-users%[email protected]>>
>     >     >     <mailto:[email protected] 
> <mailto:ispc-users%[email protected]>
>     <mailto:ispc-users%[email protected] 
> <mailto:ispc-users%[email protected]>>>.
>     >     >     For more options, visit https://groups.google.com/d/optout.
>     >     >
>     >     >
>     >     > --
>     >     > You received this message because you are subscribed to the 
> Google Groups "Intel SPMD Program Compiler Users" group.
>     >     > To unsubscribe from this group and stop receiving emails from it, 
> send an email to [email protected] 
> <mailto:ispc-users%[email protected]>
>     <mailto:ispc-users%[email protected] 
> <mailto:ispc-users%[email protected]>>
>     >     > <mailto:[email protected] 
> <mailto:ispc-users%[email protected]>
>     <mailto:ispc-users%[email protected] 
> <mailto:ispc-users%[email protected]>>>.
>     >     > For more options, visit https://groups.google.com/d/optout.
>     >
>     >     --
>     >     "Why is it so hot inside this handbasket?"
>     >     --
>     >     Steve Heistand         [email protected] 
> <mailto:[email protected]> <mailto:[email protected] 
> <mailto:[email protected]>>
>     >     --
>     >
>     >     --
>     >     You received this message because you are subscribed to the Google 
> Groups "Intel SPMD Program Compiler Users" group.
>     >     To unsubscribe from this group and stop receiving emails from it, 
> send an email to [email protected] 
> <mailto:ispc-users%[email protected]>
>     >     <mailto:ispc-users%[email protected] 
> <mailto:ispc-users%[email protected]>>.
>     >     For more options, visit https://groups.google.com/d/optout.
>     >
>     >
>     > --
>     > You received this message because you are subscribed to the Google 
> Groups "Intel SPMD Program Compiler Users" group.
>     > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] 
> <mailto:ispc-users%[email protected]>
>     > <mailto:[email protected] 
> <mailto:ispc-users%[email protected]>>.
>     > For more options, visit https://groups.google.com/d/optout.
> 
>     --
>     "Why is it so hot inside this handbasket?"
>     --
>     Steve Heistand         [email protected] 
> <mailto:[email protected]>
>     --
> 
>     --
>     You received this message because you are subscribed to the Google Groups 
> "Intel SPMD Program Compiler Users" group.
>     To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected]
>     <mailto:ispc-users%[email protected]>.
>     For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Intel SPMD Program Compiler Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
"Why is it so hot inside this handbasket?"
--
Steve Heistand         [email protected]
--

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to