[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

            Bug ID: 236188
           Summary: devel/boost-libs and
                    BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/lballabio/QuantLib/pull/597
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
            Blocks: 233864
          Assignee: [hidden email]
             Flags: maintainer-feedback?([hidden email])

According to the developers of QuantLib, the self-test failures blocking our
upgrade of finance/quantlib are due to Boost being built without the
BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS.

This seems to have an effect only on i386 -- and, presumably, only with clang
-- but I'm out of my depth here: https://github.com/lballabio/QuantLib/pull/597

Can we review the need for our files/patch-boost_math_tools_config.hpp (added
by Bug #199601)?


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233864
[Bug 233864] finance/quantlib: update 1.13 -> 1.14, fix stage-qa
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

maintainer-feedback requested: [Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
Bugzilla Automation <[hidden email]> has asked freebsd-office mailing
list <[hidden email]> for maintainer-feedback:
Bug 236188: devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188



--- Description ---
According to the developers of QuantLib, the self-test failures blocking our
upgrade of finance/quantlib are due to Boost being built without the
BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS.

This seems to have an effect only on i386 -- and, presumably, only with clang
-- but I'm out of my depth here: https://github.com/lballabio/QuantLib/pull/597

Can we review the need for our files/patch-boost_math_tools_config.hpp (added
by Bug #199601)?
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

Jan Beich <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-patch, needs-qa

--- Comment #1 from Jan Beich <[hidden email]> ---
FreeBSD libm (aka msun) does support long double functions but not everything
as required by C99 e.g., tgammal(3) is a stub. Disabling all C99 math is likely
to break a number of ports. Similar to bug 193528 the cost of pre-C99-math
support was too high. Besides, QuantLib test case works fine on armv6 and armv7
which are also 32-bit architectures.

Feel free to request exp-run and find out.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

Jan Beich <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Jan Beich <[hidden email]> ---
Can someone on powerpc (preferably, 32bit) check the following sample?

$ cat a.cc
// from https://github.com/lballabio/QuantLib/pull/597#issuecomment-466716805
#include <iostream>
#include <boost/math/distributions/non_central_chi_squared.hpp>

using namespace boost::math;

int main() {
    const double q = 0.3142;

    std::cout << std::setprecision(16)
        << quantile(
            non_central_chi_squared_distribution<double>(3.0,1.0),q)
        << std::endl;
}

$ pkg install boost-libs
$ c++ a.cc -isystem/usr/local/include
$ ./a.out
2.034589723572673

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

Alexey Dokuchaev <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Alexey Dokuchaev <[hidden email]> ---
c++ won't work on FreeBSD/powerpc, because it is gcc 4.2.1.  I've built fresh
devel/boost-libs using g++7, so it goes like this:

$ g++7 a.cc -isystem/usr/local/include -Wl,-rpath=/usr/local/lib/gcc7
$ ./a.out
2.034589723572673

This is on Mac mini G4, 32-bit, ~r302710 12.0-CURRENT.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

Dennis Clarke <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #4 from Dennis Clarke <[hidden email]> ---
(In reply to Alexey Dokuchaev from comment #3)

I have 'current' head at the moment here and would have to swap around hard
disks and re-install 12-RELEASE to test.

hydra# uname -a
FreeBSD hydra 13.0-CURRENT FreeBSD 13.0-CURRENT r344744 GENERIC  powerpc


I'll make up a post-it note todo list for this.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

Mikhail Teterin <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|233864                      |


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233864
[Bug 233864] finance/quantlib: update 1.13 -> 1.14, fix stage-qa
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

Sean Bruno <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #5 from Sean Bruno <[hidden email]> ---
ref12-ppc64.freebsd.org does exist and is a jail on real ppc64 hardware if you
need to test things (for freebsd.org committers only).

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 236188] devel/boost-libs and BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236188

--- Comment #6 from Alexey Dokuchaev <[hidden email]> ---
Great!  Can you guys document its (ppc64 reference box) existence at the
https://www.freebsd.org/internal/machines.html page?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"