Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 34b04491c48bc148ceb290ecf5e39ba7882d1924
Ticket: 1839067fffffffffffffffffffffffffffffffff
fp rounding setup on opensolaris x86
User & Date: mic42 on 2007-11-26 23:44:43
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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.
    
    
    
  4. foundin changed to: "obsolete: 8.5b3"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "mic42"
  10. subsystem changed to: "16. Commands A-H"
  11. title changed to: "fp rounding setup on opensolaris x86"
  12. type changed to: "Bug"