gtcasl / gpuocelot

GPUOCelot: A dynamic compilation framework for PTX
http://gpuocelot.gatech.edu/
BSD 3-Clause "New" or "Revised" License
280 stars 69 forks source link

failure to build against current hydralize #39

Closed jwang323 closed 9 years ago

jwang323 commented 9 years ago

From dankamongmen on April 13, 2010 05:44:06

What steps will reproduce the problem? 1. check out a fresh hydrazine using:

svn checkout http://hydrazine.googlecode.com/svn/trunk/ hydrazine-read-only

as instructed in the Installation Guide

  1. check out a fresh copy of gpuocelot
  2. build and install hydrazine. only lbhydrazine.a is installed using the standard "make install" target
  3. attempt to build gpuocelot. the build fails looking for hydrazine/implementation/debug.h:

make all-am make[1]: Entering directory /home/dank/local/gpuocelot-read-only/ocelot' /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I ./ocelot/cuda/include -Wall -ansi -Werror -std=c++0x -g -O2 -MT libocelot_la-DataflowGraph.lo -MD -MP -MF .deps/libocelot_la-DataflowGraph.Tpo -c -o libocelot_la-DataflowGraph.lo test -f 'ocelot/analysis/implementation/DataflowGraph.cpp' || echo './'`ocelot/analysis/implementation/DataflowGraph.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I ./ocelot/cuda/include -Wall -ansi -Werror -std=c++0x -g -O2 -MT libocelot_la-DataflowGraph.lo -MD -MP -MF .deps/libocelot_la-DataflowGraph.Tpo -c ocelot/analysis/implementation/DataflowGraph.cpp -fPIC -DPIC -o .libs/libocelot_la-DataflowGraph.o In file included from ocelot/analysis/implementation/DataflowGraph.cpp:10: ./ocelot/analysis/interface/DataflowGraph.h:15:44: error: hydrazine/implementation/debug.h: No such file or directory ocelot/analysis/implementation/DataflowGraph.cpp: In constructor ‘analysis::DataflowGraph::NoProducerException::NoProducerException(unsigned int)’: ocelot/analysis/implementation/DataflowGraph.cpp:56: error: aggregate ‘std::stringstream message’ has incomplete type and cannot be defined ocelot/analysis/implementation/DataflowGraph.cpp: In member function ‘analysis::DataflowGraph::Instruction analysis::DataflowGraph::convert(ir::PTXInstruction&)’: What is the expected output? What do you see instead? A successful build. What version of the product are you using? On what operating system? SVN as of 2010-04-13 on Debian Linux Unstable, using the llvm-snapshot LLVM packages. Please provide any additional information below. Hit me on aim or gtalk (nickblackandmild, dankamongmen@gmail.com), if you'd like, and we ought be able to track in on it pretty quickly. Thanks.

Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=40

jwang323 commented 9 years ago

From dankamongmen on April 13, 2010 02:44:39

That should be "hydrazine" in the Subject -- sorry!

jwang323 commented 9 years ago

From dankamongmen on April 13, 2010 02:45:26

Let me add that the configure script apparently doesn't check for hydrazine, meaning it also likely can't have its include or link paths set. Someone set us up the autoconf macro!

jwang323 commented 9 years ago

From worleyl...@gmail.com on April 13, 2010 10:37:23

The include path variable needs to be tweaked to point to hydrazine's include files. Or you can copy hydrazine into the Ocelot directory, which is what I did. I had the same problem and added a note about this at the very bottom of the install page. https://code.google.com/p/gpuocelot/wiki/Installation

jwang323 commented 9 years ago

From dankamongmen on April 13, 2010 10:56:34

if that's the recommended procedure, why not just induct hydrazine as an external? http://svnbook.red-bean.com/en/1.0/ch07s03.html

jwang323 commented 9 years ago

From gregory....@gatech.edu on April 30, 2010 18:20:22

Thanks for the tip. Hydrazine is now included as an external repository in the new branch.

Status: Invalid