zhangmeishan / sparsehash

Automatically exported from code.google.com/p/sparsehash
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Cannot compile sparsehash-2.0.2 on Ubuntu 12.04LTS #93

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to install sparsehash-2.0.2 on Ubuntu 12.04LTS, but it does not 
compile. The compiler dies in the middle of the compiling process.

What steps will reproduce the problem?
1. install build-essential on ubuntu 12.04 LTS, gcc version 4.6.3 
(Ubuntu/Linaro 4.6.3-1ubuntu5)

2. download sparsehash-2.0.2, extract into a folder
3. run ./configure, all seems normal
4. run make

What is the expected output? What do you see instead?
expected to see it compile, but the compiling process hangs for a while before 
spitting out the g++ error.

src/hashtable_test.cc:571:1:   instantiated from here
src/hashtable_test.cc:577:32: warning: variable âktâ set but not used 
[-Wunused-but-set-variable]
src/hashtable_test.cc:583:33: warning: variable âstâ set but not used 
[-Wunused-but-set-variable]
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.

What version of the product are you using? On what operating system?
none of sparsehash-2.0.2 or sparsehash-1.11 works. 

Please provide any additional information below.

Original issue reported on code.google.com by roger.hu...@gmail.com on 10 May 2013 at 7:19