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!news2.google.com!newsread.com!news-xfer.newsread.com!logbridge.uoregon.edu!feed3.jnfs.ja.net!jnfs.ja.net!nntp0.brunel.ac.uk!not-for-mail From: "Dr Ivan D. Reid" Newsgroups: comp.os.linux.alpha Subject: Re: g++ optimisations in AlphaLinux Date: Fri, 2 Dec 2005 08:12:25 +0000 (UTC) Organization: Brunel University, West London, UK Message-ID: References: Reply-To: Ivan.Reid@brunel.ac.uk NNTP-Posting-Host: molnir.brunel.ac.uk X-Trace: mimas.brunel.ac.uk 1133511145 9941 134.83.108.7 (2 Dec 2005 08:12:25 GMT) X-Complaints-To: sysunix@brunel.ac.uk NNTP-Posting-Date: Fri, 2 Dec 2005 08:12:25 +0000 (UTC) User-Agent: slrn/0.9.7.4 (SunOS) Xref: g2news1.google.com comp.os.linux.alpha:593 On Thu, 01 Dec 2005 17:18:27 GMT, DiskMan wrote in : > Switzerland? To work!?!? Are they hiring!?!?! No. Not me at least. For at least two reasons, the mundane being that I'm not a national of a CERN member state (tho' I am eligible to apply for UK nationality now, should I be so daft). The other being that I've already worked in .ch for 13 years, with the last 8 or so being an active search for a job elsewhere than "East Germany with money" or "arguably the last police state in Europe" (Newsweek). I ended up taking a 45% salary cut to work in London, since the third option was to be unemployed in Oz. One week over there in 7-8 is still a drag at times. :-/ > 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! ivan@SuperPC:~$ g++ --version g++ (GCC) 3.3.5 (Debian 1:3.3.5-13) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Let's see: I believe my last effort was to pull accross the sources with something like cvs -d :pserver:anonymous@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout boinc then IIRC in the boinc directory I did $ ./_autosetup $ ./configure --disable-server $ make Then similar in seti_boinc after unpacking seti_boinc-client-cvs-2005-11-26.tar > 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 _Tp> 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.3/bits/stl_algobase.h has: template inline const _Tp& min(const _Tp& __a, const _Tp& __b) { // concept requirements __glibcpp_function_requires(_LessThanComparableConcept<_Tp>) //return __b < __a ? __b : __a; if (__b < __a) return __b; return __a; } boinc/lib/std_fixes.h has: #ifndef HAVE_STD_MIN namespace std { #ifdef min #undef min #endif template inline T min(const T &a, const T &b) { return ((a