Bug 229286
Summary: | Solaris build: link shared libs correctly with libtool | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Rich Megginson <rmeggins> | ||||||
Component: | Directory Server | Assignee: | Rich Megginson <rmeggins> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 1.0.4 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Other | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-12-07 17:01:29 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 152373, 240316, 427409 | ||||||||
Attachments: |
|
Description
Rich Megginson
2007-02-19 22:44:48 UTC
Created attachment 148375 [details]
diffs
Looks good. Created attachment 148378 [details]
cvs commit log
Reviewed by: nkinder, prowley (Thanks!)
Files: see diff
Branch: HEAD
Fix Description: We have to use the $(CXXLINK) Makefile macro to build shared
libs that use C++ code or link with C++ libs. In addition, Sun C++ link needs
-lCstd and -lCrun. I added AC_DISABLE_STATIC so that we wouldn't generate all
the .a libs we don't use. Lastly, but not leastly, libtool on rhel/fedora has
a "feature" that adds several gcc-isms to the libtool script generated by
configure. At best, these cause builds with non-gcc compilers to complain
quite a bit, and at worst, cause the build to fail. I've added a sed command
in configure to remove these gcc-isms from libtool on non-gcc platforms.
Platforms tested: RHEL4, FC6, Solaris 9
Flag Day: no
Doc impact: no
Verified that libacl-plugin.so and libcollation-plugin.so are linked with the C runtime libraries on Solaris. Marking as VERIFIED. |