NetBSD Problem Report #40597

From www@NetBSD.org  Tue Feb 10 01:33:14 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 68A1063B867
	for <gnats-bugs@gnats.netbsd.org>; Tue, 10 Feb 2009 01:33:14 +0000 (UTC)
Message-Id: <20090210013314.08AF363B400@narn.NetBSD.org>
Date: Tue, 10 Feb 2009 01:33:14 +0000 (UTC)
From: mun3ch@gmail.com
Reply-To: mun3ch@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Problem building 2008Q4 boost-libs on PowerPC Mac OS X Tiger 10.4 (with fix)
X-Send-Pr-Version: www-1.0

>Number:         40597
>Category:       pkg
>Synopsis:       Problem building 2008Q4 boost-libs on PowerPC Mac OS X Tiger 10.4 (with fix)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    macos-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 10 01:35:00 +0000 2009
>Last-Modified:  Wed Mar 07 08:18:13 +0000 2012
>Originator:     munch paulson
>Release:        
>Organization:
>Environment:
Darwin pbg4.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Could not build devel-boost using powerpc-apple-darwin8-gcc-4.0.1

Was able to build on Intel Mac OS X 10.5.6


>How-To-Repeat:
cd meta-pkgs/boost
bmake

>Fix:
Solution was:

--- boost/math/tools/config.hpp.orig    2009-02-09 17:11:49.000000000 -0800
+++ boost/math/tools/config.hpp 2009-02-09 01:49:15.000000000 -0800
@@ -42,7 +42,7 @@
 // Darwin's rather strange "double double" is rather hard to
 // support, it should be possible given enough effort though...
 //
-#  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+//#  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
 #endif
 #if defined(unix) && defined(__INTEL_COMPILER) && (__INTEL_COMPILER <= 1000)
 //


Problem is boost believes Macs don't know "long double".  Solution found using Google where the error message causing the build to fail was reported for other architectures and pointed towards trying this.  Boost-libs built, but haven't tested yet.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 10 Feb 2009 01:52:30 +0000
Responsible-Changed-Why:
Darwin pkgsrc problem.


Responsible-Changed-From-To: darwin-pkg-people->macos-pkg-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Wed, 07 Mar 2012 08:18:13 +0000
Responsible-Changed-Why:
darwin-pkg-people has been changed to macos-pkg-people


>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.