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

Build issue on NetBSD #203

Open
mayureshw opened this issue Jul 3, 2022 · 3 comments
Open

Build issue on NetBSD #203

mayureshw opened this issue Jul 3, 2022 · 3 comments

Comments

@mayureshw
Copy link

I am trying to build LTSmin on NetBSD.

I get an error during configure as it tests for function
pthread_mutexattr_setpshared

On NetBSD man pthread_mutexattr_setpshared says:

BUGS
The pthread_mutexattr_getpshared() and pthread_mutexattr_setpshared()
functions are hidden by default since only thread shared attributes
are supported.

Given this, what workaround would you suggest - both for the configure
script and use of this function in src/hre/hre_pthread.c.

@mayureshw
Copy link
Author

patches.txt

Have attached patches that led to a successful build on NetBSD.

@yanntm
Copy link
Contributor

yanntm commented Jun 20, 2023

Would you mind formatting this as a PR, ie.build a fork of current version, edit the files and then build a PR (contribute button on your fork).
This would make it easier to integrate, netBSD is not the main platform but minor changes such as these are ok if they are formatted as a PR it's easier than diff format.

@mayureshw
Copy link
Author

Above patches were on the last released version. I had a look at the master branch and the patches do not seem to apply as-is. Will need some work on this. Will take it up when time permits.

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

No branches or pull requests

2 participants