- This topic has 3 replies, 2 voices, and was last updated 12 years, 11 months ago by Anonymous.
December 11, 2010 at 11:02 am #715Anonymous
I used Fedora 14 with all updates. When I got the new version of sasa.cc it build okay until this points. I think there might be error in the optimalization either in Gcc or Rosetta. I have this email knutjorgen(at)gmail.com. Do you think I should open a bug in Fedoras bugdatabase,
g++ -o build/src/release/linux/2.6/64/x86/gcc/protocols/hotspot_hashing/HotspotStub.os -c -std=c++98 -pipe -ffor-scope -W -Wall -pedantic -Wno-long-long -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -fPIC -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/boost_1_38_0 -I/usr/local/include -I/usr/include src/protocols/hotspot_hashing/HotspotStub.cc
src/protocols/hotspot_hashing/HotspotStub.cc:75:1: error: ‘protocols::hotspot_hashing::HotspotStub::HotspotStub’ names the constructor, not the type
scons: *** [build/src/release/linux/2.6/64/x86/gcc/protocols/hotspot_hashing/HotspotStub.os] Error 1
scons: building terminated because of errors.
December 11, 2010 at 12:58 pm #4734Anonymous
The line of code that is failing is the = operator for HotspotStub. The code around it (there are #ifndefs for BOINC and WIN32) indicate that there’s something a bit screwy and the Windows compilers won’t accept that code. I guess newer versions of GCC won’t either (I don’t think any developers are using 4.5.)
Try just commenting the function out (put // at the start of each line from 75 to 88) and let me know if it works.
December 11, 2010 at 1:01 pm #4735Anonymous
The only apparent difference between 3.1 and current trunk in this region is that the first HotspotStub on line 75 has been deleted (before the :. It’s still inside #ifndefs so I don’t know if that will fix it or not.
December 11, 2010 at 3:58 pm #4736Anonymous
Thanks it worked. I have open a bug in https://bugzilla.redhat.com/show_bug.cgi?id=662305. Perhap you could ad an ifndefs to avoid the code between 75 and 88 in HotspotStub.
- You must be logged in to reply to this topic.