(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Installation : (Category) Platform Hints : (Category) Sun Microsystems Solaris : (Answer) How do you workaround incremental loader assert failures in Solaris 8?
I tried to compile openldap 2.0.4 on a Sun Ultra 5, Solaris 8, with Sun Workshop 5.0. I got the following assertion failure from the incremental loader (ild):
ild: Fatal error -- Assertion failed: file "../src/fault-intolerant-io.c" line 113 Exiting
This happened during the loading of slapd. I applied the following Sun patches, which did not help: 107390-11, 107311-11, 107698-01, 107722-01, 107357-09, and 107289-05 in addition to the recommended patch set for Solaris 8. So I called Sun about this problem. Their three solutions/workarounds were:
a) Upgrade to Sun Workshop 6.0 compiler (costs dollars) b) Add the loadtime option "-xildoff" to the makefile if you are using
   debug mode (-g), to turn off incremental loading.
c) Replace the -g compile flag with -O, skipping debug compiling
   entirely.  This skips incremental loading.
I took option (c), and the build worked.
[Append to This Answer]
Previous: (Answer) What do I do if slapd crashes in REGEX code?
Next: (Answer) Why can 'configure' fail to work out sizeof 'short', 'int' and 'long'?
This document is: http://www.openldap.org/faq/index.cgi?file=505
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org