raxtechbits / gpuocelot

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

1.1.560 doesn't build #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I downloaded the 1.1.560 release, but:

/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.    
-I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -I ./ocelot/cuda/include -Wall -ansi -Werror 
-std=c++0x -g -O2 -MT libocelot_la-ControlFlowGraph.lo -MD -MP -MF 
.deps/libocelot_la-ControlFlowGraph.Tpo -c -o libocelot_la-ControlFlowGraph.lo 
`test -f 'ocelot/ir/implementation/ControlFlowGraph.cpp' || echo 
'./'`ocelot/ir/implementation/ControlFlowGraph.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include -DNDEBUG 
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I 
./ocelot/cuda/include -Wall -ansi -Werror -std=c++0x -g -O2 -MT 
libocelot_la-ControlFlowGraph.lo -MD -MP -MF 
.deps/libocelot_la-ControlFlowGraph.Tpo -c 
ocelot/ir/implementation/ControlFlowGraph.cpp  -fPIC -DPIC -o 
.libs/libocelot_la-ControlFlowGraph.o
cc1plus: warnings being treated as errors
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::ControlFlowGraph::BasicBlock::Edge>::const_iterator 
ir::ControlFlowGraph::BasicBlock::get_edge(std::list<ir::ControlFlowGraph::Basic
Block>::const_iterator) const':
ocelot/ir/implementation/ControlFlowGraph.cpp:94:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::ControlFlowGraph::BasicBlock::Edge>::iterator 
ir::ControlFlowGraph::BasicBlock::get_edge(std::list<ir::ControlFlowGraph::Basic
Block>::iterator)':
ocelot/ir/implementation/ControlFlowGraph.cpp:85:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::ControlFlowGraph::BasicBlock::Edge>::const_iterator 
ir::ControlFlowGraph::BasicBlock::get_branch_edge() const':
ocelot/ir/implementation/ControlFlowGraph.cpp:76:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::ControlFlowGraph::BasicBlock::Edge>::iterator 
ir::ControlFlowGraph::BasicBlock::get_branch_edge()':
ocelot/ir/implementation/ControlFlowGraph.cpp:67:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::ControlFlowGraph::BasicBlock::Edge>::const_iterator 
ir::ControlFlowGraph::BasicBlock::get_fallthrough_edge() const':
ocelot/ir/implementation/ControlFlowGraph.cpp:58:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::ControlFlowGraph::BasicBlock::Edge>::iterator 
ir::ControlFlowGraph::BasicBlock::get_fallthrough_edge()':
ocelot/ir/implementation/ControlFlowGraph.cpp:49:1: error: control reaches end 
of non-void function
make[1]: *** [libocelot_la-ControlFlowGraph.lo] Error 1
make[1]: Leaving directory `/home/realnc/tmp/ocelot-1.1.560'
make: *** [all] Error 2

Original issue reported on code.google.com by rea...@gmail.com on 15 Jan 2011 at 7:11

GoogleCodeExporter commented 8 years ago
I grabbed latest sources from SVN, but it still won't build.

Forgot to mention that I'm on GCC 4.5.2.

/bin/sh ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.    
-I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS 
-D__STDC_CONSTANT_MACROS -I ./ocelot/cuda/include -Wall -ansi -Werror 
-std=c++0x -g -O2 -MT libocelot_la-ControlFlowGraph.lo -MD -MP -MF 
.deps/libocelot_la-ControlFlowGraph.Tpo -c -o libocelot_la-ControlFlowGraph.lo 
`test -f 'ocelot/ir/implementation/ControlFlowGraph.cpp' || echo 
'./'`ocelot/ir/implementation/ControlFlowGraph.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I/usr/include -DNDEBUG 
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I 
./ocelot/cuda/include -Wall -ansi -Werror -std=c++0x -g -O2 -MT 
libocelot_la-ControlFlowGraph.lo -MD -MP -MF 
.deps/libocelot_la-ControlFlowGraph.Tpo -c 
ocelot/ir/implementation/ControlFlowGraph.cpp  -fPIC -DPIC -o 
.libs/libocelot_la-ControlFlowGraph.o
cc1plus: warnings being treated as errors
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::BasicBlock::Edge>::const_iterator 
ir::BasicBlock::get_edge(std::list<ir::BasicBlock>::const_iterator) const':
ocelot/ir/implementation/ControlFlowGraph.cpp:194:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::BasicBlock::Edge>::iterator 
ir::BasicBlock::get_edge(std::list<ir::BasicBlock>::iterator)':
ocelot/ir/implementation/ControlFlowGraph.cpp:185:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::BasicBlock::Edge>::const_iterator 
ir::BasicBlock::get_branch_edge() const':
ocelot/ir/implementation/ControlFlowGraph.cpp:168:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::BasicBlock::Edge>::iterator ir::BasicBlock::get_branch_edge()':
ocelot/ir/implementation/ControlFlowGraph.cpp:159:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::BasicBlock::Edge>::const_iterator 
ir::BasicBlock::get_fallthrough_edge() const':
ocelot/ir/implementation/ControlFlowGraph.cpp:142:1: error: control reaches end 
of non-void function
ocelot/ir/implementation/ControlFlowGraph.cpp: In member function 
'std::list<ir::BasicBlock::Edge>::iterator 
ir::BasicBlock::get_fallthrough_edge()':
ocelot/ir/implementation/ControlFlowGraph.cpp:133:1: error: control reaches end 
of non-void function
make[1]: *** [libocelot_la-ControlFlowGraph.lo] Error 1
make[1]: Leaving directory `/home/realnc/tmp/gpuocelot-read-only/ocelot'
make: *** [all] Error 2

Original comment by rea...@gmail.com on 15 Jan 2011 at 9:54

GoogleCodeExporter commented 8 years ago
This is definitely a bug.  Thanks for the report.  I'll have a fix in the trunk 
shortly.

Original comment by gregory....@gatech.edu on 25 Jan 2011 at 12:55

GoogleCodeExporter commented 8 years ago
I added a fix in r950 in svn. Please verify that this fixes the problem on your 
end.

Original comment by gregory....@gatech.edu on 25 Jan 2011 at 1:44

GoogleCodeExporter commented 8 years ago
Just pulled from Git.  Now I get this error:

cc1plus: warnings being treated as errors
ocelot/ir/implementation/PTXInstruction.cpp: In member function 'virtual 
std::string ir::PTXInstruction::toString() const':
ocelot/ir/implementation/PTXInstruction.cpp:2088:1: error: control reaches end 
of non-void function

Original comment by rea...@gmail.com on 25 Jan 2011 at 5:20

GoogleCodeExporter commented 8 years ago
Still a problem.  Should I open new bug about it?

Original comment by rea...@gmail.com on 23 Feb 2011 at 10:01