NetBSD Problem Report #32989

From www@netbsd.org  Sat Mar  4 14:14:09 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id E527C63B871; Sat,  4 Mar 2006 14:14:09 +0000 (UTC)
Message-Id: <20060304141409.E527C63B871@narn.netbsd.org>
Date: Sat,  4 Mar 2006 14:14:09 +0000 (UTC)
From: georg.schwarz@freenet.de
Reply-To: georg.schwarz@freenet.de
To: gnats-bugs@netbsd.org
Subject: mldonkey fails to compile on Mac OS X
X-Send-Pr-Version: www-1.0

>Number:         32989
>Category:       pkg
>Synopsis:       mldonkey fails to compile on Mac OS X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wiz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 04 14:15:00 +0000 2006
>Closed-Date:    Tue Apr 04 18:07:12 +0000 2006
>Last-Modified:  Tue Apr 04 18:14:14 +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:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 06 Mar 2006 19:01:52 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Tue, 04 Apr 2006 18:07:12 +0000
State-Changed-Why:
I forwarded your problem to the program's bug tracking.

See
	http://savannah.nongnu.org/bugs/?func=detailitem&item_id=16018

Here's the author's reply:
You need to have Xcode 2.2 and Gcc 4.01 or gcc-3.3 to compile CryptoPP. Ocaml
has to be compiled with the same gcc version
you use to compile MLDonkey.

http://mldonkey.sourceforge.net/forums/viewtopic.php?p=21716#21716

---
Please update your compiler and rebuild ocaml before trying again. Thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.