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

Models compilation fail when using boost with PTHREAD_STACK_MIN #3205

Open
louisg-rte opened this issue Apr 26, 2024 · 0 comments
Open

Models compilation fail when using boost with PTHREAD_STACK_MIN #3205

louisg-rte opened this issue Apr 26, 2024 · 0 comments
Labels
Bug Something isn't working DevOps

Comments

@louisg-rte
Copy link
Collaborator

Bug reported by AIA team (developing RMS model validation tool) :

"
When the application is installed on an OS that defines the PTHREAD_STACK_MIN variable, an error occurs when compiling the tool's dynamic models.

After analyzing the problem, a bug has been detected, which has already been reported and solved, in the thread library by boost.org.

The fix is included starting with version 1.73, while Dynawo uses version 1.70 or 1.64, depending on other variables.

To quickly solve the problem and be able to use the tool on these OS, the file $DYNAWO_HOME/include/boost/thread/pthread/thread_data.hpp must be modified from (line 60):
#if PTHREAD_STACK_MIN > 0
to:
#ifdef PTHREAD_STACK_MIN
"
@adriguir @jl-marin

@louisg-rte louisg-rte added the Bug Something isn't working label Apr 26, 2024
@rosiereflo rosiereflo changed the title Compiling models Models compilation fail when using boost with PTHREAD_STACK_MIN Apr 26, 2024
@rosiereflo rosiereflo removed their assignment Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working DevOps
Projects
None yet
Development

No branches or pull requests

2 participants