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

ParallelJIT requires pthread library, makefiles don't handle it right. #1391

Closed
llvmbot opened this issue Nov 28, 2006 · 2 comments
Closed
Labels
bugzilla Issues migrated from bugzilla build-problem

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Nov 28, 2006

Bugzilla Link 1019
Resolution FIXED
Resolved on Mar 06, 2010 14:00
Version 1.6
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

On windows, without a pthread.h or libpthread.so we get:

make[2]: Entering directory `/d/Apps/llvm/examples/ParallelJIT'

llvm[2]: Compiling ParallelJIT.cpp for Release build
ParallelJIT.cpp:20:21: pthread.h: No such file or directory
ParallelJIT.cpp:212: error: pthread_cond_t' does not name a type ParallelJIT.cpp:212: error: extra semicolon ParallelJIT.cpp:213: error: pthread_mutex_t' does not name a type
ParallelJIT.cpp:213: error: extra semicolon
.... lots more errors

The configuration checks are there, but they are not exposed to the Makefiles
and consequently not being used by the ParallelJIT Makefile.

@asl
Copy link
Collaborator

asl commented Dec 1, 2006

Fix
This patch should fix the problem. Unfortunately, I cannot update configure's
by myself, because my system auto* machinery is too modern :)

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 1, 2006

Patches committed. Thanks, Anton.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla build-problem
Projects
None yet
Development

No branches or pull requests

2 participants