Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: " DiskMan" <nobody@thewheel.com>
Subject: Re: g++ optimisations in AlphaLinux
Date: Thu, 01 Dec 2005 17:18:27 GMT	[thread overview]
Message-ID: <DfGjf.379$f41.301@tornado.rdc-kc.rr.com> (raw)
In-Reply-To: slrndou4ra.l0.Ivan.Reid@loki.brunel.ac.uk

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<class
   _Tp> const _Tp& std::min(const _Tp&, const _Tp&)'
../lib/std_fixes.h:35: ambiguates old declaration `template<class T> T
   std::min(const T&, const T&)'
/usr/include/c++/3.2.3/bits/stl_algobase.h:169: new declaration
`template<class
   _Tp> const _Tp& std::max(const _Tp&, const _Tp&)'
../lib/std_fixes.h:48: ambiguates old declaration `template<class T> 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<class i_iterator, class
   o_iterator, class OP> o_iterator std::transform(i_iterator, i_iterator,
   o_iterator, OP)'
/usr/include/c++/3.2.3/bits/stl_algo.h:736: `template<class _InputIter,
class
   _OutputIter, class _UnaryOperation> _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<char*,
std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >,
   __gnu_cxx::__normal_iterator<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >,
   __gnu_cxx::__normal_iterator<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >)':
../lib/util.h:80: call of overloaded `transform(
   __gnu_cxx::__normal_iterator<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&,
   __gnu_cxx::__normal_iterator<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&,
   __gnu_cxx::__normal_iterator<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >&, 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<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >, _OutputIter =
   __gnu_cxx::__normal_iterator<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >, _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<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >, o_iterator =
   __gnu_cxx::__normal_iterator<char*, std::basic_string<char,
   std::char_traits<char>, std::allocator<char> > >, 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<char>, _Alloc = std::allocator<char>]':
/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<char>, _Alloc = std::allocator<char>]'
../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'




  reply	other threads:[~2005-12-01 17:18 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-27 11:03 g++ optimisations in AlphaLinux Dr Ivan D. Reid
2005-11-27 12:35 ` Måns Rullgård
2005-11-27 13:33   ` Dr Ivan D. Reid
2005-11-27 14:10   ` Dr Ivan D. Reid
2005-11-27 14:55     ` Måns Rullgård
2005-11-27 15:50       ` Dr Ivan D. Reid
2005-11-27 16:39         ` Måns Rullgård
2005-11-27 17:07           ` Dr Ivan D. Reid
2005-11-27 17:39             ` Måns Rullgård
2005-11-28 21:09 ` DiskMan
2005-11-28 23:45   ` Dr Ivan D. Reid
2005-11-29  3:08     ` DiskMan
2005-11-29  7:57       ` Dr Ivan D. Reid
2005-11-30 23:30         `  DiskMan
2005-12-01 15:14           ` Dr Ivan D. Reid
2005-12-01 17:18             `  DiskMan [this message]
2005-12-01 18:01               ` Staffan Tjernstrom
2005-12-01 18:51                 `  DiskMan
2005-12-02  8:12               ` Dr Ivan D. Reid
2005-12-03  1:25                 ` There is a Compaq C build of Setiathome_boinc  DiskMan
2005-12-05 11:44                   ` Dr Ivan D. Reid
2005-12-12  2:37                   ` Dr Ivan D. Reid
2005-12-15  9:02                     `  DiskMan
2005-12-16 11:00                       ` Dr Ivan D. Reid
2005-12-16 19:12                         `  DiskMan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox