aybassiouny / gpuocelot

Automatically exported from code.google.com/p/gpuocelot
0 stars 0 forks source link

fails to build on 32bit linux #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 -D__STDC_CONSTANT_MACROS 
-D__STDC_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 reported on code.google.com by markota...@gmail.com on 19 Aug 2012 at 9:17

GoogleCodeExporter commented 9 years ago
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?

Original comment by markota...@gmail.com on 19 Aug 2012 at 9:20

GoogleCodeExporter commented 9 years ago
gcc 4.7.1

Original comment by markota...@gmail.com on 19 Aug 2012 at 9:23

GoogleCodeExporter commented 9 years ago
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

Original comment by varun.na...@gmail.com on 30 Aug 2012 at 5:09