gtcasl / gpuocelot

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

fails to build on 32bit linux #74

Open jwang323 opened 9 years ago

jwang323 commented 9 years ago

From markota...@gmail.com on August 19, 2012 17:17:44

What steps will reproduce the problem? ./build --install or also ./build.py -j2 -i -w -p./build What is the expected output? What do you see instead? err log from build: g++ -o .release_build/ocelot/ocelot/ir/implementation/PTXInstruction.os -c -O2 -Wall -std=c++0x -D_DEBUG -D_GNU_SOURCE -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC -Iocelot -I/usr/include -I/usr/include -I.release_build/ocelot -Iocelot ocelot/ocelot/ir/implementation/PTXInstruction.cpp In file included from ocelot/ocelot/parser/interface/PTXLexer.h:11:0, from ocelot/ocelot/parser/interface/PTXParser.h:16, from ocelot/ocelot/ir/implementation/Module.cpp:10: .release_build/ocelot/ptxgrammar.hpp:354:14: error: 'PTXLexer' is not a member of 'parser' .release_build/ocelot/ptxgrammar.hpp:354:32: error: 'lexer' was not declared in this scope .release_build/ocelot/ptxgrammar.hpp:354:47: error: 'parser::PTXParser' has not been declared .release_build/ocelot/ptxgrammar.hpp:354:65: error: 'state' was not declared in this scope .release_build/ocelot/ptxgrammar.hpp:354:70: error: expression list treated as compound expression in initializer [-fpermissive] scons: *\ [.release_build/ocelot/ocelot/ir/implementation/Module.os] Error 1 What version of the product are you using? On what operating system? gpuocelot-svn, rev.2018 32bit archlinux, llvm-svn 162101-1 python2.7.3

Thank you for any advice, Mark

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

jwang323 commented 9 years ago

From markota...@gmail.com on August 19, 2012 14:20:26

SCons by Steven Knight et al.: script: v2.2.0.issue-2856:2676:d23b7a2f45e8[MODIFIED], 2012/08/05 15:38:28, by garyo on oberbrunner-dev engine: v2.2.0.issue-2856:2676:d23b7a2f45e8[MODIFIED], 2012/08/05 15:38:28, by garyo on oberbrunner-dev engine path: ['/usr/lib/python2.7/site-packages/SCons']

boost-libs 1.50.0-2 // I was unable to build 1.45 on my OS, if that is an issue?

jwang323 commented 9 years ago

From markota...@gmail.com on August 19, 2012 14:23:39

gcc 4.7.1

jwang323 commented 9 years ago

From varun.na...@gmail.com on August 29, 2012 22:09:05

I have the same issue. gcc 4.4.1 on Ubuntu 9.10 Karmic Koala. Linux nurava-laptop 2.6.31-23-generic #75-Ubuntu SMP Fri Mar 18 18:16:06 UTC 2011 x86_64 GNU/Linux

mnowotnik commented 9 years ago

You may be interested in these quickfixes: https://www.udacity.com/wiki/cs344/llvm-ocelot-dev