From: SourceForge.net <no...@so...> - 2008-04-01 17:59:43
|
Bugs item #1839067, was opened at 2007-11-26 15:44 Message generated for change (Comment added) made by andreas_kupries You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1839067&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 16. Commands A-H Group: obsolete: 8.5b3 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michael Schlenker (mic42) Assigned to: Jeffrey Hobbs (hobbs) Summary: fp rounding setup on opensolaris x86 Initial Comment: Testing the 8.5.0 RC0 on opensolaris (SunOS 5.11 svn_55b x86) showed 126 test failures in expr 28.xxx, mostly off by ones when compiled with the SunStudio 11 compiler. kbk suggested to look at: http://developers.sun.com/sunstudio/documentation/ss10_docs/mr/man3m/ieee_flags.3m.html After manually patching tclStrToD in the appropriate places where the gcc macros are usually used with: #include <sunmath.h> ieee_flags("set","precision","double",NULL); ieee_flags("clear","precsion",NULL,NULL); and adding -lsunmath in front of -lm in the link line the errors disappear. ---------------------------------------------------------------------- >Comment By: Andreas Kupries (andreas_kupries) Date: 2008-04-01 10:59 Message: Logged In: YES user_id=75003 Originator: NO File Added: sunmath-updated.diff ---------------------------------------------------------------------- Comment By: Kevin B KENNY (kennykb) Date: 2008-03-29 22:02 Message: Logged In: YES user_id=99768 Originator: NO I don't have a Solaris-x86 to test on, but the patch looks right. Jeff, could I trouble you or Andreas to apply the patch, make test, and commit if everything works? Thanks. ---------------------------------------------------------------------- Comment By: Michael Schlenker (mic42) Date: 2008-03-18 17:01 Message: Logged In: YES user_id=302287 Originator: YES The errors in expr dissapear when linking with sunmath (which requires -z textoff to the linker, otherwise LD barfs) and applying a small fix to tclStrToD.c. The attached patch works on opensolaris. Would be good if someone with a regular solaris setup on x86 and sparc could check if the patch doesn't break something. File Added: sunmath.diff ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1839067&group_id=10894 |