Bug 241611

Summary: [exp-run] with additional __isnan macros in math.h
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: arrowd, ports-bugs
Priority: --- Flags: koobs: exp-run?
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 241550    
Attachments:
Description Flags
Add __isnan and __isnanf to math.h none

Description Dimitry Andric freebsd_committer freebsd_triage 2019-10-31 07:06:19 UTC
Created attachment 208724 [details]
Add __isnan and __isnanf to math.h

In bug 241550, Gleb Popov reports that trivia CUDA programs can't be compiled due to missing __isnan and __isnanf functions.  These are apparently Linuxisms.

I have prepared a patch which adds these as macro aliases to <math.h>, but since these isnan functions and macros have a long history of compatibility problems, I would prefer to see an exp-run done before I commit it.
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2019-11-02 17:02:32 UTC
Committed patch in base r354255.