[omniORB] Serious bug under solaris

Teemu Torma teemu at torma.org
Mon Jul 11 13:51:23 BST 2005


On Monday 11 July 2005 08:35, Winterstein, Bernd, VF-DE wrote:
> Double values wich are transferred inside a struct from solaris ->
> windows are corrupted during transfer. Windows -> windows works
> perfectly.
>
> 3.14159265358979311599796346854->3.14159202575684481928419700125
> 9.42477796076937934799389040563->9.42477668125370371399185387418
> 31415926.5350000001490116119385->31415935.9841036051511764526367
>
> Does anybody know something about that?

Are you using gcc on Solaris?  If yes, it might be aliasing bug in 
omniORB, which we noticed about a month ago, but I have forgotten to 
report so far.

In that case, -fno-string-aliasing or the attached patch might help.  
The patch is for 4.0.5, but the code in question seems to be identical 
in later versions.

I hope this helps.

Teemu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omniorb-aliasing.patch
Type: text/x-diff
Size: 7623 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20050711/fbc3db82/omniorb-aliasing.bin


More information about the omniORB-list mailing list