#1176: Configure-time check for whether to use powl() or pow(), since powl() is 
an
optional posix extension
----------------------+-----------------------------------------------------
 Reporter:  dukeleto  |       Owner:       
     Type:  bug       |      Status:  new  
 Priority:  normal    |   Milestone:  1.8  
Component:  build     |     Version:  1.7.0
 Severity:  medium    |    Keywords:  rtems
     Lang:            |       Patch:       
 Platform:  all       |  
----------------------+-----------------------------------------------------

Comment(by doughera):

 Replying to [comment:8 dukeleto]:
 > I've never seen the --floatval flag before. Does anyone run the test
 suite with it on? Does it work? I would prefer a configure-time check for
 powl, before using it.

 As I said above, it used to mostly work.  As I recall, there were a few
 PBC issues and some broken tests, but they were mostly bad tests.

 While you are correct that a Configure probe would be useful (see TT #1048
 for some thoughts on that) I think my patch should be applied in the
 meantime.  With my patch above, parrot won't normally try to use powl
 unless the user explicitly asks for {{{ --floatval='long double'}}}.  I
 don't think a user without a working powl function is likely to ask for
 long doubles.

 I'm actually puzzled how the old version could have blocked RTEMS, unless
 they were somehow effectively using {{{--floatval='float'}}}.  I don't
 know if that has ever worked.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1176#comment:11>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to