Yes, that's more a question of the Solaris dynamic linker design than the compiler. Sun Studio has been good with OpenLDAP. OpenLDAP has a fairly standards-compliant code base, and the few times something that's not C99 compliant have slipped in, the issue is quickly resolved on the ITS. We currently have the end-to-end OpenLDAP chain (e.g. slapd, cyrus-sasl, openssl, etc.) compiled using Sun Studio and it works fine for both v8+ and v9 (64-bit) code.
On Fri, 8 Dec 2006, Ralph RöÃ~_ner wrote:
On Thu, Dec 07, 2006 at 01:08:30PM -0500, matthew sporleder wrote: [...]
As a slight aside- Can you share your experiences building slapd with the sun compiler?
Yes, works. I disagree with libtool on the subject of placing (or not) object search paths into the generated output, and hence have to throw a few extra LDFLAGS=-R... in but that is not a Sun CC specific matter.
Do you have specific questions?
Sincerely, Ralph Rößner