pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32989: mldoney fails to compile on Mac OS X



>Number:         32989
>Category:       pkg
>Synopsis:       mldoney fails to compile on Mac OS X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 04 14:15:00 +0000 2006
>Originator:     Georg Schwarz
>Release:        pkgsrc-current
>Organization:
>Environment:
Darwin imac.geos.net.eu.org 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 
10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
building mldonkey 2.7.4 breaks like this:

g++ -O3 -fgcse-sm -funroll-loops -fstrict-aliasing -fsched-interblock 
-falign-loops=16 -falign-jumps=16 -falign-functions=16 
-falign-jumps-max-skip=15 -falign-loops-max-skip=15 -malign-natural -ffast-math 
-freorder-blocks -freorder-blocks-and-partition -finline-floor -mpowerpc-gpopt 
-force_cpusubtype_ALL -fstrict-aliasing -mtune=G5 -mcpu=G5 -mpowerpc64 
-I/usr/include -I/Users/schwarz/pkg/include 
-I/Users/schwarz/pkg/include/freetype2 -fno-omit-frame-pointer -o 
src/utils/lib/CryptoPP.o "-I/Users/schwarz/pkg/lib/ocaml" -c 
src/utils/lib/CryptoPP.cc
cc1plus: warning: -freorder-blocks-and-partition does not work with exceptions
src/utils/lib/CryptoPP.cc: In member function `virtual void 
CryptoPP::InvertibleRSAFunction::GenerateRandom(CryptoPP::RandomNumberGenerator&,
 const CryptoPP::NameValuePairs&)':
src/utils/lib/CryptoPP.cc:7905: error: cannot allocate an object of abstract 
type 'CryptoPP::NameValuePairs'
src/utils/lib/CryptoPP.h:609: note:   because the following virtual functions 
are pure within 'CryptoPP::NameValuePairs':
src/utils/lib/CryptoPP.h:690: note:  virtual bool 
CryptoPP::NameValuePairs::GetVoidValue(const char*, const std::type_info&, 
void*) const
gnumake: *** [src/utils/lib/CryptoPP.o] Error 1
*** Error code 2




Maybe this is a g++ 4 issue?

g++ --version
powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. 
build 4061)
Copyright (C) 2004 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.

>How-To-Repeat:

>Fix:




Home | Main Index | Thread Index | Old Index