Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(FACT-1338) Resolve weird pthread dependencies #1265

Merged
merged 1 commit into from
Feb 2, 2016

Conversation

MikaelSmith
Copy link

AIX shows a dependency on .pthread_cancel from libboost_date_time,
which is now included in linking the facter binary from
leatherman_util. Other links succeed because they include
libboost_thread, bringing in a dependency on pthread.

Explicitly depend on pthread everywhere until LTH-81 is resolved.
Resolving LTH-81 exposes an implicit dependency of libboost_date_time
and libboost_regex on pthread on some platforms that's not fulfilled
by find_package(Boost), so the libfacter and libfacter_test
dependencies on pthread will be permanent.

AIX shows a dependency on `.pthread_cancel` from `libboost_date_time`,
which is now included in linking the `facter` binary from
`leatherman_util`. Other links succeed because they include
`libboost_thread`, bringing in a dependency on pthread.

Explicitly depend on pthread everywhere until LTH-81 is resolved.
Resolving LTH-81 exposes an implicit dependency of `libboost_date_time`
and `libboost_regex` on pthread on some platforms that's not fulfilled
by `find_package(Boost)`, so the libfacter and libfacter_test
dependencies on pthread will be permanent.
@MikaelSmith
Copy link
Author

Resolves AIX builds @johnduarte. I believe this started happening when we switched to doing shared library builds of Leatherman. /cc @branan

@johnduarte
Copy link

👍
@MikaelSmith I will take your word that these changes allow for building on AIX.

@branan can you provide a technical review here?

peterhuene added a commit that referenced this pull request Feb 2, 2016
(FACT-1338) Resolve weird pthread dependencies
@peterhuene peterhuene merged commit 2f120b3 into puppetlabs:master Feb 2, 2016
@MikaelSmith MikaelSmith deleted the FACT-1338 branch February 10, 2016 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants