From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,8c1d1ffdb28bdb34 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!cyclone.southeast.rr.com!news-post.tampabay.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!tornado.rdc-kc.rr.com.POSTED!53ab2750!not-for-mail From: " DiskMan" Newsgroups: comp.os.linux.alpha References: Subject: Re: g++ optimisations in AlphaLinux X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Message-ID: Date: Thu, 01 Dec 2005 17:18:27 GMT NNTP-Posting-Host: 65.28.70.117 X-Complaints-To: abuse@rr.com X-Trace: tornado.rdc-kc.rr.com 1133457507 65.28.70.117 (Thu, 01 Dec 2005 11:18:27 CST) NNTP-Posting-Date: Thu, 01 Dec 2005 11:18:27 CST Organization: Road Runner High Speed Online http://www.rr.com Xref: g2news1.google.com comp.os.linux.alpha:590 Switzerland? To work!?!? Are they hiring!?!?! I was wondering, what version of GCC did you use to build BOINC? I tried GCC-4.0.1 [I know, wishful thinking] and GCC-3.2.3 and neither of them work! I was getting this LONG error! make[2]: Entering directory `/usr2/www/pub/alpha-RH7/scientific/seti_boinc-clients/boinc/api' if ccache g++-3.2.3 -DHAVE_CONFIG_H -I. -I. -I.. -fPIC -DPIC -I../lib -I../api -I../d b -I../client -I../tools -I../sched -O5 -finline -fstrict-aliasing -fomit-fr ame-pointer -funroll-loops -finline-functions -fcse-follow-jumps -mieee -w - pipe -mtune=ev56 -lots -pthread -fPIC -DPIC -I../lib -I. ./api -I../db -I../client -I../tools -I../sched -O5 -finline -fstrict-aliasi ng -fomit-frame-pointer -funroll-loops -finline-functions -fcse-follow-jumps -mieee -w -pipe -mtune=ev56 -lots -pthread -O5 -finline -fstrict-aliasing -funroll-loops -fstrength-reduce -mtune=ev56 -w -pipe -D_B SD_SOURCE -I/usr/X11R6/include -L/usr/X11R6/lib -I/usr/X11R6/include/GL -lot s -MT boinc_api.o -MD -MP -MF ".deps/boinc_api.Tpo" -c -o boinc_api.o boinc_api.C; \ then mv -f ".deps/boinc_api.Tpo" ".deps/boinc_api.Po"; else rm -f ".deps/boinc_api.Tpo"; exit 1; fi In file included from /usr/include/c++/3.2.3/algorithm:66, from ../lib/std_fixes.h:56, from ../config.h:417, from boinc_api.C:30: /usr/include/c++/3.2.3/bits/stl_algobase.h:149: new declaration `template const _Tp& std::min(const _Tp&, const _Tp&)' ../lib/std_fixes.h:35: ambiguates old declaration `template T std::min(const T&, const T&)' /usr/include/c++/3.2.3/bits/stl_algobase.h:169: new declaration `template const _Tp& std::max(const _Tp&, const _Tp&)' ../lib/std_fixes.h:48: ambiguates old declaration `template T std::max(const T&, const T&)' /usr/include/c++/3.2.3/bits/stl_algobase.h: In function `bool std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)': /usr/include/c++/3.2.3/bits/stl_algobase.h:793: call of overloaded `min(const size_t&, const size_t&)' is ambiguous ../lib/std_fixes.h:35: candidates are: T std::min(const T&, const T&) [with T = size_t] /usr/include/c++/3.2.3/bits/stl_algobase.h:149: const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t] In file included from ../config.h:417, from boinc_api.C:30: ../lib/std_fixes.h: At global scope: ../lib/std_fixes.h:66: redefinition of `template o_iterator std::transform(i_iterator, i_iterator, o_iterator, OP)' /usr/include/c++/3.2.3/bits/stl_algo.h:736: `template _OutputIter std::transform(_InputIter, _InputIter, _OutputIter, _UnaryOperation)' previously declared here In file included from boinc_api.C:47: ../lib/util.h: In function `void downcase_string(__gnu_cxx::__normal_iterator, std::allocator > >, __gnu_cxx::__normal_iterator, std::allocator > >, __gnu_cxx::__normal_iterator, std::allocator > >)': ../lib/util.h:80: call of overloaded `transform( __gnu_cxx::__normal_iterator, std::allocator > >&, __gnu_cxx::__normal_iterator, std::allocator > >&, __gnu_cxx::__normal_iterator, std::allocator > >&, int (*)(int) throw ())' is ambiguous /usr/include/c++/3.2.3/bits/stl_algo.h:736: candidates are: _OutputIter std::transform(_InputIter, _InputIter, _OutputIter, _UnaryOperation) [with _InputIter = __gnu_cxx::__normal_iterator, std::allocator > >, _OutputIter = __gnu_cxx::__normal_iterator, std::allocator > >, _UnaryOperation = int (*)(int) throw ()] ../lib/std_fixes.h:66: o_iterator std::transform(i_iterator, i_iterator, o_iterator, OP) [with i_iterator = __gnu_cxx::__normal_iterator, std::allocator > >, o_iterator = __gnu_cxx::__normal_iterator, std::allocator > >, OP = int (*)(int) throw ()] /usr/include/c++/3.2.3/bits/basic_string.h: In member function `int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]': /usr/include/c++/3.2.3/bits/basic_string.h:974: instantiated from `bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' ../lib/util.h:66: instantiated from here /usr/include/c++/3.2.3/bits/basic_string.h:894: call of overloaded `min( size_t&, size_t&)' is ambiguous ../lib/std_fixes.h:35: candidates are: T std::min(const T&, const T&) [with T = size_t] /usr/include/c++/3.2.3/bits/stl_algobase.h:149: const _Tp& std::min(const _Tp&, const _Tp&) [with _Tp = size_t] make[2]: *** [boinc_api.o] Error 1 make[2]: Leaving directory `/usr2/www/pub/alpha-RH7/scientific/seti_boinc-clients/boinc/api' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr2/www/pub/alpha-RH7/scientific/seti_boinc-clients/boinc'