Dear Sharon,
Yes, the new patch supercedes the old one, please disregard old patch
and work with new one.
I have updated patch #2316610 to contain all the files and
correspondence within this thread:
https://sourceforge.net/tracker/index.php?func=detail&aid=2316610&group_
id=33142&atid=407383
Thank you for your prompt attention to the matter.
Regards,
Semih Cemiloglu
________________________________
From: Sharon Lucas [mailto:luc...@us.ibm.com]
Sent: Friday, 1 May 2009 8:53 AM
To: semih.cemilo...@nec.com.au
Cc: staf-users@lists.sourceforge.net
Subject: Re: [staf-users] Compiling STAF 3.3.3 win Sun Studio 12 C++
compiler
Semih,
Thank you for the patch to compile STAF with the Sun Studio C++
compiler. I appreciate the work you have done to debug the issues you
saw and come up with fixes. Also, thank you for explaining you it is
important for you to be able to compile STAF using the Sun Studio C++
compiler instead of gcc.
If I understand you correctly, this patch supercedes the patch you
posted earlier via Patch #2316610. Right? So, we can disregard that
earlier attachment to that patch. If so, attach this new diff.txt file
and STAF_SunCC_problems.TXT to the previous patch (#2316610) that you
submitted with a comment saying that it overrides the previous
attachment (and please post the comments in this note that you sent to
the staf-users mailing list) . We need you to do this as our method for
accepting a code fixes is for you to submit a patch, as documented at
http://staf.sourceforge.net/contributions.php.
I will look at incorporating this patch soon. I will also look more
into the problem you described and the workaround you put in the the
STAFConnectionProvider destructor in STAFTCPConnProvider.cpp to see why
sActiveProvidersSem.fMutexImpl is null.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
"Semih Cemiloglu" <semih.cemilo...@nec.com.au>
04/30/2009 12:18 AM
Please respond to
semih.cemilo...@nec.com.au
To
<staf-users@lists.sourceforge.net>
cc
Subject
[staf-users] Compiling STAF 3.3.3 win Sun Studio 12 C++ compiler
Dear List,
Attached is the patch file to apply to the STAF 3.3.3 source tree in
order
to compile it with Sun Studio C++ compiler on Solaris 10 (sparc) OS.
The build system that I use here was:
$ uname -a
SunOS oberon 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-880
$ CC -V
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-04 2008/04/16
The patch file is very similar to the one that I posted earlier
(2008-11-19)
for OpenSolaris x86, which is available from
http://sourceforge.net/tracker/?func=detail&aid=2316610&group_id=33142&a
tid=
407383
During the Sun CC/Solaris port however I have come across a strange
exception while executing a shutdown request. A demo and debugger
transcript
of this problem is also attached.
I have come to the conclusion that the exception is caused by
initialization/destruction sequence by one of STL containers.
Lastly, could STAF developers/team please schedule this patch to be
integrated into main truck?
I understand that it is exceedingly difficult to support multitude of
C++
compilers and platforms. However please note;
1- Gcc ABI and name mangling scheme is different and incompatible with
Sun
CC's one.
2- Sun CC is the native compiler on Solaris platform and comes with
plethora
of tools that Gcc may not have.
3- Especially in our case we have very large code base compilable only
by
Sun CC which we intend to integrate with STAF. Due to the issue
indicated in
#1, compiling STAF with Sun CC is a necessity for us. On the other hand
re-applying the patch to the every new STAF release is not a desirable
prospect.
I believe my patches can be reviewed/integrated within an hour, as
changes
are mostly guarded by conditionals which would not affect other
platforms
that STAF currently supports.
Thanks, regards,
Semih Cemiloglu
[attachment "diff.txt" deleted by Sharon Lucas/Austin/IBM] [attachment
"STAF_SunCC_problems.TXT" deleted by Sharon Lucas/Austin/IBM]
------------------------------------------------------------------------
------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3.
http://p.sf.net/sfu/velocityconf________________________________________
_______
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
This email may be confidential and/or privileged. Only the intended recipient
may access or use it. If you are not the intended recipient, please delete this
email and notify NEC Australia Pty Ltd promptly. NEC uses antivirus software
but excludes all liability for viruses or similar in any attachment.
Please consider our environment before printing this email.
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users