maintainer-feedback requested: [Bug 209077] net/opal: Fix build with libc++ 3.8.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 26 18:56:35 UTC 2016
Dimitry Andric <dim at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to gnome at FreeBSD.org:
Bug 209077: net/opal: Fix build with libc++ 3.8.0
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209077
--- Description ---
Created attachment 169728
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169728&action=edit
Fix type for abs() calls in net/opal
During the exp-run in bug 208158, it was found that net/opal gives errors with
libc++ 3.8.0 [1]:
../common/mpi.cxx:135:18: error: call to 'abs' is ambiguous
distance = ( abs(MPIs[i].width - desiredWidth ) *
^~~
This is because abs() is being called with unsigned arguments. Fix this by
casting the arguments to the appropriate signed type.
[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h3
0m05s/logs/errors/opal-3.10.10_9.log
More information about the freebsd-gnome
mailing list