#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:  2.2  
Component:  build     |     Version:  1.7.0
 Severity:  medium    |    Keywords:  rtems
     Lang:            |       Patch:       
 Platform:  all       |  
----------------------+-----------------------------------------------------

Comment(by JoelSherrill):

 After the IRC tonight, I was looking at the tickets and this one caught my
 eye.  RTEMS via newlib does appear to have all of the powXXX variants.  It
 is in libm.a:

 $ i386-rtems4.10-nm -g /opt/rtems-4.10/i386-rtems4.10/lib/libm.a |grep "T
 po"


 00000000 T powl
 00000000 T pow10
 00000000 T pow10f
 00000000 T pow
 00000000 T powf

 So your probes have to be aware of which library the method is in.  In
 this case, it is libm.a, not libc.a.  So I think this may be a non-issue
 if you use the correct arguments.

 And FWIW the definitive site for POSIX info is opengroup.org:

 http://www.opengroup.org/onlinepubs/009695399/functions/pow.html

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1176#comment:15>
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