HaveF / gpuocelot

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

Compilation from source fails #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Compilation from the source fails.
$ocelot> ./build.py
g++ -o .release_build/ocelot/ir/implementation/Kernel.os -c -O2 -Wall -Werror 
-std=c++0x -I/home/users/pushkar/local/include -D_DEBUG -D_GNU_SOURCE 
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fPIC -I.release_build -I. 
-I/usr/include -I/home/users/pushkar/local/include 
ocelot/ir/implementation/Kernel.cpp
ocelot/ir/implementation/Kernel.cpp:93:82: error: no 'void 
ir::Kernel::insertParameter(const ir::Parameter&, bool)' member function 
declared in class 'ir::Kernel'
scons: *** [.release_build/ocelot/ir/implementation/Kernel.os] Error 1
scons: building terminated because of errors.

-Pushkar

Original issue reported on code.google.com by topgun...@gmail.com on 13 Aug 2011 at 11:02

GoogleCodeExporter commented 9 years ago
Which version of Ocelot are you using?

'svn info' should tell you...

Original comment by gregory....@gatech.edu on 18 Aug 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Path: .
URL: http://gpuocelot.googlecode.com/svn/trunk/ocelot
Repository Root: http://gpuocelot.googlecode.com/svn
Repository UUID: ec522b64-56cd-11de-8d7d-01d876f1962d
Revision: 1374
Node Kind: directory
Schedule: normal
Last Changed Author: arkerr
Last Changed Rev: 1372
Last Changed Date: 2011-08-13 11:42:09 -0400 (Sat, 13 Aug 2011)

Original comment by topgun...@gmail.com on 18 Aug 2011 at 3:19

GoogleCodeExporter commented 9 years ago
Even the trunk HEAD (revision 1392) has the same issue.

Thanks,
Pushkar

Original comment by topgun...@gmail.com on 18 Aug 2011 at 3:22

GoogleCodeExporter commented 9 years ago
I'm not sure if I understand this error.

There is clearly a definition of that function in 
ocelot/ir/interface/Kernel.h:61

Original comment by SolusStu...@gmail.com on 2 Sep 2011 at 1:52

GoogleCodeExporter commented 9 years ago
Perhaps your compiler does not like the use of default arguments?  Which 
version of gcc are you using?

Original comment by SolusStu...@gmail.com on 2 Sep 2011 at 1:53

GoogleCodeExporter commented 9 years ago
The g++ version is,
g++ (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]

Original comment by topgun...@gmail.com on 2 Sep 2011 at 3:25

GoogleCodeExporter commented 9 years ago
Seems like while building the compiler was picking up old header files from the 
installed location rather than from the source. Manually deleting them did 
result in a successful build.

But now OcelotConfig -l does not list anything (any library) nor does 
OcelotConfig -p report anything. And, manually linking libocelot does not work, 
the program simply segfaults (It used to work earlier).

Original comment by topgun...@gmail.com on 10 Sep 2011 at 1:38

GoogleCodeExporter commented 9 years ago
Can you compile it in debug mode and post a stack trace?

Original comment by mailsud...@gmail.com on 16 Sep 2011 at 8:00

GoogleCodeExporter commented 9 years ago
Are there any updates to this?

Original comment by gregory....@gatech.edu on 2 Feb 2012 at 5:37

GoogleCodeExporter commented 9 years ago

Original comment by gregory....@gatech.edu on 2 Feb 2012 at 5:37

GoogleCodeExporter commented 9 years ago
Attached here is the backtrace as viewed in gdb.

Thanks,
Pushkar

Original comment by topgun...@gmail.com on 2 Feb 2012 at 8:53

Attachments: